/* Options: Date: 2026-08-27 07:05:40 Version: 10.08 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateOrderV2.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/purchase/v2", Verbs="POST") open class CreateOrderV2 { /** * Purchase order ID, total length-max with x-booster-App header: 99 */ @ApiMember(Description="Purchase order ID, total length-max with x-booster-App header: 99", IsRequired=true) open var orderId: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 /** * 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 /** * Additional Notes regarding the Order */ @ApiMember(Description="Additional Notes regarding the Order") open var notes:String? = null /** * Customer Reference */ @ApiMember(Description="Customer Reference") open var customerReference:String? = null /** * Customer Reference for Consignment Order */ @ApiMember(Description="Customer Reference for Consignment Order") open var customerReferenceConsignment: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 /** * Details of the end Customer */ @ApiMember(Description="Details of the end Customer") open var splittedOrders:ArrayList? = null /** * 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 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 SplittedOrder { /** * Ship To Pos Code */ @ApiMember(Description="Ship To Pos Code", IsRequired=true) open var shipToId:String? = null /** * Final Ship To Pos Code */ @ApiMember(Description="Final Ship To Pos Code") open var finalShipToId:String? = null /** * Bill To Pos Code */ @ApiMember(Description="Bill To Pos Code", IsRequired=true) open var billToId:String? = null /** * Sold To Pos Code */ @ApiMember(Description="Sold To Pos Code", IsRequired=true) open var soldToId:String? = null /** * Sales Representative Code */ @ApiMember(Description="Sales Representative Code") open var salesRepresentativeId:String? = null /** * List of Articles to be created */ @ApiMember(Description="List of Articles to be created", IsRequired=true) open var orderItems:ArrayList = ArrayList() } 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 CreateOrderItemRequestV2 { /** * 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 /** * Strap definition */ @ApiMember(Description="Strap definition") open var strap:StrapItem? = 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 /** * DeliveryPlantId of item, e.g.: CHD6 */ @ApiMember(Description="DeliveryPlantId of item, e.g.: CHD6") open var deliveryPlantId:String? = null /** * Reason Code */ @ApiMember(Description="Reason Code", IsRequired=true) open var reasonCode:String? = null /** * Order Delivery Priority, e.g.: 10, 20, 30, 40, 50 */ @ApiMember(Description="Order Delivery Priority, e.g.: 10, 20, 30, 40, 50") open var orderDeliveryPriority:Int? = null /** * Buckle Summary, can be get from order simulation */ @ApiMember(Description="Buckle Summary, can be get from order simulation") open var buckleSummary:String? = null /** * Material Summary, can be get from order simulation */ @ApiMember(Description="Material Summary, can be get from order simulation") open var materialSummary:String? = null /** * Content Summary, can be get from order simulation */ @ApiMember(Description="Content Summary, can be get from order simulation") open var contentSummary:String? = null /** * Strap Summary, can be get from order simulation */ @ApiMember(Description="Strap Summary, can be get from order simulation") open var strapSummary:String? = null }