wallee
Version:
TypeScript/JavaScript client for wallee
86 lines (85 loc) • 2.89 kB
TypeScript
import type { AddressCreate } from './AddressCreate';
import type { CreationEntityState } from './CreationEntityState';
/**
* A subscriber represents everyone who is subscribed to a product.
* @export
* @interface SubscriberActive
*/
export interface SubscriberActive {
/**
* The merchant's reference used to identify the subscriber.
* @type {string}
* @memberof SubscriberActive
*/
reference?: string;
/**
* Allow the subscriber to use these payment methods even if subscription products do not accept them.
* @type {Array<number>}
* @memberof SubscriberActive
*/
additionalAllowedPaymentMethodConfigurations?: Array<number>;
/**
* Allow to store additional information about the object.
* @type {{ [key: string]: string; }}
* @memberof SubscriberActive
*/
metaData?: {
[key: string]: string;
};
/**
* The email address that is used to communicate with the subscriber. There can be only one subscriber per space with the same email address.
* @type {string}
* @memberof SubscriberActive
*/
emailAddress?: string;
/**
* Prevent the subscriber from using these payment methods even if subscription products do accept them.
* @type {Array<number>}
* @memberof SubscriberActive
*/
disallowedPaymentMethodConfigurations?: Array<number>;
/**
* The description used to identify the subscriber.
* @type {string}
* @memberof SubscriberActive
*/
description?: string;
/**
*
* @type {AddressCreate}
* @memberof SubscriberActive
*/
shippingAddress?: AddressCreate;
/**
* The language that is used when communicating with the subscriber via emails and documents.
* @type {string}
* @memberof SubscriberActive
*/
language?: string;
/**
*
* @type {AddressCreate}
* @memberof SubscriberActive
*/
billingAddress?: AddressCreate;
/**
* The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
* @type {number}
* @memberof SubscriberActive
*/
version: number;
/**
*
* @type {CreationEntityState}
* @memberof SubscriberActive
*/
state?: CreationEntityState;
}
/**
* Check if a given object implements the SubscriberActive interface.
*/
export declare function instanceOfSubscriberActive(value: object): value is SubscriberActive;
export declare function SubscriberActiveFromJSON(json: any): SubscriberActive;
export declare function SubscriberActiveFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriberActive;
export declare function SubscriberActiveToJSON(json: any): SubscriberActive;
export declare function SubscriberActiveToJSONTyped(value?: SubscriberActive | null, ignoreDiscriminator?: boolean): any;