bloombox / bloombox.client.services.shop / ShopClient / submitOrder

submitOrder

fun submitOrder(order: Order, callback: SubmitOrderCallback?, err: ShopErrorCallback?, context: ShopContext = ShopContext.defaultContext()): ListenableFuture<Response> (source)

Submit a commercial order, asynchronously, to a particular digital storefront via the shop service (identified by a partner and location code pair). The ordering customer must be a valid member of the storefront at the specified partner and location code pair, in addition to being a valid and active user account at all (i.e. active and valid identification, medical recommendation if applicable, and good account standing). Items in the order are specified as product keys with an associated desired count.

fun submitOrder(order: Order, context: ShopContext = ShopContext.defaultContext()): Response (source)

Submit a commercial order, synchronously, to a particular digital storefront via the shop service (identified by a partner and location code pair). The ordering customer must be a valid member of the storefront at the specified partner and location code pair, in addition to being a valid and active user account at all (i.e. active and valid identification, medical recommendation if applicable, and good account standing). Items in the order are specified as product keys with an associated desired count.