amazon-pay-async
Version:
API wrapper for Amazon Pay using promises and defining types
25 lines (24 loc) • 950 B
TypeScript
import { IBillingAgreementLimits } from './billing.agreement.limits.type';
import { IBillingAgreementStatus } from './billing.agreement.status.type';
import { IBuyer } from './buyer.type';
import { IConstraint } from './constraints.type';
import { IDestination } from './destination.type';
import { ISellerBillingAgreementAttributes } from './seller.billing.agreement.attributes.type';
export interface IBillingAgreementDetails {
AmazonBillingAgreementId: string;
BillingAgreementLimits: IBillingAgreementLimits;
Buyer: IBuyer;
SellerNote: string;
PlatformId: string;
Destination: IDestination;
ReleaseEnvironment: string;
SellerBillingAgreementAttributes: ISellerBillingAgreementAttributes;
BillingAgreementStatus: IBillingAgreementStatus;
Constraints: {
Constraint: IConstraint;
} | {
Constraint: IConstraint[];
};
CreationTimestamp: Date;
BillingAgreementConsent: boolean;
}