mangopay2-nodejs-sdk
Version:
Mangopay Node.js SDK
43 lines (32 loc) • 831 B
TypeScript
import { Models } from "../models";
import { address } from "./address";
export namespace billing {
interface BillingData {
Address: Models.Address | address.AddressData | string;
}
interface CompleteBillingData {
FirstName: string;
LastName: string;
Address: address.AddressData;
}
// todo: replace with CompleteBillingData
interface BillingOrShippingRecurringPayInData {
FirstName: string;
LastName: string;
Address: address.AddressData;
}
interface CreateBilling {
/**
* The name of the user
*/
FirstName: string;
/**
* The last name of the user
*/
LastName: string;
/**
* The address
*/
Address: address.CreateAddress;
}
}