Skip to content

Commit bec8ee1

Browse files
committed
remove DateStringType to fix #159
1 parent 6162b16 commit bec8ee1

File tree

7 files changed

+16
-118
lines changed

7 files changed

+16
-118
lines changed

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInbound/ConfirmPreorderResult.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public partial class ConfirmPreorderResult : IEquatable<ConfirmPreorderResult>,
2828
/// </summary>
2929
/// <param name="ConfirmedNeedByDate">Date passed in with the NeedByDate parameter. The confirmed shipment must arrive at the Amazon fulfillment center by this date to avoid delivery promise breaks for pre-ordered items. In YYYY-MM-DD format..</param>
3030
/// <param name="ConfirmedFulfillableDate">Date that determines which pre-order items in the shipment are eligible for pre-order. The pre-order Buy Box will appear for any pre-order item in the shipment with a release date on or after this date. In YYYY-MM-DD format..</param>
31-
public ConfirmPreorderResult(DateStringType ConfirmedNeedByDate = default(DateStringType), DateStringType ConfirmedFulfillableDate = default(DateStringType))
31+
public ConfirmPreorderResult(string ConfirmedNeedByDate = default(string), string ConfirmedFulfillableDate = default(string))
3232
{
3333
this.ConfirmedNeedByDate = ConfirmedNeedByDate;
3434
this.ConfirmedFulfillableDate = ConfirmedFulfillableDate;
@@ -39,14 +39,14 @@ public partial class ConfirmPreorderResult : IEquatable<ConfirmPreorderResult>,
3939
/// </summary>
4040
/// <value>Date passed in with the NeedByDate parameter. The confirmed shipment must arrive at the Amazon fulfillment center by this date to avoid delivery promise breaks for pre-ordered items. In YYYY-MM-DD format.</value>
4141
[DataMember(Name = "ConfirmedNeedByDate", EmitDefaultValue = false)]
42-
public DateStringType ConfirmedNeedByDate { get; set; }
42+
public string ConfirmedNeedByDate { get; set; }
4343

4444
/// <summary>
4545
/// Date that determines which pre-order items in the shipment are eligible for pre-order. The pre-order Buy Box will appear for any pre-order item in the shipment with a release date on or after this date. In YYYY-MM-DD format.
4646
/// </summary>
4747
/// <value>Date that determines which pre-order items in the shipment are eligible for pre-order. The pre-order Buy Box will appear for any pre-order item in the shipment with a release date on or after this date. In YYYY-MM-DD format.</value>
4848
[DataMember(Name = "ConfirmedFulfillableDate", EmitDefaultValue = false)]
49-
public DateStringType ConfirmedFulfillableDate { get; set; }
49+
public string ConfirmedFulfillableDate { get; set; }
5050

5151
/// <summary>
5252
/// Returns the string presentation of the object

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInbound/DateStringType.cs

Lines changed: 0 additions & 102 deletions
This file was deleted.

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInbound/GetPreorderInfoResult.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public partial class GetPreorderInfoResult : IEquatable<GetPreorderInfoResult>,
3030
/// <param name="ShipmentConfirmedForPreorder">Indicates whether this shipment has been confirmed for pre-order..</param>
3131
/// <param name="NeedByDate">Date that the shipment would need to arrive at an Amazon fulfillment center to avoid delivery promise breaks for pre-ordered items if this shipment is later confirmed for pre-order. In YYYY-MM-DD format. See also the confirmPreorder operation..</param>
3232
/// <param name="ConfirmedFulfillableDate">Date in YYYY-MM-DD format that determines which pre-order items in the shipment are eligible for pre-order. If this shipment is confirmed for pre-order with a subsequent call to the confirmPreorder operation, the pre-order Buy Box will appear for any pre-order items in the shipment with a release date on or after this date. Call the getShipmentItems operation to get the release dates for the pre-order items in this shipment..</param>
33-
public GetPreorderInfoResult(bool? ShipmentContainsPreorderableItems = default(bool?), bool? ShipmentConfirmedForPreorder = default(bool?), DateStringType NeedByDate = default(DateStringType), DateStringType ConfirmedFulfillableDate = default(DateStringType))
33+
public GetPreorderInfoResult(bool? ShipmentContainsPreorderableItems = default(bool?), bool? ShipmentConfirmedForPreorder = default(bool?), string NeedByDate = default(string), string ConfirmedFulfillableDate = default(string))
3434
{
3535
this.ShipmentContainsPreorderableItems = ShipmentContainsPreorderableItems;
3636
this.ShipmentConfirmedForPreorder = ShipmentConfirmedForPreorder;
@@ -57,14 +57,14 @@ public partial class GetPreorderInfoResult : IEquatable<GetPreorderInfoResult>,
5757
/// </summary>
5858
/// <value>Date that the shipment would need to arrive at an Amazon fulfillment center to avoid delivery promise breaks for pre-ordered items if this shipment is later confirmed for pre-order. In YYYY-MM-DD format. See also the confirmPreorder operation.</value>
5959
[DataMember(Name = "NeedByDate", EmitDefaultValue = false)]
60-
public DateStringType NeedByDate { get; set; }
60+
public string NeedByDate { get; set; }
6161

6262
/// <summary>
6363
/// Date in YYYY-MM-DD format that determines which pre-order items in the shipment are eligible for pre-order. If this shipment is confirmed for pre-order with a subsequent call to the confirmPreorder operation, the pre-order Buy Box will appear for any pre-order items in the shipment with a release date on or after this date. Call the getShipmentItems operation to get the release dates for the pre-order items in this shipment.
6464
/// </summary>
6565
/// <value>Date in YYYY-MM-DD format that determines which pre-order items in the shipment are eligible for pre-order. If this shipment is confirmed for pre-order with a subsequent call to the confirmPreorder operation, the pre-order Buy Box will appear for any pre-order items in the shipment with a release date on or after this date. Call the getShipmentItems operation to get the release dates for the pre-order items in this shipment.</value>
6666
[DataMember(Name = "ConfirmedFulfillableDate", EmitDefaultValue = false)]
67-
public DateStringType ConfirmedFulfillableDate { get; set; }
67+
public string ConfirmedFulfillableDate { get; set; }
6868

6969
/// <summary>
7070
/// Returns the string presentation of the object

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInbound/InboundShipmentInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public InboundShipmentInfo() { }
5757
/// <param name="ConfirmedNeedByDate">Date by which the shipment must arrive at the Amazon fulfillment center to avoid delivery promise breaks for pre-ordered items..</param>
5858
/// <param name="BoxContentsSource">BoxContentsSource.</param>
5959
/// <param name="EstimatedBoxContentsFee">An estimate of the manual processing fee charged by Amazon for boxes without box content information. This is only returned when BoxContentsSource is NONE..</param>
60-
public InboundShipmentInfo(string ShipmentId = default(string), string ShipmentName = default(string), Address ShipFromAddress = default(Address), string DestinationFulfillmentCenterId = default(string), ShipmentStatus? ShipmentStatus = default(ShipmentStatus?), LabelPrepType? LabelPrepType = default(LabelPrepType?), bool? AreCasesRequired = default(bool?), DateStringType ConfirmedNeedByDate = default(DateStringType), BoxContentsSource? BoxContentsSource = default(BoxContentsSource?), BoxContentsFeeDetails EstimatedBoxContentsFee = default(BoxContentsFeeDetails))
60+
public InboundShipmentInfo(string ShipmentId = default(string), string ShipmentName = default(string), Address ShipFromAddress = default(Address), string DestinationFulfillmentCenterId = default(string), ShipmentStatus? ShipmentStatus = default(ShipmentStatus?), LabelPrepType? LabelPrepType = default(LabelPrepType?), bool? AreCasesRequired = default(bool?), string ConfirmedNeedByDate = default(string), BoxContentsSource? BoxContentsSource = default(BoxContentsSource?), BoxContentsFeeDetails EstimatedBoxContentsFee = default(BoxContentsFeeDetails))
6161
{
6262
// to ensure "ShipFromAddress" is required (not null)
6363
if (ShipFromAddress == null)
@@ -129,7 +129,7 @@ public InboundShipmentInfo() { }
129129
/// </summary>
130130
/// <value>Date by which the shipment must arrive at the Amazon fulfillment center to avoid delivery promise breaks for pre-ordered items.</value>
131131
[DataMember(Name = "ConfirmedNeedByDate", EmitDefaultValue = false)]
132-
public DateStringType ConfirmedNeedByDate { get; set; }
132+
public string ConfirmedNeedByDate { get; set; }
133133

134134

135135
/// <summary>

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInbound/InboundShipmentItem.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public InboundShipmentItem() { }
4040
/// <param name="QuantityInCase">The item quantity in each case, for case-packed items. Note that QuantityInCase multiplied by the number of boxes in the inbound shipment equals QuantityShipped. Also note that all of the boxes of an inbound shipment must either be case packed or individually packed. For that reason, when you submit the createInboundShipment or the updateInboundShipment operation, the value of QuantityInCase must be provided for every item in the shipment or for none of the items in the shipment..</param>
4141
/// <param name="ReleaseDate">The date that a pre-order item will be available for sale..</param>
4242
/// <param name="PrepDetailsList">PrepDetailsList.</param>
43-
public InboundShipmentItem(string ShipmentId = default(string), string SellerSKU = default(string), string FulfillmentNetworkSKU = default(string), int QuantityShipped = default(int), int QuantityReceived = default(int), int QuantityInCase = default(int), DateStringType ReleaseDate = default(DateStringType), PrepDetailsList PrepDetailsList = default(PrepDetailsList))
43+
public InboundShipmentItem(string ShipmentId = default(string), string SellerSKU = default(string), string FulfillmentNetworkSKU = default(string), int QuantityShipped = default(int), int QuantityReceived = default(int), int QuantityInCase = default(int), string ReleaseDate = default(string), PrepDetailsList PrepDetailsList = default(PrepDetailsList))
4444
{
4545
// to ensure "SellerSKU" is required (not null)
4646
if (SellerSKU == null)
@@ -115,7 +115,7 @@ public InboundShipmentItem() { }
115115
/// </summary>
116116
/// <value>The date that a pre-order item will be available for sale.</value>
117117
[DataMember(Name = "ReleaseDate", EmitDefaultValue = false)]
118-
public DateStringType ReleaseDate { get; set; }
118+
public string ReleaseDate { get; set; }
119119

120120
/// <summary>
121121
/// Gets or Sets PrepDetailsList

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInbound/PartneredLtlDataInput.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public partial class PartneredLtlDataInput : IEquatable<PartneredLtlDataInput>,
3838
/// <param name="PalletList">PalletList.</param>
3939
/// <param name="TotalWeight">The total weight of the shipment..</param>
4040
/// <param name="SellerDeclaredValue">The declaration of the total value of the inventory in the shipment..</param>
41-
public PartneredLtlDataInput(Contact Contact = default(Contact), UnsignedIntType BoxCount = default(UnsignedIntType), SellerFreightClass? SellerFreightClass = default(SellerFreightClass?), DateStringType FreightReadyDate = default(DateStringType), PalletList PalletList = default(PalletList), Weight TotalWeight = default(Weight), Amount SellerDeclaredValue = default(Amount))
41+
public PartneredLtlDataInput(Contact Contact = default(Contact), UnsignedIntType BoxCount = default(UnsignedIntType), SellerFreightClass? SellerFreightClass = default(SellerFreightClass?), string FreightReadyDate = default(string), PalletList PalletList = default(PalletList), Weight TotalWeight = default(Weight), Amount SellerDeclaredValue = default(Amount))
4242
{
4343
this.Contact = Contact;
4444
this.BoxCount = BoxCount;
@@ -69,7 +69,7 @@ public partial class PartneredLtlDataInput : IEquatable<PartneredLtlDataInput>,
6969
/// </summary>
7070
/// <value>The date that the shipment will be ready to be picked up by the carrier.</value>
7171
[DataMember(Name = "FreightReadyDate", EmitDefaultValue = false)]
72-
public DateStringType FreightReadyDate { get; set; }
72+
public string FreightReadyDate { get; set; }
7373

7474
/// <summary>
7575
/// Gets or Sets PalletList

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInbound/PartneredLtlDataOutput.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public PartneredLtlDataOutput() { }
5858
/// <param name="IsBillOfLadingAvailable">Indicates whether the bill of lading for the shipment is available. (required).</param>
5959
/// <param name="PartneredEstimate">The estimated shipping cost using an Amazon-partnered carrier..</param>
6060
/// <param name="CarrierName">The carrier for the inbound shipment. (required).</param>
61-
public PartneredLtlDataOutput(Contact Contact = default(Contact), UnsignedIntType BoxCount = default(UnsignedIntType), SellerFreightClass? SellerFreightClass = default(SellerFreightClass?), DateStringType FreightReadyDate = default(DateStringType), PalletList PalletList = default(PalletList), Weight TotalWeight = default(Weight), Amount SellerDeclaredValue = default(Amount), Amount AmazonCalculatedValue = default(Amount), DateStringType PreviewPickupDate = default(DateStringType), DateStringType PreviewDeliveryDate = default(DateStringType), SellerFreightClass PreviewFreightClass = default(SellerFreightClass), string AmazonReferenceId = default(string), bool? IsBillOfLadingAvailable = default(bool?), PartneredEstimate PartneredEstimate = default(PartneredEstimate), string CarrierName = default(string))
61+
public PartneredLtlDataOutput(Contact Contact = default(Contact), UnsignedIntType BoxCount = default(UnsignedIntType), SellerFreightClass? SellerFreightClass = default(SellerFreightClass?), string FreightReadyDate = default(string), PalletList PalletList = default(PalletList), Weight TotalWeight = default(Weight), Amount SellerDeclaredValue = default(Amount), Amount AmazonCalculatedValue = default(Amount), string PreviewPickupDate = default(string), string PreviewDeliveryDate = default(string), SellerFreightClass PreviewFreightClass = default(SellerFreightClass), string AmazonReferenceId = default(string), bool? IsBillOfLadingAvailable = default(bool?), PartneredEstimate PartneredEstimate = default(PartneredEstimate), string CarrierName = default(string))
6262
{
6363
// to ensure "Contact" is required (not null)
6464
if (Contact == null)
@@ -185,7 +185,7 @@ public PartneredLtlDataOutput() { }
185185
/// </summary>
186186
/// <value>The date that the shipment will be ready to be picked up by the carrier. Must be in YYYY-MM-DD format.</value>
187187
[DataMember(Name = "FreightReadyDate", EmitDefaultValue = false)]
188-
public DateStringType FreightReadyDate { get; set; }
188+
public string FreightReadyDate { get; set; }
189189

190190
/// <summary>
191191
/// Gets or Sets PalletList
@@ -219,14 +219,14 @@ public PartneredLtlDataOutput() { }
219219
/// </summary>
220220
/// <value>The estimated date that the shipment will be picked up by the carrier, in YYYY-MM-DD format.</value>
221221
[DataMember(Name = "PreviewPickupDate", EmitDefaultValue = false)]
222-
public DateStringType PreviewPickupDate { get; set; }
222+
public string PreviewPickupDate { get; set; }
223223

224224
/// <summary>
225225
/// The estimated date that the shipment will be delivered to an Amazon fulfillment center, in YYYY-MM-DD format.
226226
/// </summary>
227227
/// <value>The estimated date that the shipment will be delivered to an Amazon fulfillment center, in YYYY-MM-DD format.</value>
228228
[DataMember(Name = "PreviewDeliveryDate", EmitDefaultValue = false)]
229-
public DateStringType PreviewDeliveryDate { get; set; }
229+
public string PreviewDeliveryDate { get; set; }
230230

231231

232232
/// <summary>

0 commit comments

Comments
 (0)