REV-MS-3A Access Medium Consumption
(
)
Represents a consumption done by an access account, usually identified by a PCard number (starting 606057 or 601243). Contract: { AccessAccount: { Identity: string(19: $PCardNumber), BillingMode: string["External", "FlatRate", "PayPerUse"] }, ServiceProduct: { Country: string(2), CarPark: string(4), ServiceType: string(3) }, Source: string(20), Period: { Start: string(dateTime), End: string(dateTime) }, AmountOfMoney: { Value: number(decimal), Currency: string(3: $Currency)["EUR", "PLN", "RON"] }, TariffCode: string["Standard", "UGC"], Volume: { Units: string(10), Value: number(decimal) }, Metadata: [{ Key: string(20), Value: string(100: $Culture.Invariant) }] } For AccessMedium.Identity, please use Interparking.AccessMedium.Cards.PCardNumber: https://dev.azure.com/interparking/Interparking.Framework/_git/Interparking.AccessMedium?path=/Interparking.AccessMedium/Cards/PCardNumber.cs For AmountOfMoney.Currency, please use Interparking.Finance.Currencies.Currency: https://dev.azure.com/interparking/Interparking.Framework/_git/Interparking.Finance?path=/Interparking.Finance/Currencies/Currency.cs For Metadata.Key, the allowed keys will be limited to a whitelist that is yet to be defined. For Metadata.Value, the Invariant culture should be used to avoid parsing issues later on, such as with decimal points or decimal commas in the case of decimals. Newtonsoft JSON serialisers can be found here: https://dev.azure.com/interparking/Interparking.Framework/_git/Interparking.AccessMedium.Json and here: https://dev.azure.com/interparking/Interparking.Framework/_git/Interparking.Finance.Json Microsoft JSON serialisers don’t yet exist.
Domain
Revenue