ordercloud-javascript-sdk
Version:
The offical Javascript SDK for the Ordercloud ecommerce API
17 lines (16 loc) • 543 B
TypeScript
import { PaymentType } from './PaymentType';
import { PaymentTransaction } from './PaymentTransaction';
export interface Payment<TPaymentXp = any, TTransactionsXp = any> {
ID?: string;
Type: PaymentType;
readonly DateCreated?: string;
CreditCardID?: string;
SpendingAccountID?: string;
Description?: string;
readonly Currency?: string;
Amount?: number;
Accepted?: boolean;
OrderReturnID?: string;
xp?: TPaymentXp;
readonly Transactions?: PaymentTransaction<TTransactionsXp>[];
}