| POST | /purchase/simulate/v2 | Simulate Order |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class SimulateOrderV2
{
/**
* Brand Trigram of the intended Order, e.g. 'IWC', 'CAR', etc.
*/
@ApiMember(Description="Brand Trigram of the intended Order, e.g. 'IWC', 'CAR', etc.", IsRequired=true)
open var brand:String? = null
/**
* Global Pos Code for the intended Order e.g. ES100:102048
*/
@ApiMember(Description="Global Pos Code for the intended Order e.g. ES100:102048", IsRequired=true)
open var posCode:String? = null
/**
* Customer Reference
*/
@ApiMember(Description="Customer Reference")
open var customerReference:String? = null
/**
* Additional Notes regarding the Order
*/
@ApiMember(Description="Additional Notes regarding the Order")
open var notes:String? = null
/**
* Purchase order date, e.g. '2020-12-31'
*/
@ApiMember(Description="Purchase order date, e.g. '2020-12-31'")
open var orderDate:Date? = null
/**
* List of Articles to be simulated
*/
@ApiMember(Description="List of Articles to be simulated", IsRequired=true)
open var orderItems:ArrayList<SimulateOrderItemRequestV2> = ArrayList<SimulateOrderItemRequestV2>()
/**
* Booster1 ID of the end Customer
*/
@ApiMember(Description="Booster1 ID of the end Customer")
open var endCustomerBooster1Id:String? = null
/**
* Details of the end Customer
*/
@ApiMember(Description="Details of the end Customer")
open var endCustomerDetails:EndCustomerDetails? = null
}
open class SimulateOrderItemRequestV2
{
/**
* Line Number
*/
@ApiMember(Description="Line Number", IsRequired=true)
open var lineNumber:Int? = null
/**
* Reference ID of the article/product, e.g. 'CRWB520003'
*/
@ApiMember(Description="Reference ID of the article/product, e.g. 'CRWB520003'", IsRequired=true)
open var articleCode:String? = null
/**
* Desired quantity of the article
*/
@ApiMember(Description="Desired quantity of the article", IsRequired=true)
open var quantity:Int? = null
/**
* Requested Delivery Date of the Item, e.g. '2020-12-30'
*/
@ApiMember(Description="Requested Delivery Date of the Item, e.g. '2020-12-30'")
open var requestedDeliveryDate:Date? = null
/**
* Purchase order type, e.g. 'WCFS', null. Null for ordinary order
*/
@ApiMember(Description="Purchase order type, e.g. 'WCFS', null. Null for ordinary order")
open var orderType:String? = null
/**
* Final Ship To Pos Code
*/
@ApiMember(Description="Final Ship To Pos Code")
open var finalShipToId:String? = null
/**
* Strap definition
*/
@ApiMember(Description="Strap definition")
open var strap:StrapItem? = null
}
open class StrapItem
{
/**
* Article reference
*/
@ApiMember(Description="Article reference")
open var speakingArticleCode:String? = null
/**
* Buckle type Description
*/
@ApiMember(Description="Buckle type Description")
open var buckleTypeDescription:String? = null
/**
* Buckle type
*/
@ApiMember(Description="Buckle type")
open var buckleTypeCode:String? = null
/**
* watch 6 Length
*/
@ApiMember(Description="watch 6 Length")
open var watch6Length:Int? = null
/**
* watch 12 Length
*/
@ApiMember(Description="watch 12 Length")
open var watch12Length:Int? = null
/**
* Article Material Code
*/
@ApiMember(Description="Article Material Code")
open var materialCode:String? = null
/**
* Article Material Description
*/
@ApiMember(Description="Article Material Description")
open var materialDescription:String? = null
/**
* Article Color Code
*/
@ApiMember(Description="Article Color Code")
open var colorCode:String? = null
/**
* Article Color Description
*/
@ApiMember(Description="Article Color Description")
open var colorDescription:String? = null
/**
* Buckle Witdh
*/
@ApiMember(Description="Buckle Witdh")
open var buckleWidth:String? = null
/**
* Article Lining Code
*/
@ApiMember(Description="Article Lining Code")
open var liningCode:String? = null
/**
* Article Lining Description
*/
@ApiMember(Description="Article Lining Description")
open var liningDescription:String? = null
/**
* Article Stitching Code
*/
@ApiMember(Description="Article Stitching Code")
open var stitchingCode:String? = null
/**
* Article Stitching Description
*/
@ApiMember(Description="Article Stitching Description")
open var stitchingDescription:String? = null
/**
* Article Edge Code
*/
@ApiMember(Description="Article Edge Code")
open var edgeCode:String? = null
/**
* Article Edge Description
*/
@ApiMember(Description="Article Edge Description")
open var edgeDescription:String? = null
/**
* Article Padding Code
*/
@ApiMember(Description="Article Padding Code")
open var paddingCode:String? = null
/**
* Article Padding Description
*/
@ApiMember(Description="Article Padding Description")
open var paddingDescription:String? = null
/**
* Article Speciality Code
*/
@ApiMember(Description="Article Speciality Code")
open var specialtyCode:String? = null
/**
* Article Speciality Description
*/
@ApiMember(Description="Article Speciality Description")
open var specialtyDescription:String? = null
/**
* Nuancier Code
*/
@ApiMember(Description="Nuancier Code")
open var nuancierCode:String? = null
/**
* Strap Vip Order
*/
@ApiMember(Description="Strap Vip Order")
open var isStrapVipOrder:Boolean? = null
}
open class EndCustomerDetails
{
/**
* Title of the end Customer, e.g. 'MR', 'MRS'.
*/
@ApiMember(Description="Title of the end Customer, e.g. 'MR', 'MRS'.")
open var title:String? = null
/**
* First Name of the end Customer
*/
@ApiMember(Description="First Name of the end Customer", IsRequired=true)
open var firstName:String? = null
/**
* Last Name of the end Customer
*/
@ApiMember(Description="Last Name of the end Customer", IsRequired=true)
open var lastName:String? = null
/**
* Email of the end Customer
*/
@ApiMember(Description="Email of the end Customer")
open var email:String? = null
/**
* Phone number of the end Customer, e.g. '0032477123456'.
*/
@ApiMember(Description="Phone number of the end Customer, e.g. '0032477123456'. ")
open var phone:String? = null
/**
* Countr code in the shipping address, e.g. 'BE' (ISO Code)
*/
@ApiMember(Description="Countr code in the shipping address, e.g. 'BE' (ISO Code)", IsRequired=true)
open var country:String? = null
/**
* City name in the shipping address
*/
@ApiMember(Description="City name in the shipping address", IsRequired=true)
open var city:String? = null
/**
* Street name in the shipping address
*/
@ApiMember(Description="Street name in the shipping address", IsRequired=true)
open var street:String? = null
/**
* House number in the shipping address
*/
@ApiMember(Description="House number in the shipping address")
open var houseNumber:String? = null
/**
* Building number in the shipping address
*/
@ApiMember(Description="Building number in the shipping address")
open var building:String? = null
/**
* Postal code in the shipping address
*/
@ApiMember(Description="Postal code in the shipping address")
open var postalCode:String? = null
/**
* Region code in the shipping address, e.g. 'VL' (ISO Code)
*/
@ApiMember(Description="Region code in the shipping address, e.g. 'VL' (ISO Code)")
open var region:String? = null
/**
* District name in the shipping address
*/
@ApiMember(Description="District name in the shipping address")
open var district:String? = null
/**
* Additional Info number to the shipping address
*/
@ApiMember(Description="Additional Info number to the shipping address")
open var additionalInfo:String? = null
}
open class SimulateOrderResponseV2
{
/**
* List of splitted order simulation results
*/
@ApiMember(Description="List of splitted order simulation results", IsRequired=true)
open var results:HashMap<String,SplittedSimulateOrderResponse> = HashMap<String,SplittedSimulateOrderResponse>()
/**
* Addresses which order can be shipped to (common list for all splitted orders)
*/
@ApiMember(Description="Addresses which order can be shipped to (common list for all splitted orders)")
open var shipTo:ArrayList<Party>? = null
/**
* Addresses which order can be final shipped to (common list for all splitted orders)
*/
@ApiMember(Description="Addresses which order can be final shipped to (common list for all splitted orders)")
open var finalShipTo:ArrayList<Party>? = null
/**
* Addresses which order can be billed to (common list for all splitted orders)
*/
@ApiMember(Description="Addresses which order can be billed to (common list for all splitted orders)")
open var billTo:ArrayList<Party>? = null
/**
* Address which order is made to (common list for all splitted orders)
*/
@ApiMember(Description="Address which order is made to (common list for all splitted orders)")
open var soldTo:Party? = null
/**
* Sales representatives (common list for all splitted orders)
*/
@ApiMember(Description="Sales representatives (common list for all splitted orders)")
open var salesRepresentative:Party? = null
}
open class SplittedSimulateOrderResponse
{
/**
* Order Type
*/
@ApiMember(Description="Order Type", IsRequired=true)
open var orderType:String? = null
/**
* Product Type
*/
@ApiMember(Description="Product Type", IsRequired=true)
open var productType:String? = null
/**
* List of Articles simulated
*/
@ApiMember(Description="List of Articles simulated", IsRequired=true)
open var orderItems:ArrayList<SimulateOrderItemResponseV2> = ArrayList<SimulateOrderItemResponseV2>()
/**
* Total Values
*/
@ApiMember(Description="Total Values", IsRequired=true)
open var totalValues:TotalValues? = null
/**
* Addresses which order can be shipped to
*/
@ApiMember(Description="Addresses which order can be shipped to", IsRequired=true)
open var shipTo:ArrayList<Party> = ArrayList<Party>()
/**
* Addresses which order can be final shipped to
*/
@ApiMember(Description="Addresses which order can be final shipped to")
open var finalShipTo:ArrayList<Party>? = null
/**
* Addresses which order can be billed to
*/
@ApiMember(Description="Addresses which order can be billed to", IsRequired=true)
open var billTo:ArrayList<Party> = ArrayList<Party>()
/**
* Address which order is made to
*/
@ApiMember(Description="Address which order is made to", IsRequired=true)
open var soldTo:Party? = null
/**
* Sales Representative
*/
@ApiMember(Description="Sales Representative")
open var salesRepresentative:Party? = null
/**
* Warning list
*/
@ApiMember(Description="Warning list", IsRequired=true)
open var warnings:ArrayList<Warning> = ArrayList<Warning>()
}
open class SimulateOrderItemResponseV2
{
/**
* Line Number, e.g 20, 40, 21, 41
*/
@ApiMember(Description="Line Number, e.g 20, 40, 21, 41", IsRequired=true)
open var lineNumber:Int? = null
/**
* Parent Line Number, e.g 20, 40
*/
@ApiMember(Description="Parent Line Number, e.g 20, 40", IsRequired=true)
open var parentLineNumber:Int? = null
/**
* Original line number in the request. Line numbers are remapped after the split
*/
@ApiMember(Description="Original line number in the request. Line numbers are remapped after the split", IsRequired=true)
open var requestLineNumber:Int? = null
/**
* Reference No of item, e.g.: CRWB521234
*/
@ApiMember(Description="Reference No of item, e.g.: CRWB521234", IsRequired=true)
open var articleCode:String? = null
/**
* Substituted reference No of item, e.g.: CRWB520003
*/
@ApiMember(Description="Substituted reference No of item, e.g.: CRWB520003")
open var substitutedArticleCode:String? = null
/**
* DeliveryPlantId of item, e.g.: CHD6
*/
@ApiMember(Description="DeliveryPlantId of item, e.g.: CHD6", IsRequired=true)
open var deliveryPlantId:String? = null
/**
* Expected Delivery Date, e.g. '2020-12-30'
*/
@ApiMember(Description="Expected Delivery Date, e.g. '2020-12-30'")
open var expectedDeliveryDate:String? = null
/**
* Buckle Summary, need to be forwarded to order creation
*/
@ApiMember(Description="Buckle Summary, need to be forwarded to order creation")
open var buckleSummary:String? = null
/**
* Material Summary, need to be forwarded to order creation
*/
@ApiMember(Description="Material Summary, need to be forwarded to order creation")
open var materialSummary:String? = null
/**
* Content Summary, need to be forwarded to order creation
*/
@ApiMember(Description="Content Summary, need to be forwarded to order creation")
open var contentSummary:String? = null
/**
* Strap Summary, need to be forwarded to order creation
*/
@ApiMember(Description="Strap Summary, need to be forwarded to order creation")
open var strapSummary:String? = null
/**
* Item Total Values
*/
@ApiMember(Description="Item Total Values", IsRequired=true)
open var totalValues:ItemTotalValues? = null
/**
* Warning list
*/
@ApiMember(Description="Warning list", IsRequired=true)
open var warnings:ArrayList<Warning> = ArrayList<Warning>()
}
open class ItemTotalValues
{
/**
* Requested Quantity
*/
@ApiMember(Description="Requested Quantity")
open var requestedQuantity:Quantity? = null
/**
* Confirmed Quantity
*/
@ApiMember(Description="Confirmed Quantity")
open var confirmedQuantity:Quantity? = null
/**
* Available Quantity
*/
@ApiMember(Description="Available Quantity")
open var availableQuantity:Quantity? = null
/**
* Gross Weight
*/
@ApiMember(Description="Gross Weight")
open var grossWeightMeasure:Quantity? = null
/**
* Net Weight
*/
@ApiMember(Description="Net Weight")
open var netWeightMeasure:Quantity? = null
/**
* Volume
*/
@ApiMember(Description="Volume")
open var volumeMeasure:Quantity? = null
/**
* Net Amount Line Total
*/
@ApiMember(Description="Net Amount Line Total")
open var netAmount:Amount? = null
/**
* Net Price Line Total
*/
@ApiMember(Description="Net Price Line Total")
open var netPrice:AmountAndQuantity? = null
/**
* Tax Amount Line Total
*/
@ApiMember(Description="Tax Amount Line Total")
open var taxAmount:Amount? = null
/**
* Retail Sales Price Line Total
*/
@ApiMember(Description="Retail Sales Price Line Total")
open var retailSalesPriceAmount:Amount? = null
}
open class Quantity
{
/**
* Unit
*/
@ApiMember(Description="Unit", IsRequired=true)
open var unit:String? = null
/**
* Value
*/
@ApiMember(Description="Value", IsRequired=true)
open var value:BigDecimal? = null
}
open class Amount
{
/**
* Value
*/
@ApiMember(Description="Value", IsRequired=true)
open var value:BigDecimal? = null
/**
* Currency
*/
@ApiMember(Description="Currency", IsRequired=true)
open var currency:String? = null
}
open class AmountAndQuantity
{
/**
* Amount
*/
@ApiMember(Description="Amount", IsRequired=true)
open var amount:Amount? = null
/**
* Base Quantity
*/
@ApiMember(Description="Base Quantity", IsRequired=true)
open var baseQuantity:Quantity? = null
}
open class Warning
{
/**
* Id
*/
@ApiMember(Description="Id", IsRequired=true)
open var id:String? = null
/**
* Message
*/
@ApiMember(Description="Message", IsRequired=true)
open var message:String? = null
/**
* Severity code, possible values: 1, 2, 3, 4
*/
@ApiMember(Description="Severity code, possible values: 1, 2, 3, 4", IsRequired=true)
open var severityCode:Int? = null
}
open class TotalValues
{
/**
* Gross Weight
*/
@ApiMember(Description="Gross Weight", IsRequired=true)
open var grossWeightMeasure:Quantity? = null
/**
* Net Weight
*/
@ApiMember(Description="Net Weight", IsRequired=true)
open var netWeightMeasure:Quantity? = null
/**
* Gross Volume
*/
@ApiMember(Description="Gross Volume", IsRequired=true)
open var grossVolumeMeasure:Quantity? = null
/**
* Gross Amount
*/
@ApiMember(Description="Gross Amount", IsRequired=true)
open var grossAmount:Amount? = null
/**
* Net Amount
*/
@ApiMember(Description="Net Amount", IsRequired=true)
open var netAmount:Amount? = null
/**
* Tax Amount
*/
@ApiMember(Description="Tax Amount", IsRequired=true)
open var taxAmount:Amount? = null
}
open class Party
{
/**
* Internal ID of the Element
*/
@ApiMember(Description="Internal ID of the Element", IsRequired=true)
open var id:String? = null
/**
* Formatted Name of the Element
*/
@ApiMember(Description="Formatted Name of the Element", IsRequired=true)
open var name:String? = null
/**
* Geographic Address of the Element
*/
@ApiMember(Description="Geographic Address of the Element")
open var address:Address? = null
}
open class Address
{
/**
* Country ID
*/
@ApiMember(Description="Country ID")
open var countryId:String? = null
/**
* State ID
*/
@ApiMember(Description="State ID")
open var stateId:String? = null
/**
* City Name
*/
@ApiMember(Description="City Name")
open var city:String? = null
/**
* Street Name and Number
*/
@ApiMember(Description="Street Name and Number")
open var street:String? = null
/**
* Postal Code
*/
@ApiMember(Description="Postal Code")
open var zipCode:String? = null
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<SimulateOrderV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.Purchase.ServiceModel">
<brand>String</brand>
<customerReference>String</customerReference>
<endCustomerBooster1Id>String</endCustomerBooster1Id>
<endCustomerDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.Purchase.ServiceModel.SharedModels">
<d2p1:additionalInfo>String</d2p1:additionalInfo>
<d2p1:building>String</d2p1:building>
<d2p1:city>String</d2p1:city>
<d2p1:country>String</d2p1:country>
<d2p1:district>String</d2p1:district>
<d2p1:email>String</d2p1:email>
<d2p1:firstName>String</d2p1:firstName>
<d2p1:houseNumber>String</d2p1:houseNumber>
<d2p1:lastName>String</d2p1:lastName>
<d2p1:phone>String</d2p1:phone>
<d2p1:postalCode>String</d2p1:postalCode>
<d2p1:region>String</d2p1:region>
<d2p1:street>String</d2p1:street>
<d2p1:title>String</d2p1:title>
</endCustomerDetails>
<notes>String</notes>
<orderDate>0001-01-01T00:00:00</orderDate>
<orderItems>
<SimulateOrderItemRequestV2>
<articleCode>String</articleCode>
<finalShipToId>String</finalShipToId>
<lineNumber>0</lineNumber>
<orderType>String</orderType>
<quantity>0</quantity>
<requestedDeliveryDate>0001-01-01T00:00:00</requestedDeliveryDate>
<strap xmlns:d4p1="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.Purchase.ServiceModel.SharedModels">
<d4p1:buckleTypeCode>String</d4p1:buckleTypeCode>
<d4p1:buckleTypeDescription>String</d4p1:buckleTypeDescription>
<d4p1:buckleWidth>String</d4p1:buckleWidth>
<d4p1:colorCode>String</d4p1:colorCode>
<d4p1:colorDescription>String</d4p1:colorDescription>
<d4p1:edgeCode>String</d4p1:edgeCode>
<d4p1:edgeDescription>String</d4p1:edgeDescription>
<d4p1:isStrapVipOrder>false</d4p1:isStrapVipOrder>
<d4p1:liningCode>String</d4p1:liningCode>
<d4p1:liningDescription>String</d4p1:liningDescription>
<d4p1:materialCode>String</d4p1:materialCode>
<d4p1:materialDescription>String</d4p1:materialDescription>
<d4p1:nuancierCode>String</d4p1:nuancierCode>
<d4p1:paddingCode>String</d4p1:paddingCode>
<d4p1:paddingDescription>String</d4p1:paddingDescription>
<d4p1:speakingArticleCode>String</d4p1:speakingArticleCode>
<d4p1:specialtyCode>String</d4p1:specialtyCode>
<d4p1:specialtyDescription>String</d4p1:specialtyDescription>
<d4p1:stitchingCode>String</d4p1:stitchingCode>
<d4p1:stitchingDescription>String</d4p1:stitchingDescription>
<d4p1:watch12Length>0</d4p1:watch12Length>
<d4p1:watch6Length>0</d4p1:watch6Length>
</strap>
</SimulateOrderItemRequestV2>
</orderItems>
<posCode>String</posCode>
</SimulateOrderV2>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<SimulateOrderResponseV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.Purchase.ServiceModel">
<billTo>
<Party>
<address>
<city>String</city>
<countryId>String</countryId>
<stateId>String</stateId>
<street>String</street>
<zipCode>String</zipCode>
</address>
<id>String</id>
<name>String</name>
</Party>
</billTo>
<finalShipTo>
<Party>
<address>
<city>String</city>
<countryId>String</countryId>
<stateId>String</stateId>
<street>String</street>
<zipCode>String</zipCode>
</address>
<id>String</id>
<name>String</name>
</Party>
</finalShipTo>
<results xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringSplittedSimulateOrderResponsewCvGvoJB>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value>
<billTo>
<Party>
<address>
<city>String</city>
<countryId>String</countryId>
<stateId>String</stateId>
<street>String</street>
<zipCode>String</zipCode>
</address>
<id>String</id>
<name>String</name>
</Party>
</billTo>
<finalShipTo>
<Party>
<address>
<city>String</city>
<countryId>String</countryId>
<stateId>String</stateId>
<street>String</street>
<zipCode>String</zipCode>
</address>
<id>String</id>
<name>String</name>
</Party>
</finalShipTo>
<orderItems>
<SimulateOrderItemResponseV2>
<articleCode>String</articleCode>
<buckleSummary>String</buckleSummary>
<contentSummary>String</contentSummary>
<deliveryPlantId>String</deliveryPlantId>
<expectedDeliveryDate>String</expectedDeliveryDate>
<lineNumber>0</lineNumber>
<materialSummary>String</materialSummary>
<parentLineNumber>0</parentLineNumber>
<requestLineNumber>0</requestLineNumber>
<strapSummary>String</strapSummary>
<substitutedArticleCode>String</substitutedArticleCode>
<totalValues>
<availableQuantity>
<unit>String</unit>
<value>0</value>
</availableQuantity>
<confirmedQuantity>
<unit>String</unit>
<value>0</value>
</confirmedQuantity>
<grossWeightMeasure>
<unit>String</unit>
<value>0</value>
</grossWeightMeasure>
<netAmount>
<currency>String</currency>
<value>0</value>
</netAmount>
<netPrice>
<amount>
<currency>String</currency>
<value>0</value>
</amount>
<baseQuantity>
<unit>String</unit>
<value>0</value>
</baseQuantity>
</netPrice>
<netWeightMeasure>
<unit>String</unit>
<value>0</value>
</netWeightMeasure>
<requestedQuantity>
<unit>String</unit>
<value>0</value>
</requestedQuantity>
<retailSalesPriceAmount>
<currency>String</currency>
<value>0</value>
</retailSalesPriceAmount>
<taxAmount>
<currency>String</currency>
<value>0</value>
</taxAmount>
<volumeMeasure>
<unit>String</unit>
<value>0</value>
</volumeMeasure>
</totalValues>
<warnings>
<Warning>
<id>String</id>
<message>String</message>
<severityCode>0</severityCode>
</Warning>
</warnings>
</SimulateOrderItemResponseV2>
</orderItems>
<orderType>String</orderType>
<productType>String</productType>
<salesRepresentative>
<address>
<city>String</city>
<countryId>String</countryId>
<stateId>String</stateId>
<street>String</street>
<zipCode>String</zipCode>
</address>
<id>String</id>
<name>String</name>
</salesRepresentative>
<shipTo>
<Party>
<address>
<city>String</city>
<countryId>String</countryId>
<stateId>String</stateId>
<street>String</street>
<zipCode>String</zipCode>
</address>
<id>String</id>
<name>String</name>
</Party>
</shipTo>
<soldTo>
<address>
<city>String</city>
<countryId>String</countryId>
<stateId>String</stateId>
<street>String</street>
<zipCode>String</zipCode>
</address>
<id>String</id>
<name>String</name>
</soldTo>
<totalValues>
<grossAmount>
<currency>String</currency>
<value>0</value>
</grossAmount>
<grossVolumeMeasure>
<unit>String</unit>
<value>0</value>
</grossVolumeMeasure>
<grossWeightMeasure>
<unit>String</unit>
<value>0</value>
</grossWeightMeasure>
<netAmount>
<currency>String</currency>
<value>0</value>
</netAmount>
<netWeightMeasure>
<unit>String</unit>
<value>0</value>
</netWeightMeasure>
<taxAmount>
<currency>String</currency>
<value>0</value>
</taxAmount>
</totalValues>
<warnings>
<Warning>
<id>String</id>
<message>String</message>
<severityCode>0</severityCode>
</Warning>
</warnings>
</d2p1:Value>
</d2p1:KeyValueOfstringSplittedSimulateOrderResponsewCvGvoJB>
</results>
<salesRepresentative>
<address>
<city>String</city>
<countryId>String</countryId>
<stateId>String</stateId>
<street>String</street>
<zipCode>String</zipCode>
</address>
<id>String</id>
<name>String</name>
</salesRepresentative>
<shipTo>
<Party>
<address>
<city>String</city>
<countryId>String</countryId>
<stateId>String</stateId>
<street>String</street>
<zipCode>String</zipCode>
</address>
<id>String</id>
<name>String</name>
</Party>
</shipTo>
<soldTo>
<address>
<city>String</city>
<countryId>String</countryId>
<stateId>String</stateId>
<street>String</street>
<zipCode>String</zipCode>
</address>
<id>String</id>
<name>String</name>
</soldTo>
</SimulateOrderResponseV2>