Skip to content

Commit 4e9d5fa

Browse files
committed
fix #265
1 parent 5bdf51f commit 4e9d5fa

File tree

11 files changed

+18
-528
lines changed

11 files changed

+18
-528
lines changed

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Shipping/Address.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public Address() { }
4444
/// <param name="Email">The email address of the contact associated with the address..</param>
4545
/// <param name="CopyEmails">The email cc addresses of the contact associated with the address..</param>
4646
/// <param name="PhoneNumber">The phone number of the person, business or institution located at that address..</param>
47-
public Address(string Name = default(string), string AddressLine1 = default(string), string AddressLine2 = default(string), string AddressLine3 = default(string), StateOrRegion StateOrRegion = default(StateOrRegion), City City = default(City), CountryCode CountryCode = default(CountryCode), PostalCode PostalCode = default(PostalCode), string Email = default(string), List<string> CopyEmails = default(List<string>), string PhoneNumber = default(string))
47+
public Address(string Name = default(string), string AddressLine1 = default(string), string AddressLine2 = default(string), string AddressLine3 = default(string), string StateOrRegion = default(string), string City = default(string), string CountryCode = default(string), string PostalCode = default(string), string Email = default(string), List<string> CopyEmails = default(List<string>), string PhoneNumber = default(string))
4848
{
4949
// to ensure "Name" is required (not null)
5050
if (Name == null)
@@ -139,25 +139,25 @@ public Address() { }
139139
/// Gets or Sets StateOrRegion
140140
/// </summary>
141141
[DataMember(Name = "stateOrRegion", EmitDefaultValue = false)]
142-
public StateOrRegion StateOrRegion { get; set; }
142+
public string StateOrRegion { get; set; }
143143

144144
/// <summary>
145145
/// Gets or Sets City
146146
/// </summary>
147147
[DataMember(Name = "city", EmitDefaultValue = false)]
148-
public City City { get; set; }
148+
public string City { get; set; }
149149

150150
/// <summary>
151151
/// Gets or Sets CountryCode
152152
/// </summary>
153153
[DataMember(Name = "countryCode", EmitDefaultValue = false)]
154-
public CountryCode CountryCode { get; set; }
154+
public string CountryCode { get; set; }
155155

156156
/// <summary>
157157
/// Gets or Sets PostalCode
158158
/// </summary>
159159
[DataMember(Name = "postalCode", EmitDefaultValue = false)]
160-
public PostalCode PostalCode { get; set; }
160+
public string PostalCode { get; set; }
161161

162162
/// <summary>
163163
/// The email address of the contact associated with the address.

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Shipping/City.cs

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

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Shipping/ClientReferenceId.cs

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

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Shipping/CountryCode.cs

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

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Shipping/CreateShipmentRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public CreateShipmentRequest() { }
3636
/// <param name="ShipTo">ShipTo (required).</param>
3737
/// <param name="ShipFrom">ShipFrom (required).</param>
3838
/// <param name="Containers">Containers (required).</param>
39-
public CreateShipmentRequest(ClientReferenceId ClientReferenceId = default(ClientReferenceId), Address ShipTo = default(Address), Address ShipFrom = default(Address), ContainerList Containers = default(ContainerList))
39+
public CreateShipmentRequest(string ClientReferenceId = default(string), Address ShipTo = default(Address), Address ShipFrom = default(Address), ContainerList Containers = default(ContainerList))
4040
{
4141
// to ensure "ClientReferenceId" is required (not null)
4242
if (ClientReferenceId == null)
@@ -80,7 +80,7 @@ public CreateShipmentRequest() { }
8080
/// Gets or Sets ClientReferenceId
8181
/// </summary>
8282
[DataMember(Name = "clientReferenceId", EmitDefaultValue = false)]
83-
public ClientReferenceId ClientReferenceId { get; set; }
83+
public string ClientReferenceId { get; set; }
8484

8585
/// <summary>
8686
/// Gets or Sets ShipTo

0 commit comments

Comments
 (0)