@buckaroo/buckaroo_sdk
Version:
Buckaroo payment SDK
29 lines (28 loc) • 992 B
TypeScript
import { IAfterPayArticle } from './Article';
import { ICustomer, IPaymentRequest, ServiceParameter } from '../../../Models';
export interface IPay extends IPaymentRequest {
clientIP: string;
billing: ICustomer;
shipping?: ICustomer;
articles: IAfterPayArticle[];
bankAccount?: string;
bankCode?: string;
merchantImageUrl?: string;
summaryImageUrl?: string;
yourReference?: string;
ourReference?: string;
}
export declare class Pay extends ServiceParameter {
set shipping(shipping: ICustomer);
set billing(billing: ICustomer);
set articles(articles: IAfterPayArticle[]);
set bankAccount(bankAccount: string);
set bankCode(bankCode: string);
set merchantImageUrl(merchantImageUrl: string);
set summaryImageUrl(summaryImageUrl: string);
set ourReference(ourReference: string);
protected getGroups(): {
[key: Capitalize<string>]: Capitalize<string>;
};
protected getCountable(): Capitalize<string>[];
}