@@ -241,7 +241,7 @@ public Order() { }
241
241
/// <param name="sellerDisplayName">The sellers friendly name registered in the marketplace..</param>
242
242
/// <param name="shippingAddress">shippingAddress.</param>
243
243
/// <param name="buyerInfo">buyerInfo.</param>
244
- public Order ( string amazonOrderId = default ( string ) , string sellerOrderId = default ( string ) , string purchaseDate = default ( string ) , string lastUpdateDate = default ( string ) , OrderStatusEnum orderStatus = default ( OrderStatusEnum ) , FulfillmentChannelEnum ? fulfillmentChannel = default ( FulfillmentChannelEnum ? ) , string salesChannel = default ( string ) , string orderChannel = default ( string ) , string shipServiceLevel = default ( string ) , Money orderTotal = default ( Money ) , int ? numberOfItemsShipped = default ( int ? ) , int ? numberOfItemsUnshipped = default ( int ? ) , PaymentExecutionDetailItemList paymentExecutionDetail = default ( PaymentExecutionDetailItemList ) , PaymentMethodEnum ? paymentMethod = default ( PaymentMethodEnum ? ) , PaymentMethodDetailItemList paymentMethodDetails = default ( PaymentMethodDetailItemList ) , string marketplaceId = default ( string ) , string shipmentServiceLevelCategory = default ( string ) , string easyShipShipmentStatus = default ( string ) , string cbaDisplayableShippingLabel = default ( string ) , OrderTypeEnum ? orderType = default ( OrderTypeEnum ? ) , string earliestShipDate = default ( string ) , string latestShipDate = default ( string ) , string earliestDeliveryDate = default ( string ) , string latestDeliveryDate = default ( string ) , bool ? isBusinessOrder = default ( bool ? ) , bool ? isPrime = default ( bool ? ) , bool ? isPremiumOrder = default ( bool ? ) , bool ? isGlobalExpressEnabled = default ( bool ? ) , string replacedOrderId = default ( string ) , bool ? isReplacementOrder = default ( bool ? ) , string promiseResponseDueDate = default ( string ) , bool ? isEstimatedShipDateSet = default ( bool ? ) , bool ? isSoldByAB = default ( bool ? ) , Address defaultShipFromLocationAddress = default ( Address ) , FulfillmentInstruction fulfillmentInstruction = default ( FulfillmentInstruction ) , bool ? isISPU = default ( bool ? ) , MarketplaceTaxInfo marketplaceTaxInfo = default ( MarketplaceTaxInfo ) , string sellerDisplayName = default ( string ) , Address shippingAddress = default ( Address ) , BuyerInfo buyerInfo = default ( BuyerInfo ) )
244
+ public Order ( string amazonOrderId = default ( string ) , string sellerOrderId = default ( string ) , string purchaseDate = default ( string ) , string lastUpdateDate = default ( string ) , OrderStatusEnum orderStatus = default ( OrderStatusEnum ) , FulfillmentChannelEnum ? fulfillmentChannel = default ( FulfillmentChannelEnum ? ) , string salesChannel = default ( string ) , string orderChannel = default ( string ) , string shipServiceLevel = default ( string ) , Money orderTotal = default ( Money ) , int ? numberOfItemsShipped = default ( int ? ) , int ? numberOfItemsUnshipped = default ( int ? ) , PaymentExecutionDetailItemList paymentExecutionDetail = default ( PaymentExecutionDetailItemList ) , PaymentMethodEnum ? paymentMethod = default ( PaymentMethodEnum ? ) , PaymentMethodDetailItemList paymentMethodDetails = default ( PaymentMethodDetailItemList ) , string marketplaceId = default ( string ) , string shipmentServiceLevelCategory = default ( string ) , string easyShipShipmentStatus = default ( string ) , string cbaDisplayableShippingLabel = default ( string ) , OrderTypeEnum ? orderType = default ( OrderTypeEnum ? ) , string earliestShipDate = default ( string ) , string latestShipDate = default ( string ) , string earliestDeliveryDate = default ( string ) , string latestDeliveryDate = default ( string ) , bool ? isBusinessOrder = default ( bool ? ) , bool ? isPrime = default ( bool ? ) , bool ? isPremiumOrder = default ( bool ? ) , bool ? isGlobalExpressEnabled = default ( bool ? ) , string replacedOrderId = default ( string ) , bool ? isReplacementOrder = default ( bool ? ) , string promiseResponseDueDate = default ( string ) , bool ? isEstimatedShipDateSet = default ( bool ? ) , bool ? isSoldByAB = default ( bool ? ) , bool ? isIBA = default ( bool ? ) , Address defaultShipFromLocationAddress = default ( Address ) , FulfillmentInstruction fulfillmentInstruction = default ( FulfillmentInstruction ) , bool ? isISPU = default ( bool ? ) , MarketplaceTaxInfo marketplaceTaxInfo = default ( MarketplaceTaxInfo ) , string sellerDisplayName = default ( string ) , Address shippingAddress = default ( Address ) , BuyerInfo buyerInfo = default ( BuyerInfo ) )
245
245
{
246
246
// to ensure "amazonOrderId" is required (not null)
247
247
if ( amazonOrderId == null )
@@ -308,6 +308,7 @@ public Order() { }
308
308
this . PromiseResponseDueDate = promiseResponseDueDate ;
309
309
this . IsEstimatedShipDateSet = isEstimatedShipDateSet ;
310
310
this . IsSoldByAB = isSoldByAB ;
311
+ this . IsIBA = isIBA ;
311
312
this . DefaultShipFromLocationAddress = defaultShipFromLocationAddress ;
312
313
this . FulfillmentInstruction = fulfillmentInstruction ;
313
314
this . IsISPU = isISPU ;
@@ -524,6 +525,13 @@ public Order() { }
524
525
[ DataMember ( Name = "IsSoldByAB" , EmitDefaultValue = false ) ]
525
526
public bool ? IsSoldByAB { get ; set ; }
526
527
528
+ /// <summary>
529
+ /// When true, the item within this order was bought and re-sold by Amazon Business EU SARL (ABEU). By buying and instantly re-selling your items, ABEU becomes the seller of record, making your inventory available for sale to customers who would not otherwise purchase from a third-party seller.
530
+ /// </summary>
531
+ /// <value>When true, the item within this order was bought and re-sold by Amazon Business EU SARL (ABEU). By buying and instantly re-selling your items, ABEU becomes the seller of record, making your inventory available for sale to customers who would not otherwise purchase from a third-party seller.</value>
532
+ [ DataMember ( Name = "IsIBA" , EmitDefaultValue = false ) ]
533
+ public bool ? IsIBA { get ; set ; }
534
+
527
535
/// <summary>
528
536
/// The recommended location for the seller to ship the items from. It is calculated at checkout. The seller may or may not choose to ship from this location.
529
537
/// </summary>
@@ -612,6 +620,7 @@ public override string ToString()
612
620
sb . Append ( " PromiseResponseDueDate: " ) . Append ( PromiseResponseDueDate ) . Append ( "\n " ) ;
613
621
sb . Append ( " IsEstimatedShipDateSet: " ) . Append ( IsEstimatedShipDateSet ) . Append ( "\n " ) ;
614
622
sb . Append ( " IsSoldByAB: " ) . Append ( IsSoldByAB ) . Append ( "\n " ) ;
623
+ sb . Append ( " IsIBA: " ) . Append ( IsIBA ) . Append ( "\n " ) ;
615
624
sb . Append ( " DefaultShipFromLocationAddress: " ) . Append ( DefaultShipFromLocationAddress ) . Append ( "\n " ) ;
616
625
sb . Append ( " FulfillmentInstruction: " ) . Append ( FulfillmentInstruction ) . Append ( "\n " ) ;
617
626
sb . Append ( " IsISPU: " ) . Append ( IsISPU ) . Append ( "\n " ) ;
@@ -818,6 +827,11 @@ public bool Equals(Order input)
818
827
( this . IsSoldByAB != null &&
819
828
this . IsSoldByAB . Equals ( input . IsSoldByAB ) )
820
829
) &&
830
+ (
831
+ this . IsIBA == input . IsIBA ||
832
+ ( this . IsIBA != null &&
833
+ this . IsIBA . Equals ( input . IsIBA ) )
834
+ ) &&
821
835
(
822
836
this . DefaultShipFromLocationAddress == input . DefaultShipFromLocationAddress ||
823
837
( this . DefaultShipFromLocationAddress != null &&
@@ -930,6 +944,8 @@ public override int GetHashCode()
930
944
hashCode = hashCode * 59 + this . IsEstimatedShipDateSet . GetHashCode ( ) ;
931
945
if ( this . IsSoldByAB != null )
932
946
hashCode = hashCode * 59 + this . IsSoldByAB . GetHashCode ( ) ;
947
+ if ( this . IsIBA != null )
948
+ hashCode = hashCode * 59 + this . IsIBA . GetHashCode ( ) ;
933
949
if ( this . DefaultShipFromLocationAddress != null )
934
950
hashCode = hashCode * 59 + this . DefaultShipFromLocationAddress . GetHashCode ( ) ;
935
951
if ( this . FulfillmentInstruction != null )
0 commit comments