/** * Selling Partner API for Retail Procurement Payments * The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data. * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ import { Money } from './Money.js'; import { PartyIdentification } from './PartyIdentification.js'; /** * The Invoice model module. * @module vendorinvoices_v1/model/Invoice * @version v1 */ export declare class Invoice { invoiceType: string; id: string; date: Date; remitToParty: PartyIdentification; invoiceTotal: Money; /** * Constructs a new Invoice. * Represents an invoice or credit note document with details about the transaction, parties involved, and line items. * @alias module:vendorinvoices_v1/model/Invoice * @class * @param invoiceType {String} Identifies the type of invoice. * @param id {String} Unique number relating to the charges defined in this document. This will be invoice number if the document type is Invoice or CreditNote number if the document type is Credit Note. Failure to provide this reference will result in a rejection. * @param date {Date} Defines a date and time according to ISO8601. * @param remitToParty {PartyIdentification} * @param invoiceTotal {Money} */ constructor(invoiceType: string, id: string, date: Date, remitToParty: PartyIdentification, invoiceTotal: Money); /** * Constructs a Invoice from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {Invoice} obj Optional instance to populate. * @return {Invoice} The populated Invoice instance. */ static constructFromObject(data: Object, obj: Invoice): Invoice; } export declare namespace Invoice { var InvoiceTypeEnum: { /** * value: "Invoice" * @const */ Invoice: string; /** * value: "CreditNote" * @const */ CreditNote: string; }; } //# sourceMappingURL=Invoice.d.ts.map