game / pragma.inventory / InventoryService / finalizeOrderV1 /

finalizeOrderV1 #

suspend fun finalizeOrderV1(session: PlayerSession, request: InventoryRpc.FinalizeOrderV1Request): InventoryRpc.FinalizeOrderV1Response

Finalizes an in-progress order that was previously started using the InitializeOrderV1Request.

Internally calls PaymentService FinalizeOrderPartnerV1 on behalf of the player. Will rethrow errors thrown by this Game node’s configured Social PaymentService.

PragmaResultErrors

  • PragmaError.InventoryService_ContentNotFound
  • Rethrows errors returned from PaymentService FinalizeOrderPartnerV1Response.