wallee
Version:
TypeScript/JavaScript client for wallee
77 lines (76 loc) • 2.73 kB
TypeScript
import type { OneClickPaymentMode } from './OneClickPaymentMode';
import type { CreationEntityState } from './CreationEntityState';
import type { DataCollectionType } from './DataCollectionType';
/**
*
* @export
* @interface PaymentMethodConfigurationCreate
*/
export interface PaymentMethodConfigurationCreate {
/**
* The resource path to a custom image for the payment method, displayed to the customer for visual identification.
* @type {string}
* @memberof PaymentMethodConfigurationCreate
*/
imageResourcePath?: string;
/**
* When listing payment methods, they can be sorted by this number.
* @type {number}
* @memberof PaymentMethodConfigurationCreate
*/
sortOrder?: number;
/**
* The name used to identify the payment method configuration.
* @type {string}
* @memberof PaymentMethodConfigurationCreate
*/
name?: string;
/**
* A customer-facing custom description for the payment method.
* @type {{ [key: string]: string; }}
* @memberof PaymentMethodConfigurationCreate
*/
description?: {
[key: string]: string;
};
/**
*
* @type {OneClickPaymentMode}
* @memberof PaymentMethodConfigurationCreate
*/
oneClickPaymentMode?: OneClickPaymentMode;
/**
* A customer-facing custom title for the payment method.
* @type {{ [key: string]: string; }}
* @memberof PaymentMethodConfigurationCreate
*/
title?: {
[key: string]: string;
};
/**
*
* @type {DataCollectionType}
* @memberof PaymentMethodConfigurationCreate
*/
dataCollectionType: DataCollectionType;
/**
* The payment method that the configuration is for.
* @type {number}
* @memberof PaymentMethodConfigurationCreate
*/
paymentMethod: number;
/**
*
* @type {CreationEntityState}
* @memberof PaymentMethodConfigurationCreate
*/
state: CreationEntityState;
}
/**
* Check if a given object implements the PaymentMethodConfigurationCreate interface.
*/
export declare function instanceOfPaymentMethodConfigurationCreate(value: object): value is PaymentMethodConfigurationCreate;
export declare function PaymentMethodConfigurationCreateFromJSON(json: any): PaymentMethodConfigurationCreate;
export declare function PaymentMethodConfigurationCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethodConfigurationCreate;
export declare function PaymentMethodConfigurationCreateToJSON(json: any): PaymentMethodConfigurationCreate;
export declare function PaymentMethodConfigurationCreateToJSONTyped(value?: PaymentMethodConfigurationCreate | null, ignoreDiscriminator?: boolean): any;