wallee
Version:
TypeScript/JavaScript client for wallee
58 lines (57 loc) • 1.9 kB
TypeScript
/**
*
* @export
* @interface SubscriptionPending
*/
export interface SubscriptionPending {
/**
* A description used to identify the subscription.
* @type {string}
* @memberof SubscriptionPending
*/
description?: string;
/**
* The date and time when the subscription is planned to be terminated.
* @type {Date}
* @memberof SubscriptionPending
*/
plannedTerminationDate?: Date;
/**
* The affiliate that led to the creation of the subscription.
* @type {number}
* @memberof SubscriptionPending
*/
affiliate?: number;
/**
* The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
* @type {number}
* @memberof SubscriptionPending
*/
version: number;
/**
* The merchant's reference used to identify the subscription.
* @type {string}
* @memberof SubscriptionPending
*/
reference?: string;
/**
* The subscriber that the subscription belongs to.
* @type {number}
* @memberof SubscriptionPending
*/
subscriber?: number;
/**
* The payment token that is used to charge the customer.
* @type {number}
* @memberof SubscriptionPending
*/
token?: number;
}
/**
* Check if a given object implements the SubscriptionPending interface.
*/
export declare function instanceOfSubscriptionPending(value: object): value is SubscriptionPending;
export declare function SubscriptionPendingFromJSON(json: any): SubscriptionPending;
export declare function SubscriptionPendingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionPending;
export declare function SubscriptionPendingToJSON(json: any): SubscriptionPending;
export declare function SubscriptionPendingToJSONTyped(value?: SubscriptionPending | null, ignoreDiscriminator?: boolean): any;