Conekta::UpdateCustomer
December 17, 2024 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| antifraud_info | UpdateCustomerAntifraudInfo | [optional] | |
| date_of_birth | String | It is a parameter that allows to identify the date of birth of the client. | [optional] |
| default_payment_source_id | String | It is a parameter that allows to identify in the response, the Conekta ID of a payment method (payment_id) | [optional] |
| 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). | [optional] | |
| name | String | Client's name | [optional] |
| phone | String | Is the customer's phone number | [optional] |
| plan_id | String | Contains the ID of a plan, which could together with name, email and phone create a client directly to a subscription | [optional] |
| default_shipping_contact_id | String | It is a parameter that allows to identify in the response, the Conekta ID of the shipping address (shipping_contact) | [optional] |
| corporate | Boolean | It is a value that allows identifying if the email is corporate or not. | [optional][default to false] |
| custom_reference | String | It is an undefined value. | [optional] |
| fiscal_entities | Array<CustomerFiscalEntitiesRequest> | [optional] | |
| metadata | Hash<String, Object> | [optional] | |
| national_id | String | It is a parameter that allows to identify the national identification number of the client. | [optional] |
| payment_sources | Array<CustomerPaymentMethodsRequest> | Contains details of the payment methods that the customer has active or has used in Conekta | [optional] |
| shipping_contacts | Array<CustomerShippingContacts> | Contains the detail of the shipping addresses that the client has active or has used in Conekta | [optional] |
| subscription | SubscriptionRequest | [optional] |
Example
require 'conekta'
instance = Conekta::UpdateCustomer.new(
antifraud_info: null,
date_of_birth: 24/07/1992,
default_payment_source_id: src_1a2b3c4d5e6f7g8h,
email: miguel@gmail.com,
name: miguel,
phone: +5215555555555,
plan_id: plan_987234823,
default_shipping_contact_id: ship_cont_1a2b3c4d5e6f7g8h,
corporate: false,
custom_reference: null,
fiscal_entities: null,
metadata: null,
national_id: HEGG560427MVZRRL04,
payment_sources: null,
shipping_contacts: null,
subscription: null
)