pnz-apicentre-sandbox-sdk
Version:
The sandbox, powered by Middleware New Zealand, is a dedicated environment that mimics an API Provider, as defined in the [Payments NZ API Centre standards](https://paymentsnz.atlassian.net/wiki/spaces/PaymentsNZAPIStandards/overview). This SDK is generat
37 lines (33 loc) • 1.24 kB
text/typescript
/**
* Account information PNZ-API-CentreLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { lazy, object, Schema, string } from '../schema';
import {
DeliveryAddress48,
deliveryAddress48Schema,
} from './deliveryAddress48';
import { GeoLocation, geoLocationSchema } from './geoLocation';
export interface Risk48 {
geoLocation: GeoLocation;
merchantCategoryCode: string;
endUserAppVersion: string;
deliveryAddress: DeliveryAddress48;
merchantCustomerIdentification: string;
merchantName: string;
endUserAppName: string;
merchantNZBN: string;
paymentContextCode: string;
}
export const risk48Schema: Schema<Risk48> = object({
geoLocation: ['GeoLocation', lazy(() => geoLocationSchema)],
merchantCategoryCode: ['MerchantCategoryCode', string()],
endUserAppVersion: ['EndUserAppVersion', string()],
deliveryAddress: ['DeliveryAddress', lazy(() => deliveryAddress48Schema)],
merchantCustomerIdentification: ['MerchantCustomerIdentification', string()],
merchantName: ['MerchantName', string()],
endUserAppName: ['EndUserAppName', string()],
merchantNZBN: ['MerchantNZBN', string()],
paymentContextCode: ['PaymentContextCode', string()],
});