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.
33 lines (29 loc) • 1.01 kB
text/typescript
/**
* Shell SmartPay APILib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { object, optional, Schema, string } from '../schema';
/** Object containing address details/elements */
export interface Loc {
/** The station’s full street address, including building number */
street?: string;
/** The station’s postcode */
pc?: string;
/** The city the station is located within */
city?: string;
/** The region the station is located within */
region?: string;
/** The name of the country (in English) the station is located within */
country: string;
/** The two-letter ISO 3166 country code of the country the station is located within */
ccode: string;
}
export const locSchema: Schema<Loc> = object({
street: ['street', optional(string())],
pc: ['pc', optional(string())],
city: ['city', optional(string())],
region: ['region', optional(string())],
country: ['country', string()],
ccode: ['ccode', string()],
});