wallee
Version:
TypeScript/JavaScript client for wallee
72 lines (71 loc) • 2.74 kB
TypeScript
import type { PaymentProcessor } from './PaymentProcessor';
import type { CreationEntityState } from './CreationEntityState';
/**
*
* @export
* @interface PaymentProcessorConfiguration
*/
export interface PaymentProcessorConfiguration {
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof PaymentProcessorConfiguration
*/
readonly linkedSpaceId?: number;
/**
* Whether the processor configuration is managed by the application and therefore cannot be changed.
* @type {boolean}
* @memberof PaymentProcessorConfiguration
*/
readonly applicationManaged?: boolean;
/**
* The ID of the payment contract the processor configuration is linked to.
* @type {number}
* @memberof PaymentProcessorConfiguration
*/
readonly contractId?: number;
/**
* The name used to identify the payment method configuration.
* @type {string}
* @memberof PaymentProcessorConfiguration
*/
readonly name?: string;
/**
* The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed.
* @type {Date}
* @memberof PaymentProcessorConfiguration
*/
readonly plannedPurgeDate?: Date;
/**
* A unique identifier for the object.
* @type {number}
* @memberof PaymentProcessorConfiguration
*/
readonly id?: number;
/**
*
* @type {CreationEntityState}
* @memberof PaymentProcessorConfiguration
*/
state?: CreationEntityState;
/**
*
* @type {PaymentProcessor}
* @memberof PaymentProcessorConfiguration
*/
processor?: PaymentProcessor;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof PaymentProcessorConfiguration
*/
readonly version?: number;
}
/**
* Check if a given object implements the PaymentProcessorConfiguration interface.
*/
export declare function instanceOfPaymentProcessorConfiguration(value: object): value is PaymentProcessorConfiguration;
export declare function PaymentProcessorConfigurationFromJSON(json: any): PaymentProcessorConfiguration;
export declare function PaymentProcessorConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentProcessorConfiguration;
export declare function PaymentProcessorConfigurationToJSON(json: any): PaymentProcessorConfiguration;
export declare function PaymentProcessorConfigurationToJSONTyped(value?: Omit<PaymentProcessorConfiguration, 'linkedSpaceId' | 'applicationManaged' | 'contractId' | 'name' | 'plannedPurgeDate' | 'id' | 'version'> | null, ignoreDiscriminator?: boolean): any;