digital-payments-sdk
Version:
The APIs detailed within this SDK will enable Shell's Fleet Solutions Customers to digitalize Shell Card/s and use them to pay to refuel their vehicles at Shell Stations.
24 lines • 1.11 kB
JavaScript
/**
* Shell SmartPay APILib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { array, bigint, lazy, number, object, optional, string, } from '../schema';
import { paymentSchema } from './payment';
import { productSchema } from './product';
export const finaliseFuelingRequestSchema = object({
siteName: ['siteName', optional(string())],
timestamp: ['timestamp', optional(bigint())],
volumeQuantity: ['volumeQuantity', optional(number())],
volumeUnit: ['volumeUnit', optional(string())],
finalPrice: ['finalPrice', optional(number())],
currency: ['currency', optional(string())],
status: ['status', optional(string())],
siteAddress: ['siteAddress', optional(string())],
originalPrice: ['originalPrice', optional(number())],
discount: ['discount', optional(number())],
payment: ['payment', optional(lazy(() => paymentSchema))],
products: ['products', optional(array(lazy(() => productSchema)))],
mppTransactionId: ['mppTransactionId', optional(string())],
});
//# sourceMappingURL=finaliseFuelingRequest.js.map