public function getCheckout( AccessTokenStruct
$token,
OrderRequest
$context ) { $data =
[ 'origin' =>
['name' => 'Shopware Backend'
],
'shopwareId' =>
$token->
getShopwareId(),
'positions' =>
[ [ 'licenseShopDomain' =>
$context->
getLicenceShop(),
'bookingShopDomain' =>
$context->
getBookingShop(),
'orderNumber' =>
$context->
getOrderNumber(),
'isArticle' => true,
'priceModel' =>
[ 'price' =>
$context->
getPrice(),
'type' =>
$context->
getPriceType(),
],
],
],
];