UNPKG

@buckaroo/buckaroo_sdk

Version:
22 lines (21 loc) 777 B
import { IArticle, IPaymentRequest, Person, ServiceParameter } from '../../../Models'; import { IKlarnaArticle } from './Article'; import { IShippingInfo } from './ShippingInfo'; export interface IPay extends IPaymentRequest { dataRequestKey?: string; articles?: Partial<IKlarnaArticle>[]; shippingInfo?: IShippingInfo; } export declare class Pay extends ServiceParameter { set dataRequestKey(value: string); set articles(articles: IArticle[]); set shippingInfo(shippingInfo: IShippingInfo); protected getGroups(): { [key: Capitalize<string>]: Capitalize<string>; }; protected getCountable(): Capitalize<string>[]; } export declare class Customer extends Person { set firstName(email: string); set lastName(email: string); }