Name |
Type |
Description |
Notes |
street1 |
String |
|
|
street2 |
String |
|
[optional] |
postal_code |
String |
|
|
city |
String |
|
|
state |
String |
|
[optional] |
country |
String |
this field follows the ISO 3166-1 alpha-2 standard |
[optional] |
residential |
Boolean |
|
[optional][default to false] |
external_number |
String |
|
[optional] |
require 'conekta'
instance = Conekta::CustomerAddress.new(
street1: Nuevo Leon 254,
street2: Departamento 404,
postal_code: 06100,
city: Ciudad de Mexico,
state: Ciudad de Mexico,
country: MX,
residential: true,
external_number: null
)