@getopenpay/client
Version:
OpenPay API TypeScript SDK
34 lines (33 loc) • 1.43 kB
TypeScript
/**
* OpenPay API
* super charge your subscription management.
*
* The version of the OpenAPI document: 1.2.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Not to be confused with PaymentProcessor, this type is used in PaymentMethod
* which are methods that are visible to customer (i.e. customer has an option to
* pay with these different providers).
* @export
*/
export declare const PaymentProviderType: {
readonly AbstractBase: "_abstract_base";
readonly Ach: "ach";
readonly ApplePay: "apple_pay";
readonly CreditCard: "credit_card";
readonly GooglePay: "google_pay";
readonly StripeLink: "stripe_link";
readonly Paypal: "paypal";
readonly Crypto: "crypto";
};
export type PaymentProviderType = typeof PaymentProviderType[keyof typeof PaymentProviderType];
export declare function instanceOfPaymentProviderType(value: any): boolean;
export declare function PaymentProviderTypeFromJSON(json: any): PaymentProviderType;
export declare function PaymentProviderTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentProviderType;
export declare function PaymentProviderTypeToJSON(value?: PaymentProviderType | null): any;
export declare function PaymentProviderTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): PaymentProviderType;