game / pragma.order / FulfillmentService /
FulfillmentService #
class FulfillmentService(pragmaNode: PragmaNode, instanceId: UUID, content: FulfillmentServiceContent = FulfillmentServiceContent(), timeProxy: TimeProxy = TimeProxy(), fulfillmentSectionsBuilder: FulfillmentSectionsBuilder = FulfillmentSectionsBuilder()) : DistributedService, ConfigHandler<FulfillmentService.FulfillmentServiceConfig>
FulfillmentService is responsible for fulfilling and revoking Pragma orders by issuing the configured pragma.playerdata.PlayerDataOperation
Constructors #
FulfillmentService | internal fun FulfillmentService(pragmaNode: PragmaNode, instanceId: UUID, content: FulfillmentServiceContent = FulfillmentServiceContent(), timeProxy: TimeProxy = TimeProxy(), fulfillmentSectionsBuilder: FulfillmentSectionsBuilder = FulfillmentSectionsBuilder()) |
Functions #
Name | Summary |
---|---|
Fulfills Pragma orders. Triggers the pragma.order.OrderService to sync orders for the given pragmaPlayerId and providers. References the FulfillmentMappingSpecs.json content file to issue the correct pragma.playerdata.PlayerDataOperation. Returns a list of pragma.order.Fulfillment objects representing successfully fulfilled Pragma orders for this game shard. | |
Returns a list of pragma.order.FulfillmentHistoryRecord objects associated with the given pragmaPlayerId and orderId. | |
Provides a list of pragma.datarights.PersonalDataReportSection objects for use in the pragma.datarights.DataRightsService. | |
Returns a list of pragma.order.Fulfillment objects associated with the given pragmaPlayerId. | |
Returns a list of pragma.order.Fulfillment objects associated with the given pragmaPlayerId. | |
Returns a list of pragma.order.Fulfillment objects associated with the given pragmaPlayerId. | |
Returns the fulfillment and revocation operations for the given sku id from FulfillmentMappingSpecs.json as json serialized strings. |