Conekta::CustomerResponse
December 17, 2024 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| antifraud_info | CustomerAntifraudInfoResponse | [optional] | |
| corporate | Boolean | true if the customer is a company | [optional] |
| created_at | Integer | Creation date of the object | |
| custom_reference | String | Custom reference | [optional] |
| date_of_birth | String | It is a parameter that allows to identify the date of birth of the client. | [optional] |
| default_fiscal_entity_id | String | [optional] | |
| default_shipping_contact_id | String | [optional] | |
| default_payment_source_id | String | [optional] | |
| String | [optional] | ||
| fiscal_entities | CustomerFiscalEntitiesResponse | [optional] | |
| id | String | Customer's ID | |
| livemode | Boolean | true if the object exists in live mode or the value false if the object exists in test mode | |
| name | String | Customer's name | |
| national_id | String | It is a parameter that allows to identify the national identification number of the client. | [optional] |
| metadata | Hash<String, Object> | [optional] | |
| object | String | ||
| payment_sources | CustomerPaymentMethodsResponse | [optional] | |
| phone | String | Customer's phone number | [optional] |
| shipping_contacts | CustomerResponseShippingContacts | [optional] | |
| subscription | SubscriptionResponse | [optional] |
Example
require 'conekta'
instance = Conekta::CustomerResponse.new(
antifraud_info: null,
corporate: null,
created_at: 1485151007,
custom_reference: custom_reference,
date_of_birth: 24/07/1992,
default_fiscal_entity_id: fis_ent_2tKqqAfqPi21oCmEJ,
default_shipping_contact_id: ship_cont_2tKZsTYcsryyu7Ah8,
default_payment_source_id: src_2tHJfJ79KyUwpxTio,
email: Felipe@gmail.com,
fiscal_entities: null,
id: cus_2tHJfJ79KyUwpxTik,
livemode: true,
name: Felipe,
national_id: HEGG560427MVZRRL04,
metadata: null,
object: customer,
payment_sources: null,
phone: +5215555555555,
shipping_contacts: null,
subscription: null
)