transbank-sdk
Version:
Transbank SDK for Node.js
20 lines (19 loc) • 763 B
TypeScript
/** Class used to represent "child" transactions in Transacción Completa when
* commiting the "parent" transaction
*/
declare class CommitDetail {
commerceCode: string;
buyOrder: string;
idQueryInstallments: number | undefined;
deferredPeriodIndex: number | undefined;
gracePeriod: boolean | undefined;
constructor(commerceCode: string, buyOrder: string, idQueryInstallments: number | undefined, deferredPeriodIndex: number | undefined, gracePeriod: boolean | undefined);
toPlainObject(): {
commerce_code: string;
buy_order: string;
id_query_installments: number | undefined;
deferred_period_index: number | undefined;
grace_period: boolean | undefined;
};
}
export default CommitDetail;