|
|
@ -23,20 +23,20 @@ public class SampleShippingV2Tests : SampleTestsBase
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ShipTo = new Address
|
|
|
|
ShipTo = new Address
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Name = "Maria Mata",
|
|
|
|
Name = "Courtesy Chakma",
|
|
|
|
AddressLine1 = "2760 W Yowlumne Ave, Ste A",
|
|
|
|
AddressLine1 = "14420 97TH AVE BSMT DOOR JAMAICA",
|
|
|
|
StateOrRegion = "CA",
|
|
|
|
StateOrRegion = "NY",
|
|
|
|
City = "Porterville",
|
|
|
|
City = "JAMAICA",
|
|
|
|
CountryCode = "US",
|
|
|
|
CountryCode = "US",
|
|
|
|
PostalCode = "93257",
|
|
|
|
PostalCode = "11435-4424",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
ShipDate = new DateTime(2024,10,30),
|
|
|
|
ShipDate = new DateTime(2024,10,25,15,30,0),
|
|
|
|
ShipFrom = new Address
|
|
|
|
ShipFrom = new Address
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Name = "EDDIE",
|
|
|
|
Name = "bosonshop",
|
|
|
|
AddressLine1 = "11190 White Birch Dr Suite 100",
|
|
|
|
AddressLine1 = "11190 White Birch Dr Suite 100",
|
|
|
|
StateOrRegion = "CA",
|
|
|
|
StateOrRegion = "CA",
|
|
|
|
City = "Rancho Cucamonga",
|
|
|
|
City = "RanchoCucamonga",
|
|
|
|
CountryCode = "US",
|
|
|
|
CountryCode = "US",
|
|
|
|
PostalCode = "91730",
|
|
|
|
PostalCode = "91730",
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -61,28 +61,28 @@ public class SampleShippingV2Tests : SampleTestsBase
|
|
|
|
Value = 200,
|
|
|
|
Value = 200,
|
|
|
|
Unit = "USD"
|
|
|
|
Unit = "USD"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
PackageClientReferenceId = "111-0844329-0173888",
|
|
|
|
PackageClientReferenceId = "111-0844329-0DAWDAV",
|
|
|
|
IsHazmat = false,
|
|
|
|
IsHazmat = false,
|
|
|
|
Items = new ItemList
|
|
|
|
Items = new ItemList
|
|
|
|
{
|
|
|
|
{
|
|
|
|
new Item
|
|
|
|
new Item
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// ItemValue = new Currency
|
|
|
|
ItemValue = new Currency
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// Value = 200,
|
|
|
|
Value = 200,
|
|
|
|
// Unit = "USD"
|
|
|
|
Unit = "USD"
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
Quantity = 1,
|
|
|
|
Quantity = 1,
|
|
|
|
Weight = new Weight
|
|
|
|
Weight = new Weight
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Unit = WeightUnitEnum.POUND,
|
|
|
|
Unit = WeightUnitEnum.POUND,
|
|
|
|
Value = 20
|
|
|
|
Value = 20
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// LiquidVolume = new LiquidVolume
|
|
|
|
LiquidVolume = new LiquidVolume
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// Unit = LiquidVolume.UnitEnum.ML,
|
|
|
|
Unit = LiquidVolumeUnitEnum.ML,
|
|
|
|
// Value = 2000
|
|
|
|
Value = 2000
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|