/* Options: Date: 2026-08-27 07:12:06 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: TransferStockBulk.* //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="/stock/{brand}/transferBulk", Verbs="POST") open class TransferStockBulk : IReturn { /** * Brand Trigram */ @ApiMember(Description="Brand Trigram", IsRequired=true) open var brand:String? = null /** * POS of the stock origin */ @ApiMember(Description="POS of the stock origin", IsRequired=true) open var posCodeOrigin:String? = null /** * POS of the stock destination */ @ApiMember(Description="POS of the stock destination", IsRequired=true) open var posCodeDestination:String? = null /** * Items to be transferred */ @ApiMember(Description="Items to be transferred", IsRequired=true) open var items:ArrayList = ArrayList() companion object { private val responseType = TransferStockBulkResponse::class.java } override fun getResponseType(): Any? = TransferStockBulk.responseType } open class TransferStockBulkResponse { /** * Response of items */ @ApiMember(Description="Response of items", IsRequired=true) open var items:ArrayList = ArrayList() } open class Item { /** * Article Code of the item to be transferred */ @ApiMember(Description="Article Code of the item to be transferred", IsRequired=true) open var articleCode:String? = null /** * Quantity of the the item to be transferred */ @ApiMember(Description="Quantity of the the item to be transferred", IsRequired=true) open var quantity:Int? = null /** * Serial Numbers of the item to be transferred */ @ApiMember(Description="Serial Numbers of the item to be transferred") open var serialNumbers:ArrayList? = null } open class ItemResponse { /** * Article Code of the item response */ @ApiMember(Description="Article Code of the item response", IsRequired=true) open var articleCode:String? = null /** * Status of Stock Transfer: 1 means done, 2 means might take a while because consignment transfers need to be approved by SAP */ @ApiMember(Description="Status of Stock Transfer: 1 means done, 2 means might take a while because consignment transfers need to be approved by SAP", IsRequired=true) open var stockTransferStatusId:Int? = null /** * Errors of items */ @ApiMember(Description="Errors of items", IsRequired=true) open var errors:ArrayList> = ArrayList>() }