conekta 6.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
|
7
7
|
Contact: engineering@conekta.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -67,7 +67,6 @@ module Conekta
|
|
|
67
67
|
# List of class defined in allOf (OpenAPI v3)
|
|
68
68
|
def self.openapi_all_of
|
|
69
69
|
[
|
|
70
|
-
:'GetOrderDiscountLinesResponseAllOf',
|
|
71
70
|
:'Page',
|
|
72
71
|
:'Pagination'
|
|
73
72
|
]
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
|
7
7
|
Contact: engineering@conekta.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -67,7 +67,6 @@ module Conekta
|
|
|
67
67
|
# List of class defined in allOf (OpenAPI v3)
|
|
68
68
|
def self.openapi_all_of
|
|
69
69
|
[
|
|
70
|
-
:'GetPaymentMethodResponseAllOf',
|
|
71
70
|
:'Page',
|
|
72
71
|
:'Pagination'
|
|
73
72
|
]
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
|
7
7
|
Contact: engineering@conekta.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -67,7 +67,6 @@ module Conekta
|
|
|
67
67
|
# List of class defined in allOf (OpenAPI v3)
|
|
68
68
|
def self.openapi_all_of
|
|
69
69
|
[
|
|
70
|
-
:'GetPlansResponseAllOf',
|
|
71
70
|
:'Page',
|
|
72
71
|
:'Pagination'
|
|
73
72
|
]
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
|
7
7
|
Contact: engineering@conekta.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -68,7 +68,6 @@ module Conekta
|
|
|
68
68
|
# List of class defined in allOf (OpenAPI v3)
|
|
69
69
|
def self.openapi_all_of
|
|
70
70
|
[
|
|
71
|
-
:'GetTransactionsResponseAllOf',
|
|
72
71
|
:'Page',
|
|
73
72
|
:'Pagination'
|
|
74
73
|
]
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
|
7
7
|
Contact: engineering@conekta.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -68,7 +68,6 @@ module Conekta
|
|
|
68
68
|
# List of class defined in allOf (OpenAPI v3)
|
|
69
69
|
def self.openapi_all_of
|
|
70
70
|
[
|
|
71
|
-
:'GetTransfersResponseAllOf',
|
|
72
71
|
:'Page',
|
|
73
72
|
:'Pagination'
|
|
74
73
|
]
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
|
7
7
|
Contact: engineering@conekta.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -67,7 +67,6 @@ module Conekta
|
|
|
67
67
|
# List of class defined in allOf (OpenAPI v3)
|
|
68
68
|
def self.openapi_all_of
|
|
69
69
|
[
|
|
70
|
-
:'GetWebhookKeysResponseAllOf',
|
|
71
70
|
:'Page',
|
|
72
71
|
:'Pagination'
|
|
73
72
|
]
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
|
7
7
|
Contact: engineering@conekta.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -67,7 +67,6 @@ module Conekta
|
|
|
67
67
|
# List of class defined in allOf (OpenAPI v3)
|
|
68
68
|
def self.openapi_all_of
|
|
69
69
|
[
|
|
70
|
-
:'GetWebhooksResponseAllOf',
|
|
71
70
|
:'Page',
|
|
72
71
|
:'Pagination'
|
|
73
72
|
]
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
|
7
7
|
Contact: engineering@conekta.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -82,8 +82,7 @@ module Conekta
|
|
|
82
82
|
# List of class defined in allOf (OpenAPI v3)
|
|
83
83
|
def self.openapi_all_of
|
|
84
84
|
[
|
|
85
|
-
:'FiscalEntityAddress'
|
|
86
|
-
:'OrderFiscalEntityAddressResponseAllOf'
|
|
85
|
+
:'FiscalEntityAddress'
|
|
87
86
|
]
|
|
88
87
|
end
|
|
89
88
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
|
7
7
|
Contact: engineering@conekta.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -56,7 +56,6 @@ module Conekta
|
|
|
56
56
|
# List of class defined in allOf (OpenAPI v3)
|
|
57
57
|
def self.openapi_all_of
|
|
58
58
|
[
|
|
59
|
-
:'OrderResponseChargesAllOf',
|
|
60
59
|
:'Pagination'
|
|
61
60
|
]
|
|
62
61
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
|
7
7
|
Contact: engineering@conekta.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -15,8 +15,6 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Conekta
|
|
17
17
|
class OrderResponseCustomerInfo
|
|
18
|
-
attr_accessor :object
|
|
19
|
-
|
|
20
18
|
# Custom reference
|
|
21
19
|
attr_accessor :customer_custom_reference
|
|
22
20
|
|
|
@@ -28,17 +26,19 @@ module Conekta
|
|
|
28
26
|
|
|
29
27
|
attr_accessor :corporate
|
|
30
28
|
|
|
29
|
+
attr_accessor :object
|
|
30
|
+
|
|
31
31
|
attr_accessor :customer_id
|
|
32
32
|
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
34
|
def self.attribute_map
|
|
35
35
|
{
|
|
36
|
-
:'object' => :'object',
|
|
37
36
|
:'customer_custom_reference' => :'customer_custom_reference',
|
|
38
37
|
:'name' => :'name',
|
|
39
38
|
:'email' => :'email',
|
|
40
39
|
:'phone' => :'phone',
|
|
41
40
|
:'corporate' => :'corporate',
|
|
41
|
+
:'object' => :'object',
|
|
42
42
|
:'customer_id' => :'customer_id'
|
|
43
43
|
}
|
|
44
44
|
end
|
|
@@ -51,12 +51,12 @@ module Conekta
|
|
|
51
51
|
# Attribute type mapping.
|
|
52
52
|
def self.openapi_types
|
|
53
53
|
{
|
|
54
|
-
:'object' => :'String',
|
|
55
54
|
:'customer_custom_reference' => :'String',
|
|
56
55
|
:'name' => :'String',
|
|
57
56
|
:'email' => :'String',
|
|
58
57
|
:'phone' => :'String',
|
|
59
58
|
:'corporate' => :'Boolean',
|
|
59
|
+
:'object' => :'String',
|
|
60
60
|
:'customer_id' => :'String'
|
|
61
61
|
}
|
|
62
62
|
end
|
|
@@ -72,8 +72,7 @@ module Conekta
|
|
|
72
72
|
def self.openapi_all_of
|
|
73
73
|
[
|
|
74
74
|
:'CustomerInfoJustCustomerIdResponse',
|
|
75
|
-
:'OrderCustomerInfoResponse'
|
|
76
|
-
:'OrderResponseCustomerInfoAllOf'
|
|
75
|
+
:'OrderCustomerInfoResponse'
|
|
77
76
|
]
|
|
78
77
|
end
|
|
79
78
|
|
|
@@ -92,10 +91,6 @@ module Conekta
|
|
|
92
91
|
h[k.to_sym] = v
|
|
93
92
|
}
|
|
94
93
|
|
|
95
|
-
if attributes.key?(:'object')
|
|
96
|
-
self.object = attributes[:'object']
|
|
97
|
-
end
|
|
98
|
-
|
|
99
94
|
if attributes.key?(:'customer_custom_reference')
|
|
100
95
|
self.customer_custom_reference = attributes[:'customer_custom_reference']
|
|
101
96
|
end
|
|
@@ -118,6 +113,10 @@ module Conekta
|
|
|
118
113
|
self.corporate = false
|
|
119
114
|
end
|
|
120
115
|
|
|
116
|
+
if attributes.key?(:'object')
|
|
117
|
+
self.object = attributes[:'object']
|
|
118
|
+
end
|
|
119
|
+
|
|
121
120
|
if attributes.key?(:'customer_id')
|
|
122
121
|
self.customer_id = attributes[:'customer_id']
|
|
123
122
|
end
|
|
@@ -143,12 +142,12 @@ module Conekta
|
|
|
143
142
|
def ==(o)
|
|
144
143
|
return true if self.equal?(o)
|
|
145
144
|
self.class == o.class &&
|
|
146
|
-
object == o.object &&
|
|
147
145
|
customer_custom_reference == o.customer_custom_reference &&
|
|
148
146
|
name == o.name &&
|
|
149
147
|
email == o.email &&
|
|
150
148
|
phone == o.phone &&
|
|
151
149
|
corporate == o.corporate &&
|
|
150
|
+
object == o.object &&
|
|
152
151
|
customer_id == o.customer_id
|
|
153
152
|
end
|
|
154
153
|
|
|
@@ -161,7 +160,7 @@ module Conekta
|
|
|
161
160
|
# Calculates hash code according to all attributes.
|
|
162
161
|
# @return [Integer] Hash code
|
|
163
162
|
def hash
|
|
164
|
-
[
|
|
163
|
+
[customer_custom_reference, name, email, phone, corporate, object, customer_id].hash
|
|
165
164
|
end
|
|
166
165
|
|
|
167
166
|
# Builds the object from hash
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
|
7
7
|
Contact: engineering@conekta.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -55,7 +55,6 @@ module Conekta
|
|
|
55
55
|
# List of class defined in allOf (OpenAPI v3)
|
|
56
56
|
def self.openapi_all_of
|
|
57
57
|
[
|
|
58
|
-
:'OrderResponseDiscountLinesAllOf',
|
|
59
58
|
:'Pagination'
|
|
60
59
|
]
|
|
61
60
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
|
7
7
|
Contact: engineering@conekta.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -67,7 +67,6 @@ module Conekta
|
|
|
67
67
|
# List of class defined in allOf (OpenAPI v3)
|
|
68
68
|
def self.openapi_all_of
|
|
69
69
|
[
|
|
70
|
-
:'OrderResponseProductsAllOf',
|
|
71
70
|
:'Page',
|
|
72
71
|
:'Pagination'
|
|
73
72
|
]
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
|
7
7
|
Contact: engineering@conekta.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -15,12 +15,6 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Conekta
|
|
17
17
|
class OrderResponseShippingContact
|
|
18
|
-
attr_accessor :created_at
|
|
19
|
-
|
|
20
|
-
attr_accessor :id
|
|
21
|
-
|
|
22
|
-
attr_accessor :object
|
|
23
|
-
|
|
24
18
|
attr_accessor :phone
|
|
25
19
|
|
|
26
20
|
attr_accessor :receiver
|
|
@@ -33,24 +27,30 @@ module Conekta
|
|
|
33
27
|
|
|
34
28
|
attr_accessor :default
|
|
35
29
|
|
|
30
|
+
attr_accessor :id
|
|
31
|
+
|
|
32
|
+
attr_accessor :created_at
|
|
33
|
+
|
|
36
34
|
# Metadata associated with the shipping contact
|
|
37
35
|
attr_accessor :metadata
|
|
38
36
|
|
|
37
|
+
attr_accessor :object
|
|
38
|
+
|
|
39
39
|
attr_accessor :deleted
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
-
:'created_at' => :'created_at',
|
|
45
|
-
:'id' => :'id',
|
|
46
|
-
:'object' => :'object',
|
|
47
44
|
:'phone' => :'phone',
|
|
48
45
|
:'receiver' => :'receiver',
|
|
49
46
|
:'between_streets' => :'between_streets',
|
|
50
47
|
:'address' => :'address',
|
|
51
48
|
:'parent_id' => :'parent_id',
|
|
52
49
|
:'default' => :'default',
|
|
50
|
+
:'id' => :'id',
|
|
51
|
+
:'created_at' => :'created_at',
|
|
53
52
|
:'metadata' => :'metadata',
|
|
53
|
+
:'object' => :'object',
|
|
54
54
|
:'deleted' => :'deleted'
|
|
55
55
|
}
|
|
56
56
|
end
|
|
@@ -63,16 +63,16 @@ module Conekta
|
|
|
63
63
|
# Attribute type mapping.
|
|
64
64
|
def self.openapi_types
|
|
65
65
|
{
|
|
66
|
-
:'created_at' => :'Integer',
|
|
67
|
-
:'id' => :'String',
|
|
68
|
-
:'object' => :'String',
|
|
69
66
|
:'phone' => :'String',
|
|
70
67
|
:'receiver' => :'String',
|
|
71
68
|
:'between_streets' => :'String',
|
|
72
69
|
:'address' => :'CustomerShippingContactsResponseAddress',
|
|
73
70
|
:'parent_id' => :'String',
|
|
74
71
|
:'default' => :'Boolean',
|
|
72
|
+
:'id' => :'String',
|
|
73
|
+
:'created_at' => :'Integer',
|
|
75
74
|
:'metadata' => :'Hash<String, Object>',
|
|
75
|
+
:'object' => :'String',
|
|
76
76
|
:'deleted' => :'Boolean'
|
|
77
77
|
}
|
|
78
78
|
end
|
|
@@ -87,8 +87,7 @@ module Conekta
|
|
|
87
87
|
# List of class defined in allOf (OpenAPI v3)
|
|
88
88
|
def self.openapi_all_of
|
|
89
89
|
[
|
|
90
|
-
:'CustomerShippingContactsResponse'
|
|
91
|
-
:'OrderResponseShippingContactAllOf'
|
|
90
|
+
:'CustomerShippingContactsResponse'
|
|
92
91
|
]
|
|
93
92
|
end
|
|
94
93
|
|
|
@@ -107,18 +106,6 @@ module Conekta
|
|
|
107
106
|
h[k.to_sym] = v
|
|
108
107
|
}
|
|
109
108
|
|
|
110
|
-
if attributes.key?(:'created_at')
|
|
111
|
-
self.created_at = attributes[:'created_at']
|
|
112
|
-
end
|
|
113
|
-
|
|
114
|
-
if attributes.key?(:'id')
|
|
115
|
-
self.id = attributes[:'id']
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
if attributes.key?(:'object')
|
|
119
|
-
self.object = attributes[:'object']
|
|
120
|
-
end
|
|
121
|
-
|
|
122
109
|
if attributes.key?(:'phone')
|
|
123
110
|
self.phone = attributes[:'phone']
|
|
124
111
|
end
|
|
@@ -143,12 +130,24 @@ module Conekta
|
|
|
143
130
|
self.default = attributes[:'default']
|
|
144
131
|
end
|
|
145
132
|
|
|
133
|
+
if attributes.key?(:'id')
|
|
134
|
+
self.id = attributes[:'id']
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
if attributes.key?(:'created_at')
|
|
138
|
+
self.created_at = attributes[:'created_at']
|
|
139
|
+
end
|
|
140
|
+
|
|
146
141
|
if attributes.key?(:'metadata')
|
|
147
142
|
if (value = attributes[:'metadata']).is_a?(Hash)
|
|
148
143
|
self.metadata = value
|
|
149
144
|
end
|
|
150
145
|
end
|
|
151
146
|
|
|
147
|
+
if attributes.key?(:'object')
|
|
148
|
+
self.object = attributes[:'object']
|
|
149
|
+
end
|
|
150
|
+
|
|
152
151
|
if attributes.key?(:'deleted')
|
|
153
152
|
self.deleted = attributes[:'deleted']
|
|
154
153
|
end
|
|
@@ -193,16 +192,16 @@ module Conekta
|
|
|
193
192
|
def ==(o)
|
|
194
193
|
return true if self.equal?(o)
|
|
195
194
|
self.class == o.class &&
|
|
196
|
-
created_at == o.created_at &&
|
|
197
|
-
id == o.id &&
|
|
198
|
-
object == o.object &&
|
|
199
195
|
phone == o.phone &&
|
|
200
196
|
receiver == o.receiver &&
|
|
201
197
|
between_streets == o.between_streets &&
|
|
202
198
|
address == o.address &&
|
|
203
199
|
parent_id == o.parent_id &&
|
|
204
200
|
default == o.default &&
|
|
201
|
+
id == o.id &&
|
|
202
|
+
created_at == o.created_at &&
|
|
205
203
|
metadata == o.metadata &&
|
|
204
|
+
object == o.object &&
|
|
206
205
|
deleted == o.deleted
|
|
207
206
|
end
|
|
208
207
|
|
|
@@ -215,7 +214,7 @@ module Conekta
|
|
|
215
214
|
# Calculates hash code according to all attributes.
|
|
216
215
|
# @return [Integer] Hash code
|
|
217
216
|
def hash
|
|
218
|
-
[
|
|
217
|
+
[phone, receiver, between_streets, address, parent_id, default, id, created_at, metadata, object, deleted].hash
|
|
219
218
|
end
|
|
220
219
|
|
|
221
220
|
# Builds the object from hash
|