import type { LineItemCreate } from './LineItemCreate'; import type { PaymentLinkAddressHandlingMode } from './PaymentLinkAddressHandlingMode'; import type { PaymentMethodConfiguration } from './PaymentMethodConfiguration'; /** * * @export * @interface PaymentLinkUpdate */ export interface PaymentLinkUpdate { /** * * @type {PaymentLinkAddressHandlingMode} * @memberof PaymentLinkUpdate */ shippingAddressHandlingMode?: PaymentLinkAddressHandlingMode; /** * The domains to which the user is allowed to be redirected after the payment is completed. * The following options can be configured: * Exact domain: enter a full domain, e.g. (https://example.com). * Wildcard domain: use to allow subdomains, e.g. (https://*.example.com). * All domains: use (ALL) to allow redirection to any domain (not recommended for security reasons). * No domains : use (NONE) to disallow any redirection. * Only one option per line is allowed. Invalid entries will be rejected. * * @type {Set} * @memberof PaymentLinkUpdate */ allowedRedirectionDomains?: Set; /** * The language for displaying the payment page. If not specified, it can be supplied via the 'language' request parameter. * @type {string} * @memberof PaymentLinkUpdate */ language?: string; /** * The version number indicates the version of the entity. The version is incremented whenever the entity is changed. * @type {number} * @memberof PaymentLinkUpdate */ version: number; /** * The earliest date the payment link can be used to initiate a transaction. If no date is provided, the link will be available immediately. * @type {Date} * @memberof PaymentLinkUpdate */ availableFrom?: Date; /** * The line items representing what is being sold. If not specified, they can be supplied via request parameters. * @type {Array} * @memberof PaymentLinkUpdate */ lineItems?: Array; /** * The latest date the payment link can be used to initiate a transaction. If no date is provided, the link will remain available indefinitely. * @type {Date} * @memberof PaymentLinkUpdate */ availableUntil?: Date; /** * The name used to identify the payment link. * @type {string} * @memberof PaymentLinkUpdate */ name?: string; /** * The three-letter currency code (ISO 4217). If not specified, it must be provided in the 'currency' request parameter. * @type {string} * @memberof PaymentLinkUpdate */ currency?: string; /** * The maximum number of transactions that can be initiated using the payment link. * @type {number} * @memberof PaymentLinkUpdate */ maximalNumberOfTransactions?: number; /** * The payment method configurations that customers can use for making payments. * @type {Set} * @memberof PaymentLinkUpdate */ allowedPaymentMethodConfigurations?: Set; /** * The payment link can be used within a specific space view, which may apply a customized design to the payment page. * @type {number} * @memberof PaymentLinkUpdate */ appliedSpaceView?: number; /** * * @type {PaymentLinkAddressHandlingMode} * @memberof PaymentLinkUpdate */ billingAddressHandlingMode?: PaymentLinkAddressHandlingMode; } /** * Check if a given object implements the PaymentLinkUpdate interface. */ export declare function instanceOfPaymentLinkUpdate(value: object): value is PaymentLinkUpdate; export declare function PaymentLinkUpdateFromJSON(json: any): PaymentLinkUpdate; export declare function PaymentLinkUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentLinkUpdate; export declare function PaymentLinkUpdateToJSON(json: any): PaymentLinkUpdate; export declare function PaymentLinkUpdateToJSONTyped(value?: PaymentLinkUpdate | null, ignoreDiscriminator?: boolean): any;