wallee
Version:
TypeScript/JavaScript client for wallee
54 lines (53 loc) • 2.5 kB
TypeScript
import type { Condition } from './Condition';
import type { SalesChannel } from './SalesChannel';
/**
*
* @export
* @interface PaymentConnectorConfigurationUpdate
*/
export interface PaymentConnectorConfigurationUpdate {
/**
* The name used to identify the connector configuration.
* @type {string}
* @memberof PaymentConnectorConfigurationUpdate
*/
name?: string;
/**
* The space views for which the connector configuration is enabled. If empty, it is enabled for all space views.
* @type {Set<number>}
* @memberof PaymentConnectorConfigurationUpdate
*/
enabledSpaceViews?: Set<number>;
/**
* Conditions allow to define criteria that a transaction must fulfill in order for the connector configuration to be considered for processing the payment.
* @type {Array<Condition>}
* @memberof PaymentConnectorConfigurationUpdate
*/
conditions?: Array<Condition>;
/**
* The priority that determines the order in which connector configurations are taken into account when processing a payment. Low values are considered first.
* @type {number}
* @memberof PaymentConnectorConfigurationUpdate
*/
priority?: number;
/**
* The sales channels for which the connector configuration is enabled. If empty, it is enabled for all sales channels.
* @type {Set<SalesChannel>}
* @memberof PaymentConnectorConfigurationUpdate
*/
enabledSalesChannels?: Set<SalesChannel>;
/**
* The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
* @type {number}
* @memberof PaymentConnectorConfigurationUpdate
*/
version: number;
}
/**
* Check if a given object implements the PaymentConnectorConfigurationUpdate interface.
*/
export declare function instanceOfPaymentConnectorConfigurationUpdate(value: object): value is PaymentConnectorConfigurationUpdate;
export declare function PaymentConnectorConfigurationUpdateFromJSON(json: any): PaymentConnectorConfigurationUpdate;
export declare function PaymentConnectorConfigurationUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentConnectorConfigurationUpdate;
export declare function PaymentConnectorConfigurationUpdateToJSON(json: any): PaymentConnectorConfigurationUpdate;
export declare function PaymentConnectorConfigurationUpdateToJSONTyped(value?: PaymentConnectorConfigurationUpdate | null, ignoreDiscriminator?: boolean): any;