@getopenpay/client
Version:
OpenPay API TypeScript SDK
54 lines (53 loc) • 2.36 kB
TypeScript
/**
* OpenPay API
* super charge your subscription management.
*
* The version of the OpenAPI document: 1.2.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { CheckoutProcessorsPreferences } from './CheckoutProcessorsPreferences';
import type { FallbackConfigurationOutput } from './FallbackConfigurationOutput';
import type { SelectedPriceQuantity } from './SelectedPriceQuantity';
/**
*
* @export
* @interface CheckoutPreferencesOutput
*/
export interface CheckoutPreferencesOutput {
/**
* This object contains a list of price groups that will be used to fall back to if the selected product price quantity fails to be created. Processor preferences here will override the processor preferences in the processor_preferences field.
* @type {Array<FallbackConfigurationOutput>}
* @memberof CheckoutPreferencesOutput
*/
fallbackCascadePreferences?: Array<FallbackConfigurationOutput>;
/**
* This object contains a list of price groups that will be used to fall back to if the selected product price quantity fails to be created.
* @type {Array<Array<SelectedPriceQuantity>>}
* @memberof CheckoutPreferencesOutput
*/
fallbackCascadeSelectedProductPriceQuantity?: Array<Array<SelectedPriceQuantity>>;
/**
*
* @type {CheckoutProcessorsPreferences}
* @memberof CheckoutPreferencesOutput
*/
processorPreferences?: CheckoutProcessorsPreferences | null;
/**
*
* @type {string}
* @memberof CheckoutPreferencesOutput
*/
unused?: string | null;
}
/**
* Check if a given object implements the CheckoutPreferencesOutput interface.
*/
export declare function instanceOfCheckoutPreferencesOutput(value: object): value is CheckoutPreferencesOutput;
export declare function CheckoutPreferencesOutputFromJSON(json: any): CheckoutPreferencesOutput;
export declare function CheckoutPreferencesOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutPreferencesOutput;
export declare function CheckoutPreferencesOutputToJSON(json: any): CheckoutPreferencesOutput;
export declare function CheckoutPreferencesOutputToJSONTyped(value?: CheckoutPreferencesOutput | null, ignoreDiscriminator?: boolean): any;