Skip to content

Commit 577c331

Browse files
committed
fix bugs
1 parent 1e8f624 commit 577c331

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Source/FikaAmazonAPI.Sample/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static async Task Main(string[] args)
3131
{
3232

3333

34-
34+
3535
AmazonConnection amazonConnection = new AmazonConnection(new AmazonCredential()
3636
{
3737
AccessKey = Environment.GetEnvironmentVariable("AccessKey"),

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/MerchantFulfillment/GetAdditionalSellerInputsRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected GetAdditionalSellerInputsRequest() { }
3535
/// <param name="ShippingServiceId">ShippingServiceId (required).</param>
3636
/// <param name="ShipFromAddress">The address from which to ship. (required).</param>
3737
/// <param name="OrderId">An Amazon defined order identifier (required).</param>
38-
public GetAdditionalSellerInputsRequest(ShippingServiceIdentifier ShippingServiceId = default(ShippingServiceIdentifier), Address ShipFromAddress = default(Address), AmazonOrderId OrderId = default(AmazonOrderId))
38+
public GetAdditionalSellerInputsRequest(ShippingServiceIdentifier ShippingServiceId = default(ShippingServiceIdentifier), Address ShipFromAddress = default(Address), string OrderId = default(string))
3939
{
4040
// to ensure "ShippingServiceId" is required (not null)
4141
if (ShippingServiceId == null)
@@ -84,7 +84,7 @@ protected GetAdditionalSellerInputsRequest() { }
8484
/// </summary>
8585
/// <value>An Amazon defined order identifier</value>
8686
[DataMember(Name = "OrderId", EmitDefaultValue = false)]
87-
public AmazonOrderId OrderId { get; set; }
87+
public string OrderId { get; set; }
8888

8989
/// <summary>
9090
/// Returns the string presentation of the object

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/MerchantFulfillment/Shipment.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected Shipment() { }
5353
/// <param name="TrackingId">TrackingId.</param>
5454
/// <param name="CreatedDate">The date and time the shipment was created. (required).</param>
5555
/// <param name="LastUpdatedDate">The date and time of the last update..</param>
56-
public Shipment(ShipmentId ShipmentId = default(ShipmentId), AmazonOrderId AmazonOrderId = default(AmazonOrderId), SellerOrderId SellerOrderId = default(SellerOrderId), ItemList ItemList = default(ItemList), Address ShipFromAddress = default(Address), Address ShipToAddress = default(Address), PackageDimensions PackageDimensions = default(PackageDimensions), Weight Weight = default(Weight), CurrencyAmount Insurance = default(CurrencyAmount), ShippingService ShippingService = default(ShippingService), Label Label = default(Label), ShipmentStatus Status = default(ShipmentStatus), TrackingId TrackingId = default(TrackingId), Timestamp CreatedDate = default(Timestamp), Timestamp LastUpdatedDate = default(Timestamp))
56+
public Shipment(ShipmentId ShipmentId = default(ShipmentId), string AmazonOrderId = default(string), SellerOrderId SellerOrderId = default(SellerOrderId), ItemList ItemList = default(ItemList), Address ShipFromAddress = default(Address), Address ShipToAddress = default(Address), PackageDimensions PackageDimensions = default(PackageDimensions), Weight Weight = default(Weight), CurrencyAmount Insurance = default(CurrencyAmount), ShippingService ShippingService = default(ShippingService), Label Label = default(Label), ShipmentStatus Status = default(ShipmentStatus), TrackingId TrackingId = default(TrackingId), Timestamp CreatedDate = default(Timestamp), Timestamp LastUpdatedDate = default(Timestamp))
5757
{
5858
// to ensure "ShipmentId" is required (not null)
5959
if (ShipmentId == null)
@@ -178,7 +178,7 @@ protected Shipment() { }
178178
/// Gets or Sets AmazonOrderId
179179
/// </summary>
180180
[DataMember(Name = "AmazonOrderId", EmitDefaultValue = false)]
181-
public AmazonOrderId AmazonOrderId { get; set; }
181+
public string AmazonOrderId { get; set; }
182182

183183
/// <summary>
184184
/// Gets or Sets SellerOrderId

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/MerchantFulfillment/ShipmentRequestDetails.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protected ShipmentRequestDetails() { }
4242
/// <param name="ShipDate">When used in a request, this is the date and time that the seller wants to ship the package. When used in a response, this is the date and time that the package can be shipped by the indicated method..</param>
4343
/// <param name="ShippingServiceOptions">Extra services offered by the carrier. (required).</param>
4444
/// <param name="LabelCustomization">Label customization options..</param>
45-
public ShipmentRequestDetails(AmazonOrderId AmazonOrderId = default(AmazonOrderId), SellerOrderId SellerOrderId = default(SellerOrderId), ItemList ItemList = default(ItemList), Address ShipFromAddress = default(Address), PackageDimensions PackageDimensions = default(PackageDimensions), Weight Weight = default(Weight), Timestamp MustArriveByDate = default(Timestamp), Timestamp ShipDate = default(Timestamp), ShippingServiceOptions ShippingServiceOptions = default(ShippingServiceOptions), LabelCustomization LabelCustomization = default(LabelCustomization))
45+
public ShipmentRequestDetails(string AmazonOrderId = default(string), string SellerOrderId = default(string), ItemList ItemList = default(ItemList), Address ShipFromAddress = default(Address), PackageDimensions PackageDimensions = default(PackageDimensions), Weight Weight = default(Weight), Timestamp MustArriveByDate = default(Timestamp), Timestamp ShipDate = default(Timestamp), ShippingServiceOptions ShippingServiceOptions = default(ShippingServiceOptions), LabelCustomization LabelCustomization = default(LabelCustomization))
4646
{
4747
// to ensure "AmazonOrderId" is required (not null)
4848
if (AmazonOrderId == null)
@@ -109,14 +109,14 @@ protected ShipmentRequestDetails() { }
109109
/// </summary>
110110
/// <value>An Amazon-defined order identifier in 3-7-7 format.</value>
111111
[DataMember(Name = "AmazonOrderId", EmitDefaultValue = false)]
112-
public AmazonOrderId AmazonOrderId { get; set; }
112+
public string AmazonOrderId { get; set; }
113113

114114
/// <summary>
115115
/// A seller-defined order identifier.
116116
/// </summary>
117117
/// <value>A seller-defined order identifier.</value>
118118
[DataMember(Name = "SellerOrderId", EmitDefaultValue = false)]
119-
public SellerOrderId SellerOrderId { get; set; }
119+
public string SellerOrderId { get; set; }
120120

121121
/// <summary>
122122
/// Gets or Sets ItemList

0 commit comments

Comments
 (0)