digitalfemsa
Version:
OpenAPI client for digitalfemsa
127 lines (126 loc) • 3.07 kB
TypeScript
/**
* Femsa API
* Femsa sdk
*
* The version of the OpenAPI document: 2.1.0
* Contact: engineering@femsa.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CustomerAntifraudInfoResponse } from './customer-antifraud-info-response';
import { CustomerFiscalEntitiesResponse } from './customer-fiscal-entities-response';
import { CustomerPaymentMethodsResponse } from './customer-payment-methods-response';
import { CustomerResponseShippingContacts } from './customer-response-shipping-contacts';
/**
* customer response
* @export
* @interface CustomerResponse
*/
export interface CustomerResponse {
/**
*
* @type {CustomerAntifraudInfoResponse}
* @memberof CustomerResponse
*/
'antifraud_info'?: CustomerAntifraudInfoResponse | null;
/**
* true if the customer is a company
* @type {boolean}
* @memberof CustomerResponse
*/
'corporate'?: boolean;
/**
* Creation date of the object
* @type {number}
* @memberof CustomerResponse
*/
'created_at': number;
/**
* Custom reference
* @type {string}
* @memberof CustomerResponse
*/
'custom_reference'?: string;
/**
*
* @type {string}
* @memberof CustomerResponse
*/
'default_fiscal_entity_id'?: string | null;
/**
*
* @type {string}
* @memberof CustomerResponse
*/
'default_shipping_contact_id'?: string;
/**
*
* @type {string}
* @memberof CustomerResponse
*/
'default_payment_source_id'?: string | null;
/**
*
* @type {string}
* @memberof CustomerResponse
*/
'email'?: string;
/**
*
* @type {CustomerFiscalEntitiesResponse}
* @memberof CustomerResponse
*/
'fiscal_entities'?: CustomerFiscalEntitiesResponse;
/**
* Customer\'s ID
* @type {string}
* @memberof CustomerResponse
*/
'id': string;
/**
* true if the object exists in live mode or the value false if the object exists in test mode
* @type {boolean}
* @memberof CustomerResponse
*/
'livemode': boolean;
/**
* Customer\'s name
* @type {string}
* @memberof CustomerResponse
*/
'name': string;
/**
*
* @type {{ [key: string]: any; }}
* @memberof CustomerResponse
*/
'metadata'?: {
[key: string]: any;
};
/**
*
* @type {string}
* @memberof CustomerResponse
*/
'object': string;
/**
*
* @type {CustomerPaymentMethodsResponse}
* @memberof CustomerResponse
*/
'payment_sources'?: CustomerPaymentMethodsResponse;
/**
* Customer\'s phone number
* @type {string}
* @memberof CustomerResponse
*/
'phone'?: string;
/**
*
* @type {CustomerResponseShippingContacts}
* @memberof CustomerResponse
*/
'shipping_contacts'?: CustomerResponseShippingContacts;
}