@getopenpay/client
Version:
OpenPay API TypeScript SDK
157 lines (156 loc) • 4.43 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 { PaymentProviderType } from './PaymentProviderType';
import type { PaymentMethodMappingExternal } from './PaymentMethodMappingExternal';
import type { CompleteAddress } from './CompleteAddress';
import type { ObjectName } from './ObjectName';
/**
*
* @export
* @interface TokenizedCreditCardExternal
*/
export interface TokenizedCreditCardExternal {
/**
*
* @type {CompleteAddress}
* @memberof TokenizedCreditCardExternal
*/
billingAddress?: CompleteAddress | null;
/**
*
* @type {string}
* @memberof TokenizedCreditCardExternal
*/
cardBrand?: string | null;
/**
*
* @type {string}
* @memberof TokenizedCreditCardExternal
*/
cardCountry?: string | null;
/**
*
* @type {string}
* @memberof TokenizedCreditCardExternal
*/
cardFingerprint?: string | null;
/**
*
* @type {string}
* @memberof TokenizedCreditCardExternal
*/
cardIin?: string | null;
/**
*
* @type {string}
* @memberof TokenizedCreditCardExternal
*/
cardIssuer?: string | null;
/**
*
* @type {string}
* @memberof TokenizedCreditCardExternal
*/
cardType?: string | null;
/**
*
* @type {string}
* @memberof TokenizedCreditCardExternal
*/
cdeExternalId?: string | null;
/**
* DateTime at which the object was created, in 'ISO 8601' format.
* @type {Date}
* @memberof TokenizedCreditCardExternal
*/
createdAt: Date;
/**
*
* @type {string}
* @memberof TokenizedCreditCardExternal
*/
customerId?: string | null;
/**
* Display name for the payment method to show on the UI.
* @type {string}
* @memberof TokenizedCreditCardExternal
*/
displayName: string;
/**
*
* @type {string}
* @memberof TokenizedCreditCardExternal
*/
expiryDate: string | null;
/**
* Unique Identifier of the payment_method.
* @type {string}
* @memberof TokenizedCreditCardExternal
*/
id: string;
/**
* If true, indicates that this object has been deleted
* @type {boolean}
* @memberof TokenizedCreditCardExternal
*/
isDeleted?: boolean;
/**
* Indicates if full details of the card are known
* @type {boolean}
* @memberof TokenizedCreditCardExternal
*/
isFullDetailsKnown: boolean;
/**
*
* @type {string}
* @memberof TokenizedCreditCardExternal
*/
lastFour?: string | null;
/**
* List of payment method mappings associated with this payment method. Include "mappings" in the expand parameter to retrieve this data.
* @type {Array<PaymentMethodMappingExternal>}
* @memberof TokenizedCreditCardExternal
*/
mappings?: Array<PaymentMethodMappingExternal>;
/**
*
* @type {object}
* @memberof TokenizedCreditCardExternal
*/
metadata?: object | null;
/**
*
* @type {ObjectName}
* @memberof TokenizedCreditCardExternal
*/
object?: ObjectName;
/**
* The provider type for this payment method
* @type {PaymentProviderType}
* @memberof TokenizedCreditCardExternal
*/
provider: PaymentProviderType;
/**
* DateTime at which the object was updated, in 'ISO 8601' format.
* @type {Date}
* @memberof TokenizedCreditCardExternal
*/
updatedAt: Date;
}
/**
* Check if a given object implements the TokenizedCreditCardExternal interface.
*/
export declare function instanceOfTokenizedCreditCardExternal(value: object): value is TokenizedCreditCardExternal;
export declare function TokenizedCreditCardExternalFromJSON(json: any): TokenizedCreditCardExternal;
export declare function TokenizedCreditCardExternalFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenizedCreditCardExternal;
export declare function TokenizedCreditCardExternalToJSON(json: any): TokenizedCreditCardExternal;
export declare function TokenizedCreditCardExternalToJSONTyped(value?: TokenizedCreditCardExternal | null, ignoreDiscriminator?: boolean): any;