wallee
Version:
TypeScript/JavaScript client for wallee
65 lines (64 loc) • 2.14 kB
TypeScript
import type { DataCollectionType } from './DataCollectionType';
/**
*
* @export
* @interface PaymentMethod
*/
export interface PaymentMethod {
/**
* The currencies that the payment method supports.
* @type {Set<string>}
* @memberof PaymentMethod
*/
readonly supportedCurrencies?: Set<string>;
/**
* The data collection types that payment method supports.
* @type {Set<DataCollectionType>}
* @memberof PaymentMethod
*/
readonly dataCollectionTypes?: Set<DataCollectionType>;
/**
* The path to the payment method's image.
* @type {string}
* @memberof PaymentMethod
*/
readonly imagePath?: string;
/**
* The localized name of the object.
* @type {{ [key: string]: string; }}
* @memberof PaymentMethod
*/
readonly name?: {
[key: string]: string;
};
/**
* The localized description of the object.
* @type {{ [key: string]: string; }}
* @memberof PaymentMethod
*/
readonly description?: {
[key: string]: string;
};
/**
* A merchant-focused, localized description of the payment method, providing its purpose and details.
* @type {{ [key: string]: string; }}
* @memberof PaymentMethod
*/
readonly merchantDescription?: {
[key: string]: string;
};
/**
* A unique identifier for the object.
* @type {number}
* @memberof PaymentMethod
*/
readonly id?: number;
}
/**
* Check if a given object implements the PaymentMethod interface.
*/
export declare function instanceOfPaymentMethod(value: object): value is PaymentMethod;
export declare function PaymentMethodFromJSON(json: any): PaymentMethod;
export declare function PaymentMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethod;
export declare function PaymentMethodToJSON(json: any): PaymentMethod;
export declare function PaymentMethodToJSONTyped(value?: Omit<PaymentMethod, 'supportedCurrencies' | 'dataCollectionTypes' | 'imagePath' | 'name' | 'description' | 'merchantDescription' | 'id'> | null, ignoreDiscriminator?: boolean): any;