| POST | /purchase/simulate/v2 | Simulate Order |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Richemont.Booster2.PublicApi.Purchase.ServiceModel
Imports Richemont.Booster2.PublicApi.Purchase.ServiceModel.SharedModels
Namespace Global
Namespace Richemont.Booster2.PublicApi.Purchase.ServiceModel
Public Partial Class Address
'''<Summary>
'''Country ID
'''</Summary>
<ApiMember(Description:="Country ID")>
Public Overridable Property countryId As String
'''<Summary>
'''State ID
'''</Summary>
<ApiMember(Description:="State ID")>
Public Overridable Property stateId As String
'''<Summary>
'''City Name
'''</Summary>
<ApiMember(Description:="City Name")>
Public Overridable Property city As String
'''<Summary>
'''Street Name and Number
'''</Summary>
<ApiMember(Description:="Street Name and Number")>
Public Overridable Property street As String
'''<Summary>
'''Postal Code
'''</Summary>
<ApiMember(Description:="Postal Code")>
Public Overridable Property zipCode As String
End Class
Public Partial Class Amount
'''<Summary>
'''Value
'''</Summary>
<ApiMember(Description:="Value", IsRequired:=true)>
Public Overridable Property value As Decimal
'''<Summary>
'''Currency
'''</Summary>
<ApiMember(Description:="Currency", IsRequired:=true)>
Public Overridable Property currency As String
End Class
Public Partial Class AmountAndQuantity
'''<Summary>
'''Amount
'''</Summary>
<ApiMember(Description:="Amount", IsRequired:=true)>
Public Overridable Property amount As Amount
'''<Summary>
'''Base Quantity
'''</Summary>
<ApiMember(Description:="Base Quantity", IsRequired:=true)>
Public Overridable Property baseQuantity As Quantity
End Class
Public Partial Class ItemTotalValues
'''<Summary>
'''Requested Quantity
'''</Summary>
<ApiMember(Description:="Requested Quantity")>
Public Overridable Property requestedQuantity As Quantity
'''<Summary>
'''Confirmed Quantity
'''</Summary>
<ApiMember(Description:="Confirmed Quantity")>
Public Overridable Property confirmedQuantity As Quantity
'''<Summary>
'''Available Quantity
'''</Summary>
<ApiMember(Description:="Available Quantity")>
Public Overridable Property availableQuantity As Quantity
'''<Summary>
'''Gross Weight
'''</Summary>
<ApiMember(Description:="Gross Weight")>
Public Overridable Property grossWeightMeasure As Quantity
'''<Summary>
'''Net Weight
'''</Summary>
<ApiMember(Description:="Net Weight")>
Public Overridable Property netWeightMeasure As Quantity
'''<Summary>
'''Volume
'''</Summary>
<ApiMember(Description:="Volume")>
Public Overridable Property volumeMeasure As Quantity
'''<Summary>
'''Net Amount Line Total
'''</Summary>
<ApiMember(Description:="Net Amount Line Total")>
Public Overridable Property netAmount As Amount
'''<Summary>
'''Net Price Line Total
'''</Summary>
<ApiMember(Description:="Net Price Line Total")>
Public Overridable Property netPrice As AmountAndQuantity
'''<Summary>
'''Tax Amount Line Total
'''</Summary>
<ApiMember(Description:="Tax Amount Line Total")>
Public Overridable Property taxAmount As Amount
'''<Summary>
'''Retail Sales Price Line Total
'''</Summary>
<ApiMember(Description:="Retail Sales Price Line Total")>
Public Overridable Property retailSalesPriceAmount As Amount
End Class
Public Partial Class Party
'''<Summary>
'''Internal ID of the Element
'''</Summary>
<ApiMember(Description:="Internal ID of the Element", IsRequired:=true)>
Public Overridable Property id As String
'''<Summary>
'''Formatted Name of the Element
'''</Summary>
<ApiMember(Description:="Formatted Name of the Element", IsRequired:=true)>
Public Overridable Property name As String
'''<Summary>
'''Geographic Address of the Element
'''</Summary>
<ApiMember(Description:="Geographic Address of the Element")>
Public Overridable Property address As Address
End Class
Public Partial Class Quantity
'''<Summary>
'''Unit
'''</Summary>
<ApiMember(Description:="Unit", IsRequired:=true)>
Public Overridable Property unit As String
'''<Summary>
'''Value
'''</Summary>
<ApiMember(Description:="Value", IsRequired:=true)>
Public Overridable Property value As Decimal
End Class
Public Partial Class SimulateOrderItemRequestV2
'''<Summary>
'''Line Number
'''</Summary>
<ApiMember(Description:="Line Number", IsRequired:=true)>
Public Overridable Property lineNumber As Integer
'''<Summary>
'''Reference ID of the article/product, e.g. 'CRWB520003'
'''</Summary>
<ApiMember(Description:="Reference ID of the article/product, e.g. 'CRWB520003'", IsRequired:=true)>
Public Overridable Property articleCode As String
'''<Summary>
'''Desired quantity of the article
'''</Summary>
<ApiMember(Description:="Desired quantity of the article", IsRequired:=true)>
Public Overridable Property quantity As Integer
'''<Summary>
'''Requested Delivery Date of the Item, e.g. '2020-12-30'
'''</Summary>
<ApiMember(Description:="Requested Delivery Date of the Item, e.g. '2020-12-30'")>
Public Overridable Property requestedDeliveryDate As Nullable(Of Date)
'''<Summary>
'''Purchase order type, e.g. 'WCFS', null. Null for ordinary order
'''</Summary>
<ApiMember(Description:="Purchase order type, e.g. 'WCFS', null. Null for ordinary order")>
Public Overridable Property orderType As String
'''<Summary>
'''Final Ship To Pos Code
'''</Summary>
<ApiMember(Description:="Final Ship To Pos Code")>
Public Overridable Property finalShipToId As String
'''<Summary>
'''Strap definition
'''</Summary>
<ApiMember(Description:="Strap definition")>
Public Overridable Property strap As StrapItem
End Class
Public Partial Class SimulateOrderItemResponseV2
Public Sub New()
warnings = New List(Of Warning)
End Sub
'''<Summary>
'''Line Number, e.g 20, 40, 21, 41
'''</Summary>
<ApiMember(Description:="Line Number, e.g 20, 40, 21, 41", IsRequired:=true)>
Public Overridable Property lineNumber As Integer
'''<Summary>
'''Parent Line Number, e.g 20, 40
'''</Summary>
<ApiMember(Description:="Parent Line Number, e.g 20, 40", IsRequired:=true)>
Public Overridable Property parentLineNumber As Nullable(Of Integer)
'''<Summary>
'''Original line number in the request. Line numbers are remapped after the split
'''</Summary>
<ApiMember(Description:="Original line number in the request. Line numbers are remapped after the split", IsRequired:=true)>
Public Overridable Property requestLineNumber As Integer
'''<Summary>
'''Reference No of item, e.g.: CRWB521234
'''</Summary>
<ApiMember(Description:="Reference No of item, e.g.: CRWB521234", IsRequired:=true)>
Public Overridable Property articleCode As String
'''<Summary>
'''Substituted reference No of item, e.g.: CRWB520003
'''</Summary>
<ApiMember(Description:="Substituted reference No of item, e.g.: CRWB520003")>
Public Overridable Property substitutedArticleCode As String
'''<Summary>
'''DeliveryPlantId of item, e.g.: CHD6
'''</Summary>
<ApiMember(Description:="DeliveryPlantId of item, e.g.: CHD6", IsRequired:=true)>
Public Overridable Property deliveryPlantId As String
'''<Summary>
'''Expected Delivery Date, e.g. '2020-12-30'
'''</Summary>
<ApiMember(Description:="Expected Delivery Date, e.g. '2020-12-30'")>
Public Overridable Property expectedDeliveryDate As String
'''<Summary>
'''Buckle Summary, need to be forwarded to order creation
'''</Summary>
<ApiMember(Description:="Buckle Summary, need to be forwarded to order creation")>
Public Overridable Property buckleSummary As String
'''<Summary>
'''Material Summary, need to be forwarded to order creation
'''</Summary>
<ApiMember(Description:="Material Summary, need to be forwarded to order creation")>
Public Overridable Property materialSummary As String
'''<Summary>
'''Content Summary, need to be forwarded to order creation
'''</Summary>
<ApiMember(Description:="Content Summary, need to be forwarded to order creation")>
Public Overridable Property contentSummary As String
'''<Summary>
'''Strap Summary, need to be forwarded to order creation
'''</Summary>
<ApiMember(Description:="Strap Summary, need to be forwarded to order creation")>
Public Overridable Property strapSummary As String
'''<Summary>
'''Item Total Values
'''</Summary>
<ApiMember(Description:="Item Total Values", IsRequired:=true)>
Public Overridable Property totalValues As ItemTotalValues
'''<Summary>
'''Warning list
'''</Summary>
<ApiMember(Description:="Warning list", IsRequired:=true)>
Public Overridable Property warnings As List(Of Warning)
End Class
Public Partial Class SimulateOrderResponseV2
Public Sub New()
results = New Dictionary(Of String, SplittedSimulateOrderResponse)
shipTo = New List(Of Party)
finalShipTo = New List(Of Party)
billTo = New List(Of Party)
End Sub
'''<Summary>
'''List of splitted order simulation results
'''</Summary>
<ApiMember(Description:="List of splitted order simulation results", IsRequired:=true)>
Public Overridable Property results As Dictionary(Of String, SplittedSimulateOrderResponse)
'''<Summary>
'''Addresses which order can be shipped to (common list for all splitted orders)
'''</Summary>
<ApiMember(Description:="Addresses which order can be shipped to (common list for all splitted orders)")>
Public Overridable Property shipTo As List(Of Party)
'''<Summary>
'''Addresses which order can be final shipped to (common list for all splitted orders)
'''</Summary>
<ApiMember(Description:="Addresses which order can be final shipped to (common list for all splitted orders)")>
Public Overridable Property finalShipTo As List(Of Party)
'''<Summary>
'''Addresses which order can be billed to (common list for all splitted orders)
'''</Summary>
<ApiMember(Description:="Addresses which order can be billed to (common list for all splitted orders)")>
Public Overridable Property billTo As List(Of Party)
'''<Summary>
'''Address which order is made to (common list for all splitted orders)
'''</Summary>
<ApiMember(Description:="Address which order is made to (common list for all splitted orders)")>
Public Overridable Property soldTo As Party
'''<Summary>
'''Sales representatives (common list for all splitted orders)
'''</Summary>
<ApiMember(Description:="Sales representatives (common list for all splitted orders)")>
Public Overridable Property salesRepresentative As Party
End Class
Public Partial Class SimulateOrderV2
Public Sub New()
orderItems = New List(Of SimulateOrderItemRequestV2)
End Sub
'''<Summary>
'''Brand Trigram of the intended Order, e.g. 'IWC', 'CAR', etc.
'''</Summary>
<ApiMember(Description:="Brand Trigram of the intended Order, e.g. 'IWC', 'CAR', etc.", IsRequired:=true)>
Public Overridable Property brand As String
'''<Summary>
'''Global Pos Code for the intended Order e.g. ES100:102048
'''</Summary>
<ApiMember(Description:="Global Pos Code for the intended Order e.g. ES100:102048", IsRequired:=true)>
Public Overridable Property posCode As String
'''<Summary>
'''Customer Reference
'''</Summary>
<ApiMember(Description:="Customer Reference")>
Public Overridable Property customerReference As String
'''<Summary>
'''Additional Notes regarding the Order
'''</Summary>
<ApiMember(Description:="Additional Notes regarding the Order")>
Public Overridable Property notes As String
'''<Summary>
'''Purchase order date, e.g. '2020-12-31'
'''</Summary>
<ApiMember(Description:="Purchase order date, e.g. '2020-12-31'")>
Public Overridable Property orderDate As Nullable(Of Date)
'''<Summary>
'''List of Articles to be simulated
'''</Summary>
<ApiMember(Description:="List of Articles to be simulated", IsRequired:=true)>
Public Overridable Property orderItems As List(Of SimulateOrderItemRequestV2)
'''<Summary>
'''Booster1 ID of the end Customer
'''</Summary>
<ApiMember(Description:="Booster1 ID of the end Customer")>
Public Overridable Property endCustomerBooster1Id As String
'''<Summary>
'''Details of the end Customer
'''</Summary>
<ApiMember(Description:="Details of the end Customer")>
Public Overridable Property endCustomerDetails As EndCustomerDetails
End Class
Public Partial Class SplittedSimulateOrderResponse
Public Sub New()
orderItems = New List(Of SimulateOrderItemResponseV2)
shipTo = New List(Of Party)
finalShipTo = New List(Of Party)
billTo = New List(Of Party)
warnings = New List(Of Warning)
End Sub
'''<Summary>
'''Order Type
'''</Summary>
<ApiMember(Description:="Order Type", IsRequired:=true)>
Public Overridable Property orderType As String
'''<Summary>
'''Product Type
'''</Summary>
<ApiMember(Description:="Product Type", IsRequired:=true)>
Public Overridable Property productType As String
'''<Summary>
'''List of Articles simulated
'''</Summary>
<ApiMember(Description:="List of Articles simulated", IsRequired:=true)>
Public Overridable Property orderItems As List(Of SimulateOrderItemResponseV2)
'''<Summary>
'''Total Values
'''</Summary>
<ApiMember(Description:="Total Values", IsRequired:=true)>
Public Overridable Property totalValues As TotalValues
'''<Summary>
'''Addresses which order can be shipped to
'''</Summary>
<ApiMember(Description:="Addresses which order can be shipped to", IsRequired:=true)>
Public Overridable Property shipTo As List(Of Party)
'''<Summary>
'''Addresses which order can be final shipped to
'''</Summary>
<ApiMember(Description:="Addresses which order can be final shipped to")>
Public Overridable Property finalShipTo As List(Of Party)
'''<Summary>
'''Addresses which order can be billed to
'''</Summary>
<ApiMember(Description:="Addresses which order can be billed to", IsRequired:=true)>
Public Overridable Property billTo As List(Of Party)
'''<Summary>
'''Address which order is made to
'''</Summary>
<ApiMember(Description:="Address which order is made to", IsRequired:=true)>
Public Overridable Property soldTo As Party
'''<Summary>
'''Sales Representative
'''</Summary>
<ApiMember(Description:="Sales Representative")>
Public Overridable Property salesRepresentative As Party
'''<Summary>
'''Warning list
'''</Summary>
<ApiMember(Description:="Warning list", IsRequired:=true)>
Public Overridable Property warnings As List(Of Warning)
End Class
Public Partial Class TotalValues
'''<Summary>
'''Gross Weight
'''</Summary>
<ApiMember(Description:="Gross Weight", IsRequired:=true)>
Public Overridable Property grossWeightMeasure As Quantity
'''<Summary>
'''Net Weight
'''</Summary>
<ApiMember(Description:="Net Weight", IsRequired:=true)>
Public Overridable Property netWeightMeasure As Quantity
'''<Summary>
'''Gross Volume
'''</Summary>
<ApiMember(Description:="Gross Volume", IsRequired:=true)>
Public Overridable Property grossVolumeMeasure As Quantity
'''<Summary>
'''Gross Amount
'''</Summary>
<ApiMember(Description:="Gross Amount", IsRequired:=true)>
Public Overridable Property grossAmount As Amount
'''<Summary>
'''Net Amount
'''</Summary>
<ApiMember(Description:="Net Amount", IsRequired:=true)>
Public Overridable Property netAmount As Amount
'''<Summary>
'''Tax Amount
'''</Summary>
<ApiMember(Description:="Tax Amount", IsRequired:=true)>
Public Overridable Property taxAmount As Amount
End Class
Public Partial Class Warning
'''<Summary>
'''Id
'''</Summary>
<ApiMember(Description:="Id", IsRequired:=true)>
Public Overridable Property id As String
'''<Summary>
'''Message
'''</Summary>
<ApiMember(Description:="Message", IsRequired:=true)>
Public Overridable Property message As String
'''<Summary>
'''Severity code, possible values: 1, 2, 3, 4
'''</Summary>
<ApiMember(Description:="Severity code, possible values: 1, 2, 3, 4", IsRequired:=true)>
Public Overridable Property severityCode As Integer
End Class
End Namespace
Namespace Richemont.Booster2.PublicApi.Purchase.ServiceModel.SharedModels
Public Partial Class EndCustomerDetails
'''<Summary>
'''Title of the end Customer, e.g. 'MR', 'MRS'.
'''</Summary>
<ApiMember(Description:="Title of the end Customer, e.g. 'MR', 'MRS'.")>
Public Overridable Property title As String
'''<Summary>
'''First Name of the end Customer
'''</Summary>
<ApiMember(Description:="First Name of the end Customer", IsRequired:=true)>
Public Overridable Property firstName As String
'''<Summary>
'''Last Name of the end Customer
'''</Summary>
<ApiMember(Description:="Last Name of the end Customer", IsRequired:=true)>
Public Overridable Property lastName As String
'''<Summary>
'''Email of the end Customer
'''</Summary>
<ApiMember(Description:="Email of the end Customer")>
Public Overridable Property email As String
'''<Summary>
'''Phone number of the end Customer, e.g. '0032477123456'.
'''</Summary>
<ApiMember(Description:="Phone number of the end Customer, e.g. '0032477123456'. ")>
Public Overridable Property phone As String
'''<Summary>
'''Countr code in the shipping address, e.g. 'BE' (ISO Code)
'''</Summary>
<ApiMember(Description:="Countr code in the shipping address, e.g. 'BE' (ISO Code)", IsRequired:=true)>
Public Overridable Property country As String
'''<Summary>
'''City name in the shipping address
'''</Summary>
<ApiMember(Description:="City name in the shipping address", IsRequired:=true)>
Public Overridable Property city As String
'''<Summary>
'''Street name in the shipping address
'''</Summary>
<ApiMember(Description:="Street name in the shipping address", IsRequired:=true)>
Public Overridable Property street As String
'''<Summary>
'''House number in the shipping address
'''</Summary>
<ApiMember(Description:="House number in the shipping address")>
Public Overridable Property houseNumber As String
'''<Summary>
'''Building number in the shipping address
'''</Summary>
<ApiMember(Description:="Building number in the shipping address")>
Public Overridable Property building As String
'''<Summary>
'''Postal code in the shipping address
'''</Summary>
<ApiMember(Description:="Postal code in the shipping address")>
Public Overridable Property postalCode As String
'''<Summary>
'''Region code in the shipping address, e.g. 'VL' (ISO Code)
'''</Summary>
<ApiMember(Description:="Region code in the shipping address, e.g. 'VL' (ISO Code)")>
Public Overridable Property region As String
'''<Summary>
'''District name in the shipping address
'''</Summary>
<ApiMember(Description:="District name in the shipping address")>
Public Overridable Property district As String
'''<Summary>
'''Additional Info number to the shipping address
'''</Summary>
<ApiMember(Description:="Additional Info number to the shipping address")>
Public Overridable Property additionalInfo As String
End Class
Public Partial Class StrapItem
'''<Summary>
'''Article reference
'''</Summary>
<ApiMember(Description:="Article reference")>
Public Overridable Property speakingArticleCode As String
'''<Summary>
'''Buckle type Description
'''</Summary>
<ApiMember(Description:="Buckle type Description")>
Public Overridable Property buckleTypeDescription As String
'''<Summary>
'''Buckle type
'''</Summary>
<ApiMember(Description:="Buckle type")>
Public Overridable Property buckleTypeCode As String
'''<Summary>
'''watch 6 Length
'''</Summary>
<ApiMember(Description:="watch 6 Length")>
Public Overridable Property watch6Length As Nullable(Of Integer)
'''<Summary>
'''watch 12 Length
'''</Summary>
<ApiMember(Description:="watch 12 Length")>
Public Overridable Property watch12Length As Nullable(Of Integer)
'''<Summary>
'''Article Material Code
'''</Summary>
<ApiMember(Description:="Article Material Code")>
Public Overridable Property materialCode As String
'''<Summary>
'''Article Material Description
'''</Summary>
<ApiMember(Description:="Article Material Description")>
Public Overridable Property materialDescription As String
'''<Summary>
'''Article Color Code
'''</Summary>
<ApiMember(Description:="Article Color Code")>
Public Overridable Property colorCode As String
'''<Summary>
'''Article Color Description
'''</Summary>
<ApiMember(Description:="Article Color Description")>
Public Overridable Property colorDescription As String
'''<Summary>
'''Buckle Witdh
'''</Summary>
<ApiMember(Description:="Buckle Witdh")>
Public Overridable Property buckleWidth As String
'''<Summary>
'''Article Lining Code
'''</Summary>
<ApiMember(Description:="Article Lining Code")>
Public Overridable Property liningCode As String
'''<Summary>
'''Article Lining Description
'''</Summary>
<ApiMember(Description:="Article Lining Description")>
Public Overridable Property liningDescription As String
'''<Summary>
'''Article Stitching Code
'''</Summary>
<ApiMember(Description:="Article Stitching Code")>
Public Overridable Property stitchingCode As String
'''<Summary>
'''Article Stitching Description
'''</Summary>
<ApiMember(Description:="Article Stitching Description")>
Public Overridable Property stitchingDescription As String
'''<Summary>
'''Article Edge Code
'''</Summary>
<ApiMember(Description:="Article Edge Code")>
Public Overridable Property edgeCode As String
'''<Summary>
'''Article Edge Description
'''</Summary>
<ApiMember(Description:="Article Edge Description")>
Public Overridable Property edgeDescription As String
'''<Summary>
'''Article Padding Code
'''</Summary>
<ApiMember(Description:="Article Padding Code")>
Public Overridable Property paddingCode As String
'''<Summary>
'''Article Padding Description
'''</Summary>
<ApiMember(Description:="Article Padding Description")>
Public Overridable Property paddingDescription As String
'''<Summary>
'''Article Speciality Code
'''</Summary>
<ApiMember(Description:="Article Speciality Code")>
Public Overridable Property specialtyCode As String
'''<Summary>
'''Article Speciality Description
'''</Summary>
<ApiMember(Description:="Article Speciality Description")>
Public Overridable Property specialtyDescription As String
'''<Summary>
'''Nuancier Code
'''</Summary>
<ApiMember(Description:="Nuancier Code")>
Public Overridable Property nuancierCode As String
'''<Summary>
'''Strap Vip Order
'''</Summary>
<ApiMember(Description:="Strap Vip Order")>
Public Overridable Property isStrapVipOrder As Nullable(Of Boolean)
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /purchase/simulate/v2 HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
brand: String,
posCode: String,
customerReference: String,
notes: String,
orderDate: 0001-01-01,
orderItems:
[
{
lineNumber: 0,
articleCode: String,
quantity: 0,
requestedDeliveryDate: 0001-01-01,
orderType: String,
finalShipToId: String,
strap:
{
speakingArticleCode: String,
buckleTypeDescription: String,
buckleTypeCode: String,
watch6Length: 0,
watch12Length: 0,
materialCode: String,
materialDescription: String,
colorCode: String,
colorDescription: String,
buckleWidth: String,
liningCode: String,
liningDescription: String,
stitchingCode: String,
stitchingDescription: String,
edgeCode: String,
edgeDescription: String,
paddingCode: String,
paddingDescription: String,
specialtyCode: String,
specialtyDescription: String,
nuancierCode: String,
isStrapVipOrder: False
}
}
],
endCustomerBooster1Id: String,
endCustomerDetails:
{
title: String,
firstName: String,
lastName: String,
email: String,
phone: String,
country: String,
city: String,
street: String,
houseNumber: String,
building: String,
postalCode: String,
region: String,
district: String,
additionalInfo: String
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
results:
{
String:
{
orderType: String,
productType: String,
orderItems:
[
{
lineNumber: 0,
parentLineNumber: 0,
requestLineNumber: 0,
articleCode: String,
substitutedArticleCode: String,
deliveryPlantId: String,
expectedDeliveryDate: String,
buckleSummary: String,
materialSummary: String,
contentSummary: String,
strapSummary: String,
totalValues:
{
requestedQuantity:
{
unit: String,
value: 0
},
confirmedQuantity:
{
unit: String,
value: 0
},
availableQuantity:
{
unit: String,
value: 0
},
grossWeightMeasure:
{
unit: String,
value: 0
},
netWeightMeasure:
{
unit: String,
value: 0
},
volumeMeasure:
{
unit: String,
value: 0
},
netAmount:
{
value: 0,
currency: String
},
netPrice:
{
amount:
{
value: 0,
currency: String
},
baseQuantity:
{
unit: String,
value: 0
}
},
taxAmount:
{
value: 0,
currency: String
},
retailSalesPriceAmount:
{
value: 0,
currency: String
}
},
warnings:
[
{
id: String,
message: String,
severityCode: 0
}
]
}
],
totalValues:
{
grossWeightMeasure:
{
unit: String,
value: 0
},
netWeightMeasure:
{
unit: String,
value: 0
},
grossVolumeMeasure:
{
unit: String,
value: 0
},
grossAmount:
{
value: 0,
currency: String
},
netAmount:
{
value: 0,
currency: String
},
taxAmount:
{
value: 0,
currency: String
}
},
shipTo:
[
{
id: String,
name: String,
address:
{
countryId: String,
stateId: String,
city: String,
street: String,
zipCode: String
}
}
],
finalShipTo:
[
{
id: String,
name: String,
address:
{
countryId: String,
stateId: String,
city: String,
street: String,
zipCode: String
}
}
],
billTo:
[
{
id: String,
name: String,
address:
{
countryId: String,
stateId: String,
city: String,
street: String,
zipCode: String
}
}
],
soldTo:
{
id: String,
name: String,
address:
{
countryId: String,
stateId: String,
city: String,
street: String,
zipCode: String
}
},
salesRepresentative:
{
id: String,
name: String,
address:
{
countryId: String,
stateId: String,
city: String,
street: String,
zipCode: String
}
},
warnings:
[
{
id: String,
message: String,
severityCode: 0
}
]
}
},
shipTo:
[
{
id: String,
name: String,
address:
{
countryId: String,
stateId: String,
city: String,
street: String,
zipCode: String
}
}
],
finalShipTo:
[
{
id: String,
name: String,
address:
{
countryId: String,
stateId: String,
city: String,
street: String,
zipCode: String
}
}
],
billTo:
[
{
id: String,
name: String,
address:
{
countryId: String,
stateId: String,
city: String,
street: String,
zipCode: String
}
}
],
soldTo:
{
id: String,
name: String,
address:
{
countryId: String,
stateId: String,
city: String,
street: String,
zipCode: String
}
},
salesRepresentative:
{
id: String,
name: String,
address:
{
countryId: String,
stateId: String,
city: String,
street: String,
zipCode: String
}
}
}