@@ -195,9 +195,9 @@ class CartDiscountSchema(BaseResourceSchema):
195195 value = helpers .Discriminator (
196196 discriminator_field = ("type" , "type" ),
197197 discriminator_schemas = {
198- "absolute" : "commercetools._schemas._cart_discount.CartDiscountValueAbsoluteSchema " ,
199- "giftLineItem" : "commercetools._schemas._cart_discount.CartDiscountValueGiftLineItemSchema " ,
200- "relative" : "commercetools._schemas._cart_discount.CartDiscountValueRelativeSchema " ,
198+ "absolute" : "commercetools._schemas._cart_discount.CartDiscountValueAbsoluteDraftSchema " ,
199+ "giftLineItem" : "commercetools._schemas._cart_discount.CartDiscountValueGiftLineItemDraftSchema " ,
200+ "relative" : "commercetools._schemas._cart_discount.CartDiscountValueRelativeDraftSchema " ,
201201 },
202202 unknown = marshmallow .EXCLUDE ,
203203 allow_none = True ,
@@ -714,20 +714,20 @@ class CartDiscountValueGiftLineItemDraftSchema(CartDiscountValueDraftSchema):
714714 """Marshmallow schema for :class:`commercetools.types.CartDiscountValueGiftLineItemDraft`."""
715715
716716 product = helpers .LazyNestedField (
717- nested = "commercetools._schemas._product.ProductReferenceSchema " ,
717+ nested = "commercetools._schemas._product.ProductResourceIdentifierSchema " ,
718718 unknown = marshmallow .EXCLUDE ,
719719 allow_none = True ,
720720 )
721721 variant_id = marshmallow .fields .Integer (allow_none = True , data_key = "variantId" )
722722 supply_channel = helpers .LazyNestedField (
723- nested = "commercetools._schemas._channel.ChannelReferenceSchema " ,
723+ nested = "commercetools._schemas._channel.ChannelResourceIdentifierSchema " ,
724724 unknown = marshmallow .EXCLUDE ,
725725 allow_none = True ,
726726 missing = None ,
727727 data_key = "supplyChannel" ,
728728 )
729729 distribution_channel = helpers .LazyNestedField (
730- nested = "commercetools._schemas._channel.ChannelReferenceSchema " ,
730+ nested = "commercetools._schemas._channel.ChannelResourceIdentifierSchema " ,
731731 unknown = marshmallow .EXCLUDE ,
732732 allow_none = True ,
733733 missing = None ,
0 commit comments