@rebilly/framepay-react
Version:
A React wrapper for Rebilly's FramePay offering out-of-the-box support for Redux and other common React features
65 lines (53 loc) • 1.99 kB
TypeScript
export interface FramePayComponentProps {
// Framepay Api
readonly Framepay: FramepayProps;
// Card Components
readonly CardCvvElement: React.ElementType;
readonly CardElement: React.ElementType;
readonly CardExpiryElement: React.ElementType;
readonly CardNumberElement: React.ElementType;
// Bank Components
readonly BankAccountNumberElement: React.ElementType;
readonly BankAccountTypeElement: React.ElementType;
readonly BankRoutingNumberElement: React.ElementType;
// IBAN components
readonly IBANElement: React.ElementType;
// Express method components
readonly ApplePayElement: React.ElementType;
readonly SamsungPayElement: React.ElementType;
readonly GooglePayElement: React.ElementType;
readonly PaypalElement: React.ElementType;
}
export interface FramePayCardProps {
readonly Framepay: FramepayProps;
readonly CardCvvElement: React.ElementType;
readonly CardElement: React.ElementType;
readonly CardExpiryElement: React.ElementType;
readonly CardNumberElement: React.ElementType;
}
export interface FramePayBankProps {
readonly Framepay: FramepayProps;
readonly BankAccountNumberElement: React.ElementType;
readonly BankAccountTypeElement: React.ElementType;
readonly BankRoutingNumberElement: React.ElementType;
}
export interface FramePayIBANProps {
readonly Framepay: FramepayProps;
readonly IBANElement: React.ElementType;
}
export interface FramePayApplePayProps {
readonly Framepay: FramepayProps;
readonly ApplePayElement: React.ElementType;
}
export interface FramePaySamsungPayProps {
readonly Framepay: FramepayProps;
readonly SamsungPayElement: React.ElementType;
}
export interface FramePayGooglePayProps {
readonly Framepay: FramepayProps;
readonly GooglePayElement: React.ElementType;
}
export interface FramePayPaypalProps {
readonly Framepay: FramepayProps;
readonly PaypalElement: React.ElementType;
}