@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
26 lines (25 loc) • 1.52 kB
TypeScript
import { ApplePayDonations } from "./applePayDonations";
import { CardDonations } from "./cardDonations";
import { GooglePayDonations } from "./googlePayDonations";
import { IdealDonations } from "./idealDonations";
import { PayWithGoogleDonations } from "./payWithGoogleDonations";
/**
* The type and required details of a payment method to use. When `donationToken` is provided, the payment method is derived from the token and this field becomes optional. If you are [PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide), and make donations using raw card details, you must explicitly provide the payment method details.
*/
/**
* @type DonationPaymentRequestPaymentMethod
* Type
* @export
*/
export type DonationPaymentRequestPaymentMethod = ApplePayDonations | CardDonations | GooglePayDonations | IdealDonations | PayWithGoogleDonations;
/**
* @type DonationPaymentRequestPaymentMethodClass
* The type and required details of a payment method to use. When `donationToken` is provided, the payment method is derived from the token and this field becomes optional. If you are [PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide), and make donations using raw card details, you must explicitly provide the payment method details.
* @export
*/
export declare class DonationPaymentRequestPaymentMethodClass {
static readonly discriminator: string;
static readonly mapping: {
[index: string]: string;
} | undefined;
}