UNPKG

digitalfemsa

Version:
97 lines (96 loc) 2.89 kB
/** * 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 { CustomerAntifraudInfo } from './customer-antifraud-info'; import { CustomerFiscalEntitiesRequest } from './customer-fiscal-entities-request'; import { CustomerPaymentMethodsRequest } from './customer-payment-methods-request'; import { CustomerShippingContacts } from './customer-shipping-contacts'; /** * a customer * @export * @interface Customer */ export interface Customer { /** * * @type {CustomerAntifraudInfo} * @memberof Customer */ 'antifraud_info'?: CustomerAntifraudInfo | null; /** * It is a value that allows identifying if the email is corporate or not. * @type {boolean} * @memberof Customer */ 'corporate'?: boolean; /** * It is an undefined value. * @type {string} * @memberof Customer */ 'custom_reference'?: string; /** * An email address is a series of customizable characters followed by a universal Internet symbol, the at symbol (@), the name of a host server, and a web domain ending (.mx, .com, .org, . net, etc). * @type {string} * @memberof Customer */ 'email': string; /** * It is a parameter that allows to identify in the response, the Femsa ID of a payment method (payment_id) * @type {string} * @memberof Customer */ 'default_payment_source_id'?: string; /** * It is a parameter that allows to identify in the response, the Femsa ID of the shipping address (shipping_contact) * @type {string} * @memberof Customer */ 'default_shipping_contact_id'?: string; /** * * @type {Array<CustomerFiscalEntitiesRequest>} * @memberof Customer */ 'fiscal_entities'?: Array<CustomerFiscalEntitiesRequest>; /** * * @type {{ [key: string]: any; }} * @memberof Customer */ 'metadata'?: { [key: string]: any; }; /** * Client\'s name * @type {string} * @memberof Customer */ 'name': string; /** * Contains details of the payment methods that the customer has active or has used in Femsa * @type {Array<CustomerPaymentMethodsRequest>} * @memberof Customer */ 'payment_sources'?: Array<CustomerPaymentMethodsRequest>; /** * Is the customer\'s phone number * @type {string} * @memberof Customer */ 'phone': string; /** * Contains the detail of the shipping addresses that the client has active or has used in Femsa * @type {Array<CustomerShippingContacts>} * @memberof Customer */ 'shipping_contacts'?: Array<CustomerShippingContacts>; }