@paytrail/paytrail-js-sdk
Version:
The goal for this project is to develop a Javascript SDK for the Paytrail payment service. The aim is to provide JS developers with an easier and more streamlined way to integrate our API into their applications.
44 lines (43 loc) • 1.12 kB
TypeScript
import { Response } from './response-model';
import { ApplePay } from './response-model/apple-pay.model';
import { PaymentMethodGroupData } from './response-model/payment-method-group-data.model';
import { Provider } from './response-model/provider.model';
/**
* Class CreatePaymentResponse
*/
export declare class CreatePaymentResponse extends Response {
/**
* Data response.
*/
data?: CreatePaymentData;
}
export declare class CreatePaymentData {
/**
* Assigned transaction ID for the payment.
*/
transactionId: string;
/**
* URL to hosted payment gateway.
*/
href: string;
/**
* Localized text with a link to the terms of payment.
*/
terms: string;
/**
* Array of payment method group data with localized names and URLs to icons.
*/
groups: PaymentMethodGroupData[];
/**
* The bank reference used for the payments.
*/
reference: string;
/**
* Array of providers.
*/
providers: Provider[];
/**
* Providers which require custom implementation.
*/
customProviders: ApplePay;
}