@paciolan/cybersource-sdk
Version:
CyberSource REST API Typescript SDK
55 lines (54 loc) • 1.88 kB
TypeScript
/**
* CyberSource Merged Spec
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
* Contains all of the invoice-specific fields, such as the invoice number and due date.
* @export
* @interface Invoicingv2invoicesInvoiceInformation
*/
export interface Invoicingv2invoicesInvoiceInformation {
/**
* Invoice Number.
* @type {string}
* @memberof Invoicingv2invoicesInvoiceInformation
*/
invoiceNumber?: string;
/**
* The description included in the invoice.
* @type {string}
* @memberof Invoicingv2invoicesInvoiceInformation
*/
description?: string;
/**
* The invoice due date. This field is required for creating an invoice. Format: `YYYY-MM-DD`, where `YYYY` = year, `MM` = month, and `DD` = day
* @type {string}
* @memberof Invoicingv2invoicesInvoiceInformation
*/
dueDate?: string;
/**
* If set to `true`, we send the invoice immediately. If set to `false`, the invoice remains in draft mode.
* @type {boolean}
* @memberof Invoicingv2invoicesInvoiceInformation
*/
sendImmediately?: boolean;
/**
* If set to `true`, the payer can make a partial invoice payment.
* @type {boolean}
* @memberof Invoicingv2invoicesInvoiceInformation
*/
allowPartialPayments?: boolean;
/**
* If set to `None`, the invoice is created, and its status is set to 'CREATED', but no email is sent. Possible values: - `None` - `Email`
* @type {string}
* @memberof Invoicingv2invoicesInvoiceInformation
*/
deliveryMode?: string;
}