wallee
Version:
TypeScript/JavaScript client for wallee
95 lines (94 loc) • 3.1 kB
TypeScript
import { CreationEntityState } from "./CreationEntityState";
import { DataCollectionType } from "./DataCollectionType";
import { OneClickPaymentMode } from "./OneClickPaymentMode";
import { ResourcePath } from "./ResourcePath";
declare class PaymentMethodConfiguration {
/**
* The data collection type specifies how the payment information is collected.
*/
'dataCollectionType'?: DataCollectionType;
/**
* A custom description for the payment method which is displayed to the customer.
*/
'description'?: {
[]: string;
};
/**
* A unique identifier for the object.
*/
'id'?: number;
/**
* The resource path to a custom image for the payment method which is displayed to the customer.
*/
'imageResourcePath'?: ResourcePath;
/**
* The ID of the space this object belongs to.
*/
'linkedSpaceId'?: number;
/**
* The name used to identify the payment method configuration.
*/
'name'?: string;
/**
* The one-click payment mode determines whether the customer can save their payment details for later payments.
*/
'oneClickPaymentMode'?: OneClickPaymentMode;
/**
* The payment method that the configuration is for.
*/
'paymentMethod'?: number;
/**
* The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed.
*/
'plannedPurgeDate'?: Date;
/**
* The description for the payment method that is actually displayed to the customer. This is either the custom description, if defined, or otherwise the payment method's default one.
*/
'resolvedDescription'?: {
[]: string;
};
/**
* The image URL for the payment method that is actually displayed to the customer. This is either the custom image, if defined, or otherwise the payment method's default one.
*/
'resolvedImageUrl'?: string;
/**
* The title for the payment method that is actually displayed to the customer. This is either the custom title, if defined, or otherwise the payment method's default one.
*/
'resolvedTitle'?: {
[]: string;
};
/**
* When listing payment methods, they can be sorted by this number.
*/
'sortOrder'?: number;
/**
* The ID of the space this object belongs to.
*/
'spaceId'?: number;
/**
* The object's current state.
*/
'state'?: CreationEntityState;
/**
* A custom title for the payment method which is displayed to the customer.
*/
'title'?: {
[]: string;
};
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
*/
'version'?: number;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}
export { PaymentMethodConfiguration };