@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
24 lines • 967 B
TypeScript
import { CallbackUrl } from './CallbackUrl';
import { CreationSubTypeEnum } from '../CreationSubTypeEnum';
/** Payment method creation payload */
export interface Creation {
/** Associated billing contact ID */
billingContactId?: number;
/** Callback URL's necessary to register */
callbackUrl: CallbackUrl;
/** Indicates if this payment method will be set as the default one */
default: boolean;
/** Personalized description */
description?: string;
/** Additional payment information */
formData?: string;
/** Order ID to pay it if it's possible (in oneshot transaction or while registration) */
orderId?: number;
/** Payment sub-type */
paymentSubType?: CreationSubTypeEnum;
/** Payment type */
paymentType: string;
/** Register this payment method if it's possible (default value is false and will proceed a oneshot transaction) */
register: boolean;
}
//# sourceMappingURL=Creation.d.ts.map