conekta 6.0.1 → 6.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Makefile +3 -2
- data/README.md +5 -48
- data/VERSION +1 -1
- data/conekta.gemspec +1 -1
- data/config-ruby.json +1 -1
- data/docs/ApiKeyCreateResponse.md +3 -3
- data/docs/CreateCustomerFiscalEntitiesResponse.md +1 -1
- data/docs/Customer.md +1 -1
- data/docs/CustomerFiscalEntitiesDataResponse.md +1 -1
- data/docs/CustomerFiscalEntitiesRequest.md +1 -1
- data/docs/CustomerResponse.md +1 -1
- data/docs/CustomerShippingContacts.md +1 -1
- data/docs/CustomerShippingContactsDataResponse.md +1 -1
- data/docs/CustomerShippingContactsResponse.md +1 -1
- data/docs/CustomerUpdateFiscalEntitiesRequest.md +1 -1
- data/docs/CustomerUpdateShippingContacts.md +1 -1
- data/docs/CustomersApi.md +2 -2
- data/docs/CustomersResponse.md +3 -3
- data/docs/OrderFiscalEntityRequest.md +1 -1
- data/docs/OrderFiscalEntityResponse.md +1 -1
- data/docs/OrderResponseCustomerInfo.md +2 -2
- data/docs/OrderResponseShippingContact.md +7 -7
- data/docs/OrderUpdateFiscalEntityRequest.md +1 -1
- data/docs/UpdateCustomer.md +1 -1
- data/docs/UpdateCustomerFiscalEntitiesResponse.md +1 -1
- data/lib/conekta/api/antifraud_api.rb +1 -1
- data/lib/conekta/api/api_keys_api.rb +1 -1
- data/lib/conekta/api/balances_api.rb +1 -1
- data/lib/conekta/api/charges_api.rb +1 -1
- data/lib/conekta/api/companies_api.rb +1 -1
- data/lib/conekta/api/customers_api.rb +1 -1
- data/lib/conekta/api/discounts_api.rb +1 -1
- data/lib/conekta/api/events_api.rb +1 -1
- data/lib/conekta/api/logs_api.rb +1 -1
- data/lib/conekta/api/orders_api.rb +1 -1
- data/lib/conekta/api/payment_link_api.rb +1 -1
- data/lib/conekta/api/payment_methods_api.rb +1 -1
- data/lib/conekta/api/plans_api.rb +1 -1
- data/lib/conekta/api/products_api.rb +1 -1
- data/lib/conekta/api/shipping_contacts_api.rb +1 -1
- data/lib/conekta/api/shippings_api.rb +1 -1
- data/lib/conekta/api/subscriptions_api.rb +1 -1
- data/lib/conekta/api/taxes_api.rb +1 -1
- data/lib/conekta/api/tokens_api.rb +1 -1
- data/lib/conekta/api/transactions_api.rb +1 -1
- data/lib/conekta/api/transfers_api.rb +1 -1
- data/lib/conekta/api/webhook_keys_api.rb +1 -1
- data/lib/conekta/api/webhooks_api.rb +1 -1
- data/lib/conekta/api_client.rb +2 -2
- data/lib/conekta/api_error.rb +1 -1
- data/lib/conekta/configuration.rb +1 -1
- data/lib/conekta/models/api_key_create_response.rb +15 -16
- data/lib/conekta/models/api_key_request.rb +1 -1
- data/lib/conekta/models/api_key_response.rb +1 -1
- data/lib/conekta/models/api_key_response_on_delete.rb +1 -1
- data/lib/conekta/models/api_key_update_request.rb +1 -1
- data/lib/conekta/models/balance_common_field.rb +1 -1
- data/lib/conekta/models/balance_response.rb +1 -1
- data/lib/conekta/models/blacklist_rule_response.rb +1 -1
- data/lib/conekta/models/charge_order_response.rb +1 -1
- data/lib/conekta/models/charge_order_response_payment_method.rb +1 -1
- data/lib/conekta/models/charge_request.rb +1 -1
- data/lib/conekta/models/charge_request_payment_method.rb +1 -1
- data/lib/conekta/models/charge_response.rb +1 -1
- data/lib/conekta/models/charge_response_channel.rb +1 -1
- data/lib/conekta/models/charge_response_payment_method.rb +1 -1
- data/lib/conekta/models/charge_response_refunds.rb +1 -2
- data/lib/conekta/models/charge_response_refunds_data.rb +1 -1
- data/lib/conekta/models/charge_update_request.rb +1 -1
- data/lib/conekta/models/charges_data_response.rb +1 -1
- data/lib/conekta/models/checkout.rb +1 -1
- data/lib/conekta/models/checkout_order_template.rb +1 -1
- data/lib/conekta/models/checkout_order_template_customer_info.rb +1 -1
- data/lib/conekta/models/checkout_request.rb +1 -1
- data/lib/conekta/models/checkout_response.rb +1 -1
- data/lib/conekta/models/checkouts_response.rb +1 -2
- data/lib/conekta/models/company_fiscal_info_address_response.rb +1 -1
- data/lib/conekta/models/company_fiscal_info_response.rb +1 -1
- data/lib/conekta/models/company_payout_destination_response.rb +1 -1
- data/lib/conekta/models/company_response.rb +1 -1
- data/lib/conekta/models/create_customer_fiscal_entities_response.rb +2 -3
- data/lib/conekta/models/create_customer_payment_methods_request.rb +1 -1
- data/lib/conekta/models/create_customer_payment_methods_response.rb +1 -1
- data/lib/conekta/models/create_risk_rules_data.rb +1 -1
- data/lib/conekta/models/customer.rb +1 -1
- data/lib/conekta/models/customer_address.rb +1 -1
- data/lib/conekta/models/customer_antifraud_info.rb +1 -1
- data/lib/conekta/models/customer_antifraud_info_response.rb +1 -1
- data/lib/conekta/models/customer_fiscal_entities_data_response.rb +2 -3
- data/lib/conekta/models/customer_fiscal_entities_request.rb +2 -2
- data/lib/conekta/models/customer_fiscal_entities_response.rb +1 -2
- data/lib/conekta/models/customer_info.rb +1 -1
- data/lib/conekta/models/customer_info_just_customer_id.rb +1 -1
- data/lib/conekta/models/customer_info_just_customer_id_response.rb +1 -1
- data/lib/conekta/models/customer_payment_method_request.rb +1 -1
- data/lib/conekta/models/customer_payment_methods_data.rb +1 -1
- data/lib/conekta/models/customer_payment_methods_request.rb +1 -1
- data/lib/conekta/models/customer_payment_methods_response.rb +1 -2
- data/lib/conekta/models/customer_response.rb +1 -1
- data/lib/conekta/models/customer_response_shipping_contacts.rb +1 -2
- data/lib/conekta/models/customer_shipping_contacts.rb +1 -1
- data/lib/conekta/models/customer_shipping_contacts_address.rb +1 -1
- data/lib/conekta/models/customer_shipping_contacts_data_response.rb +2 -3
- data/lib/conekta/models/customer_shipping_contacts_response.rb +1 -1
- data/lib/conekta/models/customer_shipping_contacts_response_address.rb +1 -1
- data/lib/conekta/models/customer_update_fiscal_entities_request.rb +2 -2
- data/lib/conekta/models/customer_update_shipping_contacts.rb +1 -1
- data/lib/conekta/models/customers_response.rb +17 -18
- data/lib/conekta/models/delete_api_keys_response.rb +2 -3
- data/lib/conekta/models/deleted_blacklist_rule_response.rb +1 -1
- data/lib/conekta/models/deleted_whitelist_rule_response.rb +1 -1
- data/lib/conekta/models/details.rb +1 -1
- data/lib/conekta/models/details_error.rb +1 -1
- data/lib/conekta/models/discount_lines_data_response.rb +1 -1
- data/lib/conekta/models/discount_lines_response.rb +1 -2
- data/lib/conekta/models/email_checkout_request.rb +1 -1
- data/lib/conekta/models/error.rb +2 -3
- data/lib/conekta/models/event_response.rb +1 -1
- data/lib/conekta/models/events_resend_response.rb +1 -1
- data/lib/conekta/models/fiscal_entity_address.rb +1 -1
- data/lib/conekta/models/get_api_keys_response.rb +1 -2
- data/lib/conekta/models/get_charges_response.rb +1 -2
- data/lib/conekta/models/get_companies_response.rb +1 -2
- data/lib/conekta/models/get_customer_payment_method_data_response.rb +1 -1
- data/lib/conekta/models/get_events_response.rb +1 -2
- data/lib/conekta/models/get_order_discount_lines_response.rb +1 -2
- data/lib/conekta/models/get_orders_response.rb +1 -1
- data/lib/conekta/models/get_payment_method_response.rb +1 -2
- data/lib/conekta/models/get_plans_response.rb +1 -2
- data/lib/conekta/models/get_transactions_response.rb +1 -2
- data/lib/conekta/models/get_transfers_response.rb +1 -2
- data/lib/conekta/models/get_webhook_keys_response.rb +1 -2
- data/lib/conekta/models/get_webhooks_response.rb +1 -2
- data/lib/conekta/models/log_response.rb +1 -1
- data/lib/conekta/models/logs_response.rb +1 -1
- data/lib/conekta/models/logs_response_data.rb +1 -1
- data/lib/conekta/models/order_capture_request.rb +1 -1
- data/lib/conekta/models/order_customer_info_response.rb +1 -1
- data/lib/conekta/models/order_discount_lines_request.rb +1 -1
- data/lib/conekta/models/order_fiscal_entity_address_response.rb +2 -3
- data/lib/conekta/models/order_fiscal_entity_request.rb +1 -1
- data/lib/conekta/models/order_fiscal_entity_response.rb +1 -1
- data/lib/conekta/models/order_next_action_response.rb +1 -1
- data/lib/conekta/models/order_next_action_response_redirect_to_url.rb +1 -1
- data/lib/conekta/models/order_refund_request.rb +1 -1
- data/lib/conekta/models/order_request.rb +1 -1
- data/lib/conekta/models/order_request_customer_info.rb +1 -1
- data/lib/conekta/models/order_response.rb +1 -1
- data/lib/conekta/models/order_response_charges.rb +1 -2
- data/lib/conekta/models/order_response_checkout.rb +1 -1
- data/lib/conekta/models/order_response_customer_info.rb +12 -13
- data/lib/conekta/models/order_response_discount_lines.rb +1 -2
- data/lib/conekta/models/order_response_products.rb +1 -2
- data/lib/conekta/models/order_response_shipping_contact.rb +30 -31
- data/lib/conekta/models/order_tax_request.rb +1 -1
- data/lib/conekta/models/order_update_fiscal_entity_request.rb +1 -1
- data/lib/conekta/models/order_update_request.rb +1 -1
- data/lib/conekta/models/order_update_request_customer_info.rb +1 -1
- data/lib/conekta/models/orders_response.rb +1 -1
- data/lib/conekta/models/page.rb +1 -1
- data/lib/conekta/models/pagination.rb +1 -1
- data/lib/conekta/models/payment_method.rb +1 -1
- data/lib/conekta/models/payment_method_bank_transfer.rb +1 -2
- data/lib/conekta/models/payment_method_card.rb +1 -2
- data/lib/conekta/models/payment_method_card_request.rb +2 -3
- data/lib/conekta/models/payment_method_card_response.rb +1 -2
- data/lib/conekta/models/payment_method_cash.rb +1 -2
- data/lib/conekta/models/payment_method_cash_request.rb +2 -3
- data/lib/conekta/models/payment_method_cash_response.rb +1 -2
- data/lib/conekta/models/payment_method_response.rb +1 -1
- data/lib/conekta/models/payment_method_spei_recurrent.rb +2 -3
- data/lib/conekta/models/payment_method_spei_request.rb +2 -3
- data/lib/conekta/models/plan_request.rb +1 -1
- data/lib/conekta/models/plan_response.rb +1 -1
- data/lib/conekta/models/plan_update_request.rb +1 -1
- data/lib/conekta/models/product.rb +1 -1
- data/lib/conekta/models/product_data_response.rb +2 -3
- data/lib/conekta/models/product_order_response.rb +2 -3
- data/lib/conekta/models/risk_rules_data.rb +1 -1
- data/lib/conekta/models/risk_rules_list.rb +2 -3
- data/lib/conekta/models/shipping_order_response.rb +1 -2
- data/lib/conekta/models/shipping_request.rb +1 -1
- data/lib/conekta/models/sms_checkout_request.rb +1 -1
- data/lib/conekta/models/subscription_events_response.rb +1 -2
- data/lib/conekta/models/subscription_request.rb +1 -1
- data/lib/conekta/models/subscription_response.rb +1 -1
- data/lib/conekta/models/subscription_update_request.rb +1 -1
- data/lib/conekta/models/token.rb +1 -1
- data/lib/conekta/models/token_card.rb +1 -1
- data/lib/conekta/models/token_checkout.rb +1 -1
- data/lib/conekta/models/token_response.rb +1 -1
- data/lib/conekta/models/token_response_checkout.rb +1 -1
- data/lib/conekta/models/transaction_response.rb +1 -1
- data/lib/conekta/models/transfer_destination_response.rb +1 -1
- data/lib/conekta/models/transfer_method_response.rb +1 -1
- data/lib/conekta/models/transfer_response.rb +1 -1
- data/lib/conekta/models/transfers_response.rb +1 -1
- data/lib/conekta/models/update_customer.rb +1 -1
- data/lib/conekta/models/update_customer_antifraud_info.rb +1 -1
- data/lib/conekta/models/update_customer_fiscal_entities_response.rb +3 -4
- data/lib/conekta/models/update_customer_payment_methods_response.rb +1 -1
- data/lib/conekta/models/update_order_discount_lines_request.rb +1 -1
- data/lib/conekta/models/update_order_tax_request.rb +1 -1
- data/lib/conekta/models/update_order_tax_response.rb +2 -3
- data/lib/conekta/models/update_payment_methods.rb +1 -1
- data/lib/conekta/models/update_product.rb +1 -1
- data/lib/conekta/models/webhook_key_create_response.rb +1 -1
- data/lib/conekta/models/webhook_key_delete_response.rb +1 -1
- data/lib/conekta/models/webhook_key_request.rb +1 -1
- data/lib/conekta/models/webhook_key_response.rb +1 -1
- data/lib/conekta/models/webhook_key_update_request.rb +1 -1
- data/lib/conekta/models/webhook_log.rb +1 -1
- data/lib/conekta/models/webhook_request.rb +1 -1
- data/lib/conekta/models/webhook_response.rb +1 -1
- data/lib/conekta/models/webhook_update_request.rb +1 -1
- data/lib/conekta/models/whitelistlist_rule_response.rb +1 -1
- data/lib/conekta/version.rb +2 -2
- data/lib/conekta.rb +1 -44
- data/spec/api/customers_api_spec.rb +2 -2
- data/spec/spec_helper.rb +1 -1
- metadata +2 -45
- data/docs/ApiKeyCreateResponseAllOf.md +0 -18
- data/docs/ChargeDataPaymentMethodBankTransferResponse.md +0 -48
- data/docs/ChargeDataPaymentMethodCardResponse.md +0 -38
- data/docs/ChargeDataPaymentMethodCashResponse.md +0 -32
- data/docs/ChargeResponseRefundsAllOf.md +0 -18
- data/docs/CheckoutsResponseAllOf.md +0 -18
- data/docs/CreateCustomerFiscalEntitiesResponseAllOf.md +0 -26
- data/docs/CustomerFiscalEntitiesRequestAddress.md +0 -32
- data/docs/CustomerFiscalEntitiesResponseAllOf.md +0 -18
- data/docs/CustomerPaymentMethods.md +0 -18
- data/docs/CustomerResponseShippingContactsAllOf.md +0 -18
- data/docs/CustomerShippingContactsDataResponseAllOf.md +0 -22
- data/docs/CustomersResponseAllOf.md +0 -18
- data/docs/DeleteApiKeysResponseAllOf.md +0 -18
- data/docs/DiscountLinesResponseAllOf.md +0 -22
- data/docs/ErrorAllOf.md +0 -22
- data/docs/GetApiKeysResponseAllOf.md +0 -18
- data/docs/GetChargesResponseAllOf.md +0 -18
- data/docs/GetCompaniesResponseAllOf.md +0 -18
- data/docs/GetEventsResponseAllOf.md +0 -18
- data/docs/GetOrderDiscountLinesResponseAllOf.md +0 -18
- data/docs/GetPaymentMethodResponseAllOf.md +0 -18
- data/docs/GetPlansResponseAllOf.md +0 -18
- data/docs/GetTransactionsResponseAllOf.md +0 -18
- data/docs/GetTransfersResponseAllOf.md +0 -18
- data/docs/GetWebhookKeysResponseAllOf.md +0 -18
- data/docs/GetWebhooksResponseAllOf.md +0 -18
- data/docs/OrderFiscalEntityAddressResponseAllOf.md +0 -18
- data/docs/OrderResponseChargesAllOf.md +0 -18
- data/docs/OrderResponseCustomerInfoAllOf.md +0 -18
- data/docs/OrderResponseDiscountLinesAllOf.md +0 -18
- data/docs/OrderResponseProductsAllOf.md +0 -18
- data/docs/OrderResponseShippingContactAllOf.md +0 -22
- data/docs/PaymentMethodCardRequestAllOf.md +0 -18
- data/docs/PaymentMethodCardResponseAllOf.md +0 -36
- data/docs/PaymentMethodCashRequestAllOf.md +0 -18
- data/docs/PaymentMethodCashResponseAllOf.md +0 -26
- data/docs/PaymentMethodSpeiRecurrentAllOf.md +0 -20
- data/docs/ProductDataResponseAllOf.md +0 -22
- data/docs/ProductOrderResponseAllOf.md +0 -22
- data/docs/RiskRules.md +0 -18
- data/docs/UpdateCustomerFiscalEntitiesResponseAllOf.md +0 -26
- data/docs/UpdateOrderTaxResponseAllOf.md +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42bd6d7d098157ee1b28b303871d3a54b4fedf0171f9172f51a90ea09e3434de
|
4
|
+
data.tar.gz: 118e9a1ae0abb9caa5d6ca87998edec95be3c0b22691281f06c0c8c775fd3ab4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afe090eca8f26b3e1333a05647fc2fcabcc10533e075a13a551018f81c7fc805e41f21c7391f62be98af7a7593a5c3c5e0700cb17862f8900e887aff062dc054
|
7
|
+
data.tar.gz: d9d7eb7d8ffe5a55c2bead07fe7f042e1588713837c5089ab590a71928d56c93ec1d66e9642633e5ae78c50da4bf742930b3fce0074ab130485ab49209e01af2
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## [6.0.2](https://github.com/conekta/conekta-ruby/releases/tag/6.0.2) - 2023-12-26
|
2
|
+
## What's Changed
|
3
|
+
|
4
|
+
## [6.0.1](https://github.com/conekta/conekta-ruby/releases/tag/6.0.1) - 2023-12-21
|
5
|
+
## What's Changed
|
6
|
+
* update entities by @fcarrero in #116
|
1
7
|
## [6.0.0](https://github.com/conekta/conekta-ruby/releases/tag/6.0.0) - 2023-08-01
|
2
8
|
## What's Changed
|
3
9
|
* Fix i18n dependency load error by @juanolivas in https://github.com/conekta/conekta-ruby/pull/108
|
data/Makefile
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
ci-test:
|
2
2
|
bundle exec rspec
|
3
3
|
ruby:
|
4
|
-
|
5
|
-
|
4
|
+
rm -rf docs && rm -rf lib/models && \
|
5
|
+
docker run --rm \
|
6
|
+
-v ${PWD}:/local openapitools/openapi-generator-cli:v7.2.0 generate \
|
6
7
|
-i https://raw.githubusercontent.com/conekta/openapi/main/_build/api.yaml \
|
7
8
|
-g ruby \
|
8
9
|
-o /local \
|
data/README.md
CHANGED
@@ -7,8 +7,8 @@ Conekta sdk
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 2.1.0
|
10
|
-
- Package version: 6.0.
|
11
|
-
- Build date: 2023-12-
|
10
|
+
- Package version: 6.0.2
|
11
|
+
- Build date: 2023-12-26T16:28:22.789356234Z[Etc/UTC]
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
13
13
|
For more information, please visit [https://github.com/conekta/openapi/issues](https://github.com/conekta/openapi/issues)
|
14
14
|
|
@@ -25,16 +25,16 @@ gem build conekta.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./conekta-6.0.
|
28
|
+
gem install ./conekta-6.0.2.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./conekta-6.0.
|
31
|
+
(for development, run `gem install --dev ./conekta-6.0.2.gem` to install the development dependencies)
|
32
32
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
34
34
|
|
35
35
|
Finally add this to the Gemfile:
|
36
36
|
|
37
|
-
gem 'conekta', '~> 6.0.
|
37
|
+
gem 'conekta', '~> 6.0.2'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -187,7 +187,6 @@ Class | Method | HTTP request | Description
|
|
187
187
|
## Documentation for Models
|
188
188
|
|
189
189
|
- [Conekta::ApiKeyCreateResponse](docs/ApiKeyCreateResponse.md)
|
190
|
-
- [Conekta::ApiKeyCreateResponseAllOf](docs/ApiKeyCreateResponseAllOf.md)
|
191
190
|
- [Conekta::ApiKeyRequest](docs/ApiKeyRequest.md)
|
192
191
|
- [Conekta::ApiKeyResponse](docs/ApiKeyResponse.md)
|
193
192
|
- [Conekta::ApiKeyResponseOnDelete](docs/ApiKeyResponseOnDelete.md)
|
@@ -195,9 +194,6 @@ Class | Method | HTTP request | Description
|
|
195
194
|
- [Conekta::BalanceCommonField](docs/BalanceCommonField.md)
|
196
195
|
- [Conekta::BalanceResponse](docs/BalanceResponse.md)
|
197
196
|
- [Conekta::BlacklistRuleResponse](docs/BlacklistRuleResponse.md)
|
198
|
-
- [Conekta::ChargeDataPaymentMethodBankTransferResponse](docs/ChargeDataPaymentMethodBankTransferResponse.md)
|
199
|
-
- [Conekta::ChargeDataPaymentMethodCardResponse](docs/ChargeDataPaymentMethodCardResponse.md)
|
200
|
-
- [Conekta::ChargeDataPaymentMethodCashResponse](docs/ChargeDataPaymentMethodCashResponse.md)
|
201
197
|
- [Conekta::ChargeOrderResponse](docs/ChargeOrderResponse.md)
|
202
198
|
- [Conekta::ChargeOrderResponsePaymentMethod](docs/ChargeOrderResponsePaymentMethod.md)
|
203
199
|
- [Conekta::ChargeRequest](docs/ChargeRequest.md)
|
@@ -206,7 +202,6 @@ Class | Method | HTTP request | Description
|
|
206
202
|
- [Conekta::ChargeResponseChannel](docs/ChargeResponseChannel.md)
|
207
203
|
- [Conekta::ChargeResponsePaymentMethod](docs/ChargeResponsePaymentMethod.md)
|
208
204
|
- [Conekta::ChargeResponseRefunds](docs/ChargeResponseRefunds.md)
|
209
|
-
- [Conekta::ChargeResponseRefundsAllOf](docs/ChargeResponseRefundsAllOf.md)
|
210
205
|
- [Conekta::ChargeResponseRefundsData](docs/ChargeResponseRefundsData.md)
|
211
206
|
- [Conekta::ChargeUpdateRequest](docs/ChargeUpdateRequest.md)
|
212
207
|
- [Conekta::ChargesDataResponse](docs/ChargesDataResponse.md)
|
@@ -216,13 +211,11 @@ Class | Method | HTTP request | Description
|
|
216
211
|
- [Conekta::CheckoutRequest](docs/CheckoutRequest.md)
|
217
212
|
- [Conekta::CheckoutResponse](docs/CheckoutResponse.md)
|
218
213
|
- [Conekta::CheckoutsResponse](docs/CheckoutsResponse.md)
|
219
|
-
- [Conekta::CheckoutsResponseAllOf](docs/CheckoutsResponseAllOf.md)
|
220
214
|
- [Conekta::CompanyFiscalInfoAddressResponse](docs/CompanyFiscalInfoAddressResponse.md)
|
221
215
|
- [Conekta::CompanyFiscalInfoResponse](docs/CompanyFiscalInfoResponse.md)
|
222
216
|
- [Conekta::CompanyPayoutDestinationResponse](docs/CompanyPayoutDestinationResponse.md)
|
223
217
|
- [Conekta::CompanyResponse](docs/CompanyResponse.md)
|
224
218
|
- [Conekta::CreateCustomerFiscalEntitiesResponse](docs/CreateCustomerFiscalEntitiesResponse.md)
|
225
|
-
- [Conekta::CreateCustomerFiscalEntitiesResponseAllOf](docs/CreateCustomerFiscalEntitiesResponseAllOf.md)
|
226
219
|
- [Conekta::CreateCustomerPaymentMethodsRequest](docs/CreateCustomerPaymentMethodsRequest.md)
|
227
220
|
- [Conekta::CreateCustomerPaymentMethodsResponse](docs/CreateCustomerPaymentMethodsResponse.md)
|
228
221
|
- [Conekta::CreateRiskRulesData](docs/CreateRiskRulesData.md)
|
@@ -232,69 +225,49 @@ Class | Method | HTTP request | Description
|
|
232
225
|
- [Conekta::CustomerAntifraudInfoResponse](docs/CustomerAntifraudInfoResponse.md)
|
233
226
|
- [Conekta::CustomerFiscalEntitiesDataResponse](docs/CustomerFiscalEntitiesDataResponse.md)
|
234
227
|
- [Conekta::CustomerFiscalEntitiesRequest](docs/CustomerFiscalEntitiesRequest.md)
|
235
|
-
- [Conekta::CustomerFiscalEntitiesRequestAddress](docs/CustomerFiscalEntitiesRequestAddress.md)
|
236
228
|
- [Conekta::CustomerFiscalEntitiesResponse](docs/CustomerFiscalEntitiesResponse.md)
|
237
|
-
- [Conekta::CustomerFiscalEntitiesResponseAllOf](docs/CustomerFiscalEntitiesResponseAllOf.md)
|
238
229
|
- [Conekta::CustomerInfo](docs/CustomerInfo.md)
|
239
230
|
- [Conekta::CustomerInfoJustCustomerId](docs/CustomerInfoJustCustomerId.md)
|
240
231
|
- [Conekta::CustomerInfoJustCustomerIdResponse](docs/CustomerInfoJustCustomerIdResponse.md)
|
241
232
|
- [Conekta::CustomerPaymentMethodRequest](docs/CustomerPaymentMethodRequest.md)
|
242
|
-
- [Conekta::CustomerPaymentMethods](docs/CustomerPaymentMethods.md)
|
243
233
|
- [Conekta::CustomerPaymentMethodsData](docs/CustomerPaymentMethodsData.md)
|
244
234
|
- [Conekta::CustomerPaymentMethodsRequest](docs/CustomerPaymentMethodsRequest.md)
|
245
235
|
- [Conekta::CustomerPaymentMethodsResponse](docs/CustomerPaymentMethodsResponse.md)
|
246
236
|
- [Conekta::CustomerResponse](docs/CustomerResponse.md)
|
247
237
|
- [Conekta::CustomerResponseShippingContacts](docs/CustomerResponseShippingContacts.md)
|
248
|
-
- [Conekta::CustomerResponseShippingContactsAllOf](docs/CustomerResponseShippingContactsAllOf.md)
|
249
238
|
- [Conekta::CustomerShippingContacts](docs/CustomerShippingContacts.md)
|
250
239
|
- [Conekta::CustomerShippingContactsAddress](docs/CustomerShippingContactsAddress.md)
|
251
240
|
- [Conekta::CustomerShippingContactsDataResponse](docs/CustomerShippingContactsDataResponse.md)
|
252
|
-
- [Conekta::CustomerShippingContactsDataResponseAllOf](docs/CustomerShippingContactsDataResponseAllOf.md)
|
253
241
|
- [Conekta::CustomerShippingContactsResponse](docs/CustomerShippingContactsResponse.md)
|
254
242
|
- [Conekta::CustomerShippingContactsResponseAddress](docs/CustomerShippingContactsResponseAddress.md)
|
255
243
|
- [Conekta::CustomerUpdateFiscalEntitiesRequest](docs/CustomerUpdateFiscalEntitiesRequest.md)
|
256
244
|
- [Conekta::CustomerUpdateShippingContacts](docs/CustomerUpdateShippingContacts.md)
|
257
245
|
- [Conekta::CustomersResponse](docs/CustomersResponse.md)
|
258
|
-
- [Conekta::CustomersResponseAllOf](docs/CustomersResponseAllOf.md)
|
259
246
|
- [Conekta::DeleteApiKeysResponse](docs/DeleteApiKeysResponse.md)
|
260
|
-
- [Conekta::DeleteApiKeysResponseAllOf](docs/DeleteApiKeysResponseAllOf.md)
|
261
247
|
- [Conekta::DeletedBlacklistRuleResponse](docs/DeletedBlacklistRuleResponse.md)
|
262
248
|
- [Conekta::DeletedWhitelistRuleResponse](docs/DeletedWhitelistRuleResponse.md)
|
263
249
|
- [Conekta::Details](docs/Details.md)
|
264
250
|
- [Conekta::DetailsError](docs/DetailsError.md)
|
265
251
|
- [Conekta::DiscountLinesDataResponse](docs/DiscountLinesDataResponse.md)
|
266
252
|
- [Conekta::DiscountLinesResponse](docs/DiscountLinesResponse.md)
|
267
|
-
- [Conekta::DiscountLinesResponseAllOf](docs/DiscountLinesResponseAllOf.md)
|
268
253
|
- [Conekta::EmailCheckoutRequest](docs/EmailCheckoutRequest.md)
|
269
254
|
- [Conekta::Error](docs/Error.md)
|
270
|
-
- [Conekta::ErrorAllOf](docs/ErrorAllOf.md)
|
271
255
|
- [Conekta::EventResponse](docs/EventResponse.md)
|
272
256
|
- [Conekta::EventsResendResponse](docs/EventsResendResponse.md)
|
273
257
|
- [Conekta::FiscalEntityAddress](docs/FiscalEntityAddress.md)
|
274
258
|
- [Conekta::GetApiKeysResponse](docs/GetApiKeysResponse.md)
|
275
|
-
- [Conekta::GetApiKeysResponseAllOf](docs/GetApiKeysResponseAllOf.md)
|
276
259
|
- [Conekta::GetChargesResponse](docs/GetChargesResponse.md)
|
277
|
-
- [Conekta::GetChargesResponseAllOf](docs/GetChargesResponseAllOf.md)
|
278
260
|
- [Conekta::GetCompaniesResponse](docs/GetCompaniesResponse.md)
|
279
|
-
- [Conekta::GetCompaniesResponseAllOf](docs/GetCompaniesResponseAllOf.md)
|
280
261
|
- [Conekta::GetCustomerPaymentMethodDataResponse](docs/GetCustomerPaymentMethodDataResponse.md)
|
281
262
|
- [Conekta::GetEventsResponse](docs/GetEventsResponse.md)
|
282
|
-
- [Conekta::GetEventsResponseAllOf](docs/GetEventsResponseAllOf.md)
|
283
263
|
- [Conekta::GetOrderDiscountLinesResponse](docs/GetOrderDiscountLinesResponse.md)
|
284
|
-
- [Conekta::GetOrderDiscountLinesResponseAllOf](docs/GetOrderDiscountLinesResponseAllOf.md)
|
285
264
|
- [Conekta::GetOrdersResponse](docs/GetOrdersResponse.md)
|
286
265
|
- [Conekta::GetPaymentMethodResponse](docs/GetPaymentMethodResponse.md)
|
287
|
-
- [Conekta::GetPaymentMethodResponseAllOf](docs/GetPaymentMethodResponseAllOf.md)
|
288
266
|
- [Conekta::GetPlansResponse](docs/GetPlansResponse.md)
|
289
|
-
- [Conekta::GetPlansResponseAllOf](docs/GetPlansResponseAllOf.md)
|
290
267
|
- [Conekta::GetTransactionsResponse](docs/GetTransactionsResponse.md)
|
291
|
-
- [Conekta::GetTransactionsResponseAllOf](docs/GetTransactionsResponseAllOf.md)
|
292
268
|
- [Conekta::GetTransfersResponse](docs/GetTransfersResponse.md)
|
293
|
-
- [Conekta::GetTransfersResponseAllOf](docs/GetTransfersResponseAllOf.md)
|
294
269
|
- [Conekta::GetWebhookKeysResponse](docs/GetWebhookKeysResponse.md)
|
295
|
-
- [Conekta::GetWebhookKeysResponseAllOf](docs/GetWebhookKeysResponseAllOf.md)
|
296
270
|
- [Conekta::GetWebhooksResponse](docs/GetWebhooksResponse.md)
|
297
|
-
- [Conekta::GetWebhooksResponseAllOf](docs/GetWebhooksResponseAllOf.md)
|
298
271
|
- [Conekta::LogResponse](docs/LogResponse.md)
|
299
272
|
- [Conekta::LogsResponse](docs/LogsResponse.md)
|
300
273
|
- [Conekta::LogsResponseData](docs/LogsResponseData.md)
|
@@ -302,7 +275,6 @@ Class | Method | HTTP request | Description
|
|
302
275
|
- [Conekta::OrderCustomerInfoResponse](docs/OrderCustomerInfoResponse.md)
|
303
276
|
- [Conekta::OrderDiscountLinesRequest](docs/OrderDiscountLinesRequest.md)
|
304
277
|
- [Conekta::OrderFiscalEntityAddressResponse](docs/OrderFiscalEntityAddressResponse.md)
|
305
|
-
- [Conekta::OrderFiscalEntityAddressResponseAllOf](docs/OrderFiscalEntityAddressResponseAllOf.md)
|
306
278
|
- [Conekta::OrderFiscalEntityRequest](docs/OrderFiscalEntityRequest.md)
|
307
279
|
- [Conekta::OrderFiscalEntityResponse](docs/OrderFiscalEntityResponse.md)
|
308
280
|
- [Conekta::OrderNextActionResponse](docs/OrderNextActionResponse.md)
|
@@ -312,16 +284,11 @@ Class | Method | HTTP request | Description
|
|
312
284
|
- [Conekta::OrderRequestCustomerInfo](docs/OrderRequestCustomerInfo.md)
|
313
285
|
- [Conekta::OrderResponse](docs/OrderResponse.md)
|
314
286
|
- [Conekta::OrderResponseCharges](docs/OrderResponseCharges.md)
|
315
|
-
- [Conekta::OrderResponseChargesAllOf](docs/OrderResponseChargesAllOf.md)
|
316
287
|
- [Conekta::OrderResponseCheckout](docs/OrderResponseCheckout.md)
|
317
288
|
- [Conekta::OrderResponseCustomerInfo](docs/OrderResponseCustomerInfo.md)
|
318
|
-
- [Conekta::OrderResponseCustomerInfoAllOf](docs/OrderResponseCustomerInfoAllOf.md)
|
319
289
|
- [Conekta::OrderResponseDiscountLines](docs/OrderResponseDiscountLines.md)
|
320
|
-
- [Conekta::OrderResponseDiscountLinesAllOf](docs/OrderResponseDiscountLinesAllOf.md)
|
321
290
|
- [Conekta::OrderResponseProducts](docs/OrderResponseProducts.md)
|
322
|
-
- [Conekta::OrderResponseProductsAllOf](docs/OrderResponseProductsAllOf.md)
|
323
291
|
- [Conekta::OrderResponseShippingContact](docs/OrderResponseShippingContact.md)
|
324
|
-
- [Conekta::OrderResponseShippingContactAllOf](docs/OrderResponseShippingContactAllOf.md)
|
325
292
|
- [Conekta::OrderTaxRequest](docs/OrderTaxRequest.md)
|
326
293
|
- [Conekta::OrderUpdateFiscalEntityRequest](docs/OrderUpdateFiscalEntityRequest.md)
|
327
294
|
- [Conekta::OrderUpdateRequest](docs/OrderUpdateRequest.md)
|
@@ -333,27 +300,19 @@ Class | Method | HTTP request | Description
|
|
333
300
|
- [Conekta::PaymentMethodBankTransfer](docs/PaymentMethodBankTransfer.md)
|
334
301
|
- [Conekta::PaymentMethodCard](docs/PaymentMethodCard.md)
|
335
302
|
- [Conekta::PaymentMethodCardRequest](docs/PaymentMethodCardRequest.md)
|
336
|
-
- [Conekta::PaymentMethodCardRequestAllOf](docs/PaymentMethodCardRequestAllOf.md)
|
337
303
|
- [Conekta::PaymentMethodCardResponse](docs/PaymentMethodCardResponse.md)
|
338
|
-
- [Conekta::PaymentMethodCardResponseAllOf](docs/PaymentMethodCardResponseAllOf.md)
|
339
304
|
- [Conekta::PaymentMethodCash](docs/PaymentMethodCash.md)
|
340
305
|
- [Conekta::PaymentMethodCashRequest](docs/PaymentMethodCashRequest.md)
|
341
|
-
- [Conekta::PaymentMethodCashRequestAllOf](docs/PaymentMethodCashRequestAllOf.md)
|
342
306
|
- [Conekta::PaymentMethodCashResponse](docs/PaymentMethodCashResponse.md)
|
343
|
-
- [Conekta::PaymentMethodCashResponseAllOf](docs/PaymentMethodCashResponseAllOf.md)
|
344
307
|
- [Conekta::PaymentMethodResponse](docs/PaymentMethodResponse.md)
|
345
308
|
- [Conekta::PaymentMethodSpeiRecurrent](docs/PaymentMethodSpeiRecurrent.md)
|
346
|
-
- [Conekta::PaymentMethodSpeiRecurrentAllOf](docs/PaymentMethodSpeiRecurrentAllOf.md)
|
347
309
|
- [Conekta::PaymentMethodSpeiRequest](docs/PaymentMethodSpeiRequest.md)
|
348
310
|
- [Conekta::PlanRequest](docs/PlanRequest.md)
|
349
311
|
- [Conekta::PlanResponse](docs/PlanResponse.md)
|
350
312
|
- [Conekta::PlanUpdateRequest](docs/PlanUpdateRequest.md)
|
351
313
|
- [Conekta::Product](docs/Product.md)
|
352
314
|
- [Conekta::ProductDataResponse](docs/ProductDataResponse.md)
|
353
|
-
- [Conekta::ProductDataResponseAllOf](docs/ProductDataResponseAllOf.md)
|
354
315
|
- [Conekta::ProductOrderResponse](docs/ProductOrderResponse.md)
|
355
|
-
- [Conekta::ProductOrderResponseAllOf](docs/ProductOrderResponseAllOf.md)
|
356
|
-
- [Conekta::RiskRules](docs/RiskRules.md)
|
357
316
|
- [Conekta::RiskRulesData](docs/RiskRulesData.md)
|
358
317
|
- [Conekta::RiskRulesList](docs/RiskRulesList.md)
|
359
318
|
- [Conekta::ShippingOrderResponse](docs/ShippingOrderResponse.md)
|
@@ -376,12 +335,10 @@ Class | Method | HTTP request | Description
|
|
376
335
|
- [Conekta::UpdateCustomer](docs/UpdateCustomer.md)
|
377
336
|
- [Conekta::UpdateCustomerAntifraudInfo](docs/UpdateCustomerAntifraudInfo.md)
|
378
337
|
- [Conekta::UpdateCustomerFiscalEntitiesResponse](docs/UpdateCustomerFiscalEntitiesResponse.md)
|
379
|
-
- [Conekta::UpdateCustomerFiscalEntitiesResponseAllOf](docs/UpdateCustomerFiscalEntitiesResponseAllOf.md)
|
380
338
|
- [Conekta::UpdateCustomerPaymentMethodsResponse](docs/UpdateCustomerPaymentMethodsResponse.md)
|
381
339
|
- [Conekta::UpdateOrderDiscountLinesRequest](docs/UpdateOrderDiscountLinesRequest.md)
|
382
340
|
- [Conekta::UpdateOrderTaxRequest](docs/UpdateOrderTaxRequest.md)
|
383
341
|
- [Conekta::UpdateOrderTaxResponse](docs/UpdateOrderTaxResponse.md)
|
384
|
-
- [Conekta::UpdateOrderTaxResponseAllOf](docs/UpdateOrderTaxResponseAllOf.md)
|
385
342
|
- [Conekta::UpdatePaymentMethods](docs/UpdatePaymentMethods.md)
|
386
343
|
- [Conekta::UpdateProduct](docs/UpdateProduct.md)
|
387
344
|
- [Conekta::WebhookKeyCreateResponse](docs/WebhookKeyCreateResponse.md)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
6.0.
|
1
|
+
6.0.2
|
data/conekta.gemspec
CHANGED
data/config-ruby.json
CHANGED
@@ -4,7 +4,6 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **authentication_token** | **String** | It is occupied as a user when authenticated with basic authentication, with a blank password. This value will only appear once, in the request to create a new key. Copy and save it in a safe place. | [optional] |
|
8
7
|
| **active** | **Boolean** | Indicates if the api key is active | [optional] |
|
9
8
|
| **created_at** | **Integer** | Unix timestamp in seconds of when the api key was created | [optional] |
|
10
9
|
| **updated_at** | **Integer** | Unix timestamp in seconds of when the api key was last updated | [optional] |
|
@@ -16,6 +15,7 @@
|
|
16
15
|
| **object** | **String** | Object name, value is 'api_key' | [optional] |
|
17
16
|
| **prefix** | **String** | The first few characters of the authentication_token | [optional] |
|
18
17
|
| **role** | **String** | Indicates if the api key is private or public | [optional] |
|
18
|
+
| **authentication_token** | **String** | It is occupied as a user when authenticated with basic authentication, with a blank password. This value will only appear once, in the request to create a new key. Copy and save it in a safe place. | [optional] |
|
19
19
|
|
20
20
|
## Example
|
21
21
|
|
@@ -23,7 +23,6 @@
|
|
23
23
|
require 'conekta'
|
24
24
|
|
25
25
|
instance = Conekta::ApiKeyCreateResponse.new(
|
26
|
-
authentication_token: key_rpHzxufNgjFCdprEEFZRTKi,
|
27
26
|
active: true,
|
28
27
|
created_at: 1684167881,
|
29
28
|
updated_at: 1684167923,
|
@@ -34,7 +33,8 @@ instance = Conekta::ApiKeyCreateResponse.new(
|
|
34
33
|
deleted: false,
|
35
34
|
object: api_key,
|
36
35
|
prefix: key_rp,
|
37
|
-
role: private
|
36
|
+
role: private,
|
37
|
+
authentication_token: key_rpHzxufNgjFCdprEEFZRTKi
|
38
38
|
)
|
39
39
|
```
|
40
40
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **address** | [**
|
7
|
+
| **address** | [**CustomerAddress**](CustomerAddress.md) | | |
|
8
8
|
| **tax_id** | **String** | | [optional] |
|
9
9
|
| **email** | **String** | | [optional] |
|
10
10
|
| **phone** | **String** | | [optional] |
|
data/docs/Customer.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **address** | [**
|
7
|
+
| **address** | [**CustomerAddress**](CustomerAddress.md) | | |
|
8
8
|
| **tax_id** | **String** | | [optional] |
|
9
9
|
| **email** | **String** | | [optional] |
|
10
10
|
| **phone** | **String** | | [optional] |
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **address** | [**
|
7
|
+
| **address** | [**CustomerAddress**](CustomerAddress.md) | | |
|
8
8
|
| **tax_id** | **String** | | [optional] |
|
9
9
|
| **email** | **String** | | [optional] |
|
10
10
|
| **phone** | **String** | | [optional] |
|
data/docs/CustomerResponse.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **address** | [**
|
7
|
+
| **address** | [**CustomerAddress**](CustomerAddress.md) | | [optional] |
|
8
8
|
| **tax_id** | **String** | | [optional] |
|
9
9
|
| **email** | **String** | | [optional] |
|
10
10
|
| **phone** | **String** | | [optional] |
|
data/docs/CustomersApi.md
CHANGED
@@ -33,7 +33,7 @@ Conekta.configure do |config|
|
|
33
33
|
end
|
34
34
|
|
35
35
|
api_instance = Conekta::CustomersApi.new
|
36
|
-
customer = Conekta::Customer.new({email: 'miguel@gmail.com', name: 'miguel', phone: '5215555555555'}) # Customer | requested field for customer
|
36
|
+
customer = Conekta::Customer.new({email: 'miguel@gmail.com', name: 'miguel', phone: '+5215555555555'}) # Customer | requested field for customer
|
37
37
|
opts = {
|
38
38
|
accept_language: 'es', # String | Use for knowing which language to use
|
39
39
|
x_child_company_id: '6441b6376b60c3a638da80af' # String | In the case of a holding company, the company id of the child company to which will process the request.
|
@@ -109,7 +109,7 @@ end
|
|
109
109
|
|
110
110
|
api_instance = Conekta::CustomersApi.new
|
111
111
|
id = '6307a60c41de27127515a575' # String | Identifier of the resource
|
112
|
-
customer_fiscal_entities_request = Conekta::CustomerFiscalEntitiesRequest.new({address: Conekta::
|
112
|
+
customer_fiscal_entities_request = Conekta::CustomerFiscalEntitiesRequest.new({address: Conekta::CustomerAddress.new({street1: 'Nuevo Leon 254', postal_code: '06100', city: 'Ciudad de Mexico'})}) # CustomerFiscalEntitiesRequest | requested field for customer fiscal entities
|
113
113
|
opts = {
|
114
114
|
accept_language: 'es', # String | Use for knowing which language to use
|
115
115
|
x_child_company_id: '6441b6376b60c3a638da80af' # String | In the case of a holding company, the company id of the child company to which will process the request.
|
data/docs/CustomersResponse.md
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **data** | [**Array<CustomerResponse>**](CustomerResponse.md) | | [optional] |
|
8
7
|
| **has_more** | **Boolean** | Indicates if there are more pages to be requested | |
|
9
8
|
| **object** | **String** | Object type, in this case is list | |
|
10
9
|
| **next_page_url** | **String** | URL of the next page. | [optional] |
|
11
10
|
| **previous_page_url** | **String** | Url of the previous page. | [optional] |
|
11
|
+
| **data** | [**Array<CustomerResponse>**](CustomerResponse.md) | | [optional] |
|
12
12
|
|
13
13
|
## Example
|
14
14
|
|
@@ -16,11 +16,11 @@
|
|
16
16
|
require 'conekta'
|
17
17
|
|
18
18
|
instance = Conekta::CustomersResponse.new(
|
19
|
-
data: null,
|
20
19
|
has_more: false,
|
21
20
|
object: list,
|
22
21
|
next_page_url: https://api.conekta.io/resources?limit=10&next=chrg_1,
|
23
|
-
previous_page_url: https://api.conekta.io/resources?limit=10&previous=chrg_1
|
22
|
+
previous_page_url: https://api.conekta.io/resources?limit=10&previous=chrg_1,
|
23
|
+
data: null
|
24
24
|
)
|
25
25
|
```
|
26
26
|
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **object** | **String** | | [optional] |
|
8
7
|
| **customer_custom_reference** | **String** | Custom reference | [optional] |
|
9
8
|
| **name** | **String** | | [optional] |
|
10
9
|
| **email** | **String** | | [optional] |
|
11
10
|
| **phone** | **String** | | [optional] |
|
12
11
|
| **corporate** | **Boolean** | | [optional][default to false] |
|
12
|
+
| **object** | **String** | | [optional] |
|
13
13
|
| **customer_id** | **String** | | [optional] |
|
14
14
|
|
15
15
|
## Example
|
@@ -18,12 +18,12 @@
|
|
18
18
|
require 'conekta'
|
19
19
|
|
20
20
|
instance = Conekta::OrderResponseCustomerInfo.new(
|
21
|
-
object: customer_info,
|
22
21
|
customer_custom_reference: custom_reference,
|
23
22
|
name: DevTest,
|
24
23
|
email: test@conekta.com,
|
25
24
|
phone: 5522997233,
|
26
25
|
corporate: null,
|
26
|
+
object: customer_info,
|
27
27
|
customer_id: cus_23874283647
|
28
28
|
)
|
29
29
|
```
|
@@ -4,16 +4,16 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **created_at** | **Integer** | | [optional] |
|
8
|
-
| **id** | **String** | | [optional] |
|
9
|
-
| **object** | **String** | | [optional] |
|
10
7
|
| **phone** | **String** | | [optional] |
|
11
8
|
| **receiver** | **String** | | [optional] |
|
12
9
|
| **between_streets** | **String** | | [optional] |
|
13
10
|
| **address** | [**CustomerShippingContactsResponseAddress**](CustomerShippingContactsResponseAddress.md) | | [optional] |
|
14
11
|
| **parent_id** | **String** | | [optional] |
|
15
12
|
| **default** | **Boolean** | | [optional] |
|
13
|
+
| **id** | **String** | | [optional] |
|
14
|
+
| **created_at** | **Integer** | | [optional] |
|
16
15
|
| **metadata** | **Hash<String, Object>** | Metadata associated with the shipping contact | [optional] |
|
16
|
+
| **object** | **String** | | [optional] |
|
17
17
|
| **deleted** | **Boolean** | | [optional] |
|
18
18
|
|
19
19
|
## Example
|
@@ -22,16 +22,16 @@
|
|
22
22
|
require 'conekta'
|
23
23
|
|
24
24
|
instance = Conekta::OrderResponseShippingContact.new(
|
25
|
-
|
26
|
-
id: adr_1234567890,
|
27
|
-
object: shipping_contact,
|
28
|
-
phone: 525511223344,
|
25
|
+
phone: +525511223344,
|
29
26
|
receiver: Marvin Fuller,
|
30
27
|
between_streets: Ackerman Crescent,
|
31
28
|
address: null,
|
32
29
|
parent_id: null,
|
33
30
|
default: false,
|
31
|
+
id: null,
|
32
|
+
created_at: null,
|
34
33
|
metadata: null,
|
34
|
+
object: null,
|
35
35
|
deleted: false
|
36
36
|
)
|
37
37
|
```
|
data/docs/UpdateCustomer.md
CHANGED
@@ -29,7 +29,7 @@ instance = Conekta::UpdateCustomer.new(
|
|
29
29
|
default_payment_source_id: src_1a2b3c4d5e6f7g8h,
|
30
30
|
email: miguel@gmail.com,
|
31
31
|
name: miguel,
|
32
|
-
phone: 5215555555555,
|
32
|
+
phone: +5215555555555,
|
33
33
|
plan_id: plan_987234823,
|
34
34
|
default_shipping_contact_id: ship_cont_1a2b3c4d5e6f7g8h,
|
35
35
|
corporate: false,
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **address** | [**
|
7
|
+
| **address** | [**CustomerAddress**](CustomerAddress.md) | | |
|
8
8
|
| **tax_id** | **String** | | [optional] |
|
9
9
|
| **email** | **String** | | [optional] |
|
10
10
|
| **phone** | **String** | | [optional] |
|