Skip to content

Latest commit

 

History

History
52 lines (46 loc) · 2.08 KB

CustomerResponse.md

File metadata and controls

52 lines (46 loc) · 2.08 KB

Conekta::CustomerResponse

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]
default_fiscal_entity_id String [optional]
default_shipping_contact_id String [optional]
default_payment_source_id String [optional]
email 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
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,
  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,
  metadata: null,
  object: customer,
  payment_sources: null,
  phone: +5215555555555,
  shipping_contacts: null,
  subscription: null
)