game / pragma.inventory / InventoryService / initializeOrderV1 /
initializeOrderV1 #
suspend fun initializeOrderV1(
session: PlayerSession,
request: InventoryRpc.InitializeOrderV1Request
): InventoryRpc.InitializeOrderV1Response
Initialize an order for a product entry by its identifier with a given provider.
Internally calls PaymentService InitializeOrderPartnerV1 on behalf of the player. Will rethrow errors thrown by this Game node’s configured Social PaymentService.
PragmaResultErrors
- Rethrows errors from PaymentService InitializeOrderPartnerV1Response.