wallee-ruby-sdk 1.0.2 → 2.2.5
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/Gemfile +1 -1
- data/LICENSE +1 -1
- data/README.md +101 -38
- data/lib/wallee-ruby-sdk.rb +252 -116
- data/lib/wallee-ruby-sdk/{services → api}/account_service_api.rb +35 -39
- data/lib/wallee-ruby-sdk/{services → api}/application_user_service_api.rb +35 -39
- data/lib/wallee-ruby-sdk/{services → api}/card_processing_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/{services → api}/charge_attempt_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/{services/email_template_service_api.rb → api/charge_bank_transaction_service_api.rb} +36 -40
- data/lib/wallee-ruby-sdk/api/charge_flow_level_payment_link_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/{services → api}/charge_flow_level_service_api.rb +27 -31
- data/lib/wallee-ruby-sdk/{services → api}/charge_flow_service_api.rb +36 -40
- data/lib/wallee-ruby-sdk/{services → api}/condition_type_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/{services → api}/country_service_api.rb +5 -9
- data/lib/wallee-ruby-sdk/{services → api}/country_state_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/{services → api}/currency_service_api.rb +5 -9
- data/lib/wallee-ruby-sdk/api/customer_address_service_api.rb +460 -0
- data/lib/wallee-ruby-sdk/api/customer_comment_service_api.rb +522 -0
- data/lib/wallee-ruby-sdk/{services/token_service_api.rb → api/customer_service_api.rb} +68 -72
- data/lib/wallee-ruby-sdk/{services → api}/debt_collection_case_service_api.rb +87 -91
- data/lib/wallee-ruby-sdk/{services → api}/debt_collector_configuration_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/{services → api}/debt_collector_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/{services → api}/delivery_indication_service_api.rb +34 -38
- data/lib/wallee-ruby-sdk/{services → api}/document_template_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/{services → api}/document_template_type_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/api/external_transfer_bank_transaction_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/{services → api}/human_user_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/{services → api}/installment_payment_service_api.rb +29 -33
- data/lib/wallee-ruby-sdk/{services → api}/installment_payment_slice_service_api.rb +21 -25
- data/lib/wallee-ruby-sdk/{services → api}/installment_plan_calculation_service_api.rb +7 -11
- data/lib/wallee-ruby-sdk/{services → api}/installment_plan_configuration_service_api.rb +21 -25
- data/lib/wallee-ruby-sdk/{services → api}/installment_plan_slice_configuration_service_api.rb +21 -25
- data/lib/wallee-ruby-sdk/api/internal_transfer_bank_transaction_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/{services → api}/label_description_group_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/{services → api}/label_description_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/{services → api}/language_service_api.rb +5 -9
- data/lib/wallee-ruby-sdk/{services → api}/legal_organization_form_service_api.rb +17 -21
- data/lib/wallee-ruby-sdk/{services → api}/manual_task_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/{services → api}/mertic_usage_service_api.rb +8 -12
- data/lib/wallee-ruby-sdk/{services → api}/payment_connector_configuration_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/{services → api}/payment_connector_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/{services → api}/payment_link_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api/payment_method_brand_service_api.rb +139 -0
- data/lib/wallee-ruby-sdk/{services → api}/payment_method_configuration_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/{services → api}/payment_method_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/{services → api}/payment_processor_configuration_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/{services → api}/payment_processor_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/api/payment_terminal_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/api/payment_terminal_till_service_api.rb +99 -0
- data/lib/wallee-ruby-sdk/{services → api}/permission_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/api/refund_bank_transaction_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/api/refund_comment_service_api.rb +464 -0
- data/lib/wallee-ruby-sdk/api/refund_recovery_bank_transaction_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/{services → api}/refund_service_api.rb +117 -53
- data/lib/wallee-ruby-sdk/api/shopify_recurring_order_service_api.rb +274 -0
- data/lib/wallee-ruby-sdk/api/shopify_subscriber_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/api/shopify_subscription_product_service_api.rb +337 -0
- data/lib/wallee-ruby-sdk/api/shopify_subscription_service_api.rb +466 -0
- data/lib/wallee-ruby-sdk/api/shopify_subscription_suspension_service_api.rb +337 -0
- data/lib/wallee-ruby-sdk/api/shopify_subscription_version_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/api/shopify_transaction_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/{services → api}/space_service_api.rb +35 -39
- data/lib/wallee-ruby-sdk/{services → api}/static_value_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/{services → api}/subscriber_service_api.rb +44 -48
- data/lib/wallee-ruby-sdk/{services → api}/subscription_affiliate_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/{services → api}/subscription_charge_service_api.rb +34 -38
- data/lib/wallee-ruby-sdk/{services → api}/subscription_ledger_entry_service_api.rb +27 -31
- data/lib/wallee-ruby-sdk/{services → api}/subscription_metric_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/{services → api}/subscription_metric_usage_service_api.rb +27 -31
- data/lib/wallee-ruby-sdk/{services → api}/subscription_period_bill_service_api.rb +26 -30
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_component_group_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_component_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_fee_tier_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_metered_fee_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_period_fee_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_retirement_service_api.rb +27 -31
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_service_api.rb +34 -38
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_setup_fee_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_version_retirement_service_api.rb +27 -31
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_version_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/{services → api}/subscription_service_api.rb +237 -107
- data/lib/wallee-ruby-sdk/{services → api}/subscription_suspension_service_api.rb +34 -38
- data/lib/wallee-ruby-sdk/{services → api}/subscription_version_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/api/token_service_api.rb +587 -0
- data/lib/wallee-ruby-sdk/{services → api}/token_version_service_api.rb +27 -31
- data/lib/wallee-ruby-sdk/api/transaction_comment_service_api.rb +464 -0
- data/lib/wallee-ruby-sdk/{services → api}/transaction_completion_service_api.rb +158 -38
- data/lib/wallee-ruby-sdk/api/transaction_iframe_service_api.rb +91 -0
- data/lib/wallee-ruby-sdk/api/transaction_invoice_comment_service_api.rb +464 -0
- data/lib/wallee-ruby-sdk/{services → api}/transaction_invoice_service_api.rb +180 -53
- data/lib/wallee-ruby-sdk/api/transaction_lightbox_service_api.rb +91 -0
- data/lib/wallee-ruby-sdk/api/transaction_mobile_sdk_service_api.rb +86 -0
- data/lib/wallee-ruby-sdk/api/transaction_payment_page_service_api.rb +91 -0
- data/lib/wallee-ruby-sdk/{services → api}/transaction_service_api.rb +149 -327
- data/lib/wallee-ruby-sdk/api/transaction_terminal_service_api.rb +172 -0
- data/lib/wallee-ruby-sdk/{services → api}/transaction_void_service_api.rb +34 -38
- data/lib/wallee-ruby-sdk/{services → api}/user_account_role_service_api.rb +21 -25
- data/lib/wallee-ruby-sdk/{services → api}/user_space_role_service_api.rb +21 -25
- data/lib/wallee-ruby-sdk/{services → api}/webhook_listener_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/{services → api}/webhook_url_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api_client.rb +9 -8
- data/lib/wallee-ruby-sdk/api_error.rb +0 -4
- data/lib/wallee-ruby-sdk/configuration.rb +2 -6
- data/lib/wallee-ruby-sdk/models/abstract_account_update.rb +40 -14
- data/lib/wallee-ruby-sdk/models/abstract_application_user_update.rb +31 -14
- data/lib/wallee-ruby-sdk/models/abstract_customer_active.rb +312 -0
- data/lib/wallee-ruby-sdk/models/abstract_customer_address_active.rb +200 -0
- data/lib/wallee-ruby-sdk/models/abstract_customer_comment_active.rb +205 -0
- data/lib/wallee-ruby-sdk/models/abstract_debt_collection_case_update.rb +5 -13
- data/lib/wallee-ruby-sdk/models/abstract_human_user_update.rb +87 -15
- data/lib/wallee-ruby-sdk/models/abstract_payment_link_update.rb +35 -28
- data/lib/wallee-ruby-sdk/models/abstract_refund_comment_active.rb +205 -0
- data/lib/wallee-ruby-sdk/models/abstract_shopify_subscription_product_update.rb +320 -0
- data/lib/wallee-ruby-sdk/models/abstract_space_update.rb +51 -15
- data/lib/wallee-ruby-sdk/models/abstract_subscriber_update.rb +51 -14
- data/lib/wallee-ruby-sdk/models/abstract_subscription_affiliate_update.rb +30 -14
- data/lib/wallee-ruby-sdk/models/abstract_subscription_metric_update.rb +5 -13
- data/lib/wallee-ruby-sdk/models/abstract_subscription_product_active.rb +20 -13
- data/lib/wallee-ruby-sdk/models/abstract_token_update.rb +35 -13
- data/lib/wallee-ruby-sdk/models/abstract_transaction_comment_active.rb +205 -0
- data/lib/wallee-ruby-sdk/models/abstract_transaction_invoice_comment_active.rb +205 -0
- data/lib/wallee-ruby-sdk/models/abstract_transaction_pending.rb +127 -17
- data/lib/wallee-ruby-sdk/models/abstract_webhook_listener_update.rb +43 -14
- data/lib/wallee-ruby-sdk/models/abstract_webhook_url_update.rb +44 -13
- data/lib/wallee-ruby-sdk/models/account.rb +90 -13
- data/lib/wallee-ruby-sdk/models/account_create.rb +56 -14
- data/lib/wallee-ruby-sdk/models/account_state.rb +12 -20
- data/lib/wallee-ruby-sdk/models/account_type.rb +9 -17
- data/lib/wallee-ruby-sdk/models/account_update.rb +42 -15
- data/lib/wallee-ruby-sdk/models/address.rb +240 -22
- data/lib/wallee-ruby-sdk/models/address_create.rb +240 -22
- data/lib/wallee-ruby-sdk/models/application_user.rb +32 -14
- data/lib/wallee-ruby-sdk/models/application_user_create.rb +32 -14
- data/lib/wallee-ruby-sdk/models/application_user_create_with_mac_key.rb +31 -13
- data/lib/wallee-ruby-sdk/models/application_user_update.rb +33 -15
- data/lib/wallee-ruby-sdk/models/bank_account.rb +291 -0
- data/lib/wallee-ruby-sdk/models/bank_account_environment.rb +35 -0
- data/lib/wallee-ruby-sdk/models/bank_account_state.rb +37 -0
- data/lib/wallee-ruby-sdk/models/bank_account_type.rb +227 -0
- data/lib/wallee-ruby-sdk/models/bank_transaction.rb +387 -0
- data/lib/wallee-ruby-sdk/models/bank_transaction_flow_direction.rb +35 -0
- data/lib/wallee-ruby-sdk/models/{attachment_resource.rb → bank_transaction_source.rb} +33 -28
- data/lib/wallee-ruby-sdk/models/bank_transaction_state.rb +35 -0
- data/lib/wallee-ruby-sdk/models/bank_transaction_type.rb +215 -0
- data/lib/wallee-ruby-sdk/models/charge.rb +16 -13
- data/lib/wallee-ruby-sdk/models/charge_attempt.rb +61 -13
- data/lib/wallee-ruby-sdk/models/charge_attempt_environment.rb +8 -16
- data/lib/wallee-ruby-sdk/models/charge_attempt_state.rb +9 -17
- data/lib/wallee-ruby-sdk/models/charge_bank_transaction.rb +291 -0
- data/lib/wallee-ruby-sdk/models/charge_flow.rb +5 -12
- data/lib/wallee-ruby-sdk/models/charge_flow_level.rb +5 -12
- data/lib/wallee-ruby-sdk/models/charge_flow_level_configuration.rb +20 -12
- data/lib/wallee-ruby-sdk/models/charge_flow_level_configuration_type.rb +20 -15
- data/lib/wallee-ruby-sdk/models/charge_flow_level_payment_link.rb +231 -0
- data/lib/wallee-ruby-sdk/models/charge_flow_level_state.rb +9 -17
- data/lib/wallee-ruby-sdk/models/charge_state.rb +9 -17
- data/lib/wallee-ruby-sdk/models/charge_type.rb +10 -17
- data/lib/wallee-ruby-sdk/models/client_error.rb +5 -12
- data/lib/wallee-ruby-sdk/models/client_error_type.rb +9 -17
- data/lib/wallee-ruby-sdk/models/completion_line_item.rb +226 -0
- data/lib/wallee-ruby-sdk/models/completion_line_item_create.rb +245 -0
- data/lib/wallee-ruby-sdk/models/condition.rb +20 -12
- data/lib/wallee-ruby-sdk/models/condition_type.rb +7 -14
- data/lib/wallee-ruby-sdk/models/connector_invocation.rb +5 -12
- data/lib/wallee-ruby-sdk/models/connector_invocation_stage.rb +10 -18
- data/lib/wallee-ruby-sdk/models/creation_entity_state.rb +11 -19
- data/lib/wallee-ruby-sdk/models/criteria_operator.rb +18 -24
- data/lib/wallee-ruby-sdk/models/currency_bank_account.rb +241 -0
- data/lib/wallee-ruby-sdk/models/customer.rb +353 -0
- data/lib/wallee-ruby-sdk/models/customer_active.rb +343 -0
- data/lib/wallee-ruby-sdk/models/customer_address.rb +261 -0
- data/lib/wallee-ruby-sdk/models/customer_address_active.rb +231 -0
- data/lib/wallee-ruby-sdk/models/customer_address_create.rb +216 -0
- data/lib/wallee-ruby-sdk/models/customer_address_type.rb +36 -0
- data/lib/wallee-ruby-sdk/models/customer_comment.rb +296 -0
- data/lib/wallee-ruby-sdk/models/customer_comment_active.rb +236 -0
- data/lib/wallee-ruby-sdk/models/customer_comment_create.rb +221 -0
- data/lib/wallee-ruby-sdk/models/customer_create.rb +313 -0
- data/lib/wallee-ruby-sdk/models/customer_postal_address.rb +606 -0
- data/lib/wallee-ruby-sdk/models/customer_postal_address_create.rb +606 -0
- data/lib/wallee-ruby-sdk/models/customers_presence.rb +9 -17
- data/lib/wallee-ruby-sdk/models/data_collection_type.rb +8 -16
- data/lib/wallee-ruby-sdk/models/database_translated_string.rb +5 -12
- data/lib/wallee-ruby-sdk/models/database_translated_string_create.rb +5 -12
- data/lib/wallee-ruby-sdk/models/database_translated_string_item.rb +20 -12
- data/lib/wallee-ruby-sdk/models/database_translated_string_item_create.rb +21 -13
- data/lib/wallee-ruby-sdk/models/debt_collection_case.rb +5 -12
- data/lib/wallee-ruby-sdk/models/debt_collection_case_create.rb +7 -14
- data/lib/wallee-ruby-sdk/models/debt_collection_case_document.rb +50 -12
- data/lib/wallee-ruby-sdk/models/debt_collection_case_source.rb +7 -14
- data/lib/wallee-ruby-sdk/models/debt_collection_case_state.rb +13 -21
- data/lib/wallee-ruby-sdk/models/debt_collection_case_update.rb +7 -14
- data/lib/wallee-ruby-sdk/models/debt_collection_environment.rb +8 -16
- data/lib/wallee-ruby-sdk/models/debt_collection_receipt.rb +29 -12
- data/lib/wallee-ruby-sdk/models/debt_collection_receipt_source.rb +7 -14
- data/lib/wallee-ruby-sdk/models/debt_collector.rb +7 -14
- data/lib/wallee-ruby-sdk/models/debt_collector_condition.rb +20 -12
- data/lib/wallee-ruby-sdk/models/debt_collector_condition_type.rb +7 -14
- data/lib/wallee-ruby-sdk/models/debt_collector_configuration.rb +20 -12
- data/lib/wallee-ruby-sdk/models/delivery_indication.rb +16 -13
- data/lib/wallee-ruby-sdk/models/delivery_indication_decision_reason.rb +7 -14
- data/lib/wallee-ruby-sdk/models/delivery_indication_state.rb +10 -18
- data/lib/wallee-ruby-sdk/models/document_template.rb +41 -13
- data/lib/wallee-ruby-sdk/models/document_template_type.rb +18 -15
- data/lib/wallee-ruby-sdk/models/document_template_type_group.rb +203 -0
- data/lib/wallee-ruby-sdk/models/entity_export_request.rb +6 -13
- data/lib/wallee-ruby-sdk/models/entity_query.rb +5 -12
- data/lib/wallee-ruby-sdk/models/entity_query_filter.rb +6 -13
- data/lib/wallee-ruby-sdk/models/entity_query_filter_type.rb +9 -17
- data/lib/wallee-ruby-sdk/models/entity_query_order_by.rb +7 -14
- data/lib/wallee-ruby-sdk/models/entity_query_order_by_type.rb +8 -16
- data/lib/wallee-ruby-sdk/models/environment.rb +8 -16
- data/lib/wallee-ruby-sdk/models/external_transfer_bank_transaction.rb +251 -0
- data/lib/wallee-ruby-sdk/models/failure_category.rb +11 -19
- data/lib/wallee-ruby-sdk/models/failure_reason.rb +7 -14
- data/lib/wallee-ruby-sdk/models/feature.rb +18 -15
- data/lib/wallee-ruby-sdk/models/feature_category.rb +225 -0
- data/lib/wallee-ruby-sdk/models/gender.rb +8 -16
- data/lib/wallee-ruby-sdk/models/human_user.rb +107 -14
- data/lib/wallee-ruby-sdk/models/human_user_create.rb +86 -13
- data/lib/wallee-ruby-sdk/models/human_user_update.rb +88 -15
- data/lib/wallee-ruby-sdk/models/installment_calculated_plan.rb +5 -12
- data/lib/wallee-ruby-sdk/models/installment_calculated_slice.rb +5 -12
- data/lib/wallee-ruby-sdk/models/installment_payment.rb +5 -12
- data/lib/wallee-ruby-sdk/models/installment_payment_slice.rb +5 -12
- data/lib/wallee-ruby-sdk/models/installment_payment_slice_state.rb +13 -21
- data/lib/wallee-ruby-sdk/models/installment_payment_state.rb +14 -22
- data/lib/wallee-ruby-sdk/models/installment_plan_configuration.rb +20 -12
- data/lib/wallee-ruby-sdk/models/installment_plan_slice_configuration.rb +5 -12
- data/lib/wallee-ruby-sdk/models/internal_transfer_bank_transaction.rb +231 -0
- data/lib/wallee-ruby-sdk/models/label.rb +5 -12
- data/lib/wallee-ruby-sdk/models/label_descriptor.rb +7 -14
- data/lib/wallee-ruby-sdk/models/label_descriptor_category.rb +8 -16
- data/lib/wallee-ruby-sdk/models/label_descriptor_group.rb +7 -14
- data/lib/wallee-ruby-sdk/models/label_descriptor_type.rb +7 -14
- data/lib/wallee-ruby-sdk/models/legal_organization_form.rb +5 -12
- data/lib/wallee-ruby-sdk/models/line_item.rb +121 -14
- data/lib/wallee-ruby-sdk/models/line_item_attribute.rb +35 -12
- data/lib/wallee-ruby-sdk/models/line_item_attribute_create.rb +45 -14
- data/lib/wallee-ruby-sdk/models/line_item_create.rb +84 -19
- data/lib/wallee-ruby-sdk/models/line_item_reduction.rb +20 -12
- data/lib/wallee-ruby-sdk/models/line_item_reduction_create.rb +27 -15
- data/lib/wallee-ruby-sdk/models/line_item_type.rb +10 -18
- data/lib/wallee-ruby-sdk/models/localized_string.rb +5 -12
- data/lib/wallee-ruby-sdk/models/manual_task.rb +5 -12
- data/lib/wallee-ruby-sdk/models/manual_task_action.rb +6 -13
- data/lib/wallee-ruby-sdk/models/manual_task_action_style.rb +9 -17
- data/lib/wallee-ruby-sdk/models/manual_task_state.rb +9 -17
- data/lib/wallee-ruby-sdk/models/manual_task_type.rb +7 -14
- data/lib/wallee-ruby-sdk/models/metric_usage.rb +7 -14
- data/lib/wallee-ruby-sdk/models/one_click_payment_mode.rb +9 -17
- data/lib/wallee-ruby-sdk/models/payment_adjustment.rb +231 -0
- data/lib/wallee-ruby-sdk/models/payment_adjustment_type.rb +215 -0
- data/lib/wallee-ruby-sdk/models/payment_connector.rb +8 -15
- data/lib/wallee-ruby-sdk/models/payment_connector_configuration.rb +33 -13
- data/lib/wallee-ruby-sdk/models/payment_connector_feature.rb +5 -12
- data/lib/wallee-ruby-sdk/models/payment_contract.rb +29 -12
- data/lib/wallee-ruby-sdk/models/payment_contract_state.rb +11 -19
- data/lib/wallee-ruby-sdk/models/payment_contract_type.rb +7 -14
- data/lib/wallee-ruby-sdk/models/payment_information_hash.rb +211 -0
- data/lib/wallee-ruby-sdk/models/payment_information_hash_type.rb +203 -0
- data/lib/wallee-ruby-sdk/models/payment_link.rb +59 -27
- data/lib/wallee-ruby-sdk/models/payment_link_active.rb +37 -29
- data/lib/wallee-ruby-sdk/models/payment_link_address_handling_mode.rb +36 -0
- data/lib/wallee-ruby-sdk/models/payment_link_create.rb +64 -28
- data/lib/wallee-ruby-sdk/models/payment_link_protection_mode.rb +8 -16
- data/lib/wallee-ruby-sdk/models/payment_link_update.rb +37 -29
- data/lib/wallee-ruby-sdk/models/payment_method.rb +8 -15
- data/lib/wallee-ruby-sdk/models/payment_method_brand.rb +7 -14
- data/lib/wallee-ruby-sdk/models/payment_method_configuration.rb +22 -14
- data/lib/wallee-ruby-sdk/models/payment_primary_risk_taker.rb +9 -17
- data/lib/wallee-ruby-sdk/models/payment_processor.rb +10 -17
- data/lib/wallee-ruby-sdk/models/payment_processor_configuration.rb +20 -12
- data/lib/wallee-ruby-sdk/models/{email_template.rb → payment_terminal.rb} +51 -79
- data/lib/wallee-ruby-sdk/models/{space_address_setter.rb → payment_terminal_address.rb} +105 -27
- data/lib/wallee-ruby-sdk/models/{email_sender.rb → payment_terminal_configuration.rb} +34 -46
- data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_state.rb +37 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_version.rb +313 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_version_state.rb +38 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_location.rb +276 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_location_state.rb +37 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_location_version.rb +281 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_location_version_state.rb +38 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_state.rb +38 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_type.rb +215 -0
- data/lib/wallee-ruby-sdk/models/permission.rb +20 -17
- data/lib/wallee-ruby-sdk/models/persistable_currency_amount.rb +5 -12
- data/lib/wallee-ruby-sdk/models/persistable_currency_amount_update.rb +5 -12
- data/lib/wallee-ruby-sdk/models/product_fee_type.rb +9 -17
- data/lib/wallee-ruby-sdk/models/product_metered_fee.rb +5 -12
- data/lib/wallee-ruby-sdk/models/product_metered_fee_update.rb +7 -14
- data/lib/wallee-ruby-sdk/models/product_metered_tier_fee.rb +5 -12
- data/lib/wallee-ruby-sdk/models/product_metered_tier_fee_update.rb +7 -14
- data/lib/wallee-ruby-sdk/models/product_metered_tier_pricing.rb +8 -16
- data/lib/wallee-ruby-sdk/models/product_period_fee.rb +16 -13
- data/lib/wallee-ruby-sdk/models/product_period_fee_update.rb +18 -15
- data/lib/wallee-ruby-sdk/models/product_setup_fee.rb +5 -12
- data/lib/wallee-ruby-sdk/models/product_setup_fee_update.rb +7 -14
- data/lib/wallee-ruby-sdk/models/refund.rb +120 -13
- data/lib/wallee-ruby-sdk/models/refund_bank_transaction.rb +281 -0
- data/lib/wallee-ruby-sdk/models/refund_comment.rb +296 -0
- data/lib/wallee-ruby-sdk/models/refund_comment_active.rb +236 -0
- data/lib/wallee-ruby-sdk/models/refund_comment_create.rb +221 -0
- data/lib/wallee-ruby-sdk/models/refund_create.rb +67 -21
- data/lib/wallee-ruby-sdk/models/refund_recovery_bank_transaction.rb +293 -0
- data/lib/wallee-ruby-sdk/models/refund_state.rb +12 -19
- data/lib/wallee-ruby-sdk/models/refund_type.rb +10 -18
- data/lib/wallee-ruby-sdk/models/rendered_document.rb +5 -12
- data/lib/wallee-ruby-sdk/models/rendered_terminal_receipt.rb +203 -0
- data/lib/wallee-ruby-sdk/models/resource_path.rb +29 -12
- data/lib/wallee-ruby-sdk/models/resource_state.rb +9 -17
- data/lib/wallee-ruby-sdk/models/rest_address_format.rb +5 -12
- data/lib/wallee-ruby-sdk/models/rest_address_format_field.rb +16 -24
- data/lib/wallee-ruby-sdk/models/rest_country.rb +5 -12
- data/lib/wallee-ruby-sdk/models/rest_country_state.rb +5 -12
- data/lib/wallee-ruby-sdk/models/rest_currency.rb +5 -12
- data/lib/wallee-ruby-sdk/models/rest_language.rb +5 -12
- data/lib/wallee-ruby-sdk/models/role.rb +16 -13
- data/lib/wallee-ruby-sdk/models/{email_template_type.rb → sales_channel.rb} +27 -70
- data/lib/wallee-ruby-sdk/models/scope.rb +61 -13
- data/lib/wallee-ruby-sdk/models/server_error.rb +5 -12
- data/lib/wallee-ruby-sdk/models/shopify_additional_line_item_data.rb +35 -0
- data/lib/wallee-ruby-sdk/models/shopify_integration.rb +470 -0
- data/lib/wallee-ruby-sdk/models/shopify_integration_payment_app_version.rb +34 -0
- data/lib/wallee-ruby-sdk/models/shopify_integration_subscription_app_version.rb +36 -0
- data/lib/wallee-ruby-sdk/models/shopify_recurring_order.rb +351 -0
- data/lib/wallee-ruby-sdk/models/shopify_recurring_order_state.rb +39 -0
- data/lib/wallee-ruby-sdk/models/shopify_recurring_order_update_request.rb +201 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscriber.rb +281 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscriber_creation.rb +216 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscriber_state.rb +36 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription.rb +365 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_address.rb +546 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_address_create.rb +546 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_billing_interval_unit.rb +39 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_creation_request.rb +353 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_model_billing_configuration.rb +261 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_model_item.rb +233 -0
- data/lib/wallee-ruby-sdk/models/{entity_reference.rb → shopify_subscription_model_tax_line.rb} +27 -14
- data/lib/wallee-ruby-sdk/models/shopify_subscription_product.rb +471 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_product_create.rb +366 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_product_pricing_option.rb +38 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_product_state.rb +39 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_product_update.rb +351 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_state.rb +39 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension.rb +311 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension_create.rb +226 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension_initiator.rb +35 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension_state.rb +35 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension_type.rb +35 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_update_addresses_request.rb +211 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_update_request.rb +233 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_version.rb +453 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_version_item.rb +233 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_version_item_price_strategy.rb +35 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_version_state.rb +36 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_weekday.rb +40 -0
- data/lib/wallee-ruby-sdk/models/shopify_tax_line.rb +231 -0
- data/lib/wallee-ruby-sdk/models/shopify_transaction.rb +301 -0
- data/lib/wallee-ruby-sdk/models/shopify_transaction_state.rb +38 -0
- data/lib/wallee-ruby-sdk/models/space.rb +91 -14
- data/lib/wallee-ruby-sdk/models/space_address.rb +120 -22
- data/lib/wallee-ruby-sdk/models/space_address_create.rb +120 -22
- data/lib/wallee-ruby-sdk/models/space_create.rb +52 -15
- data/lib/wallee-ruby-sdk/models/space_reference.rb +5 -12
- data/lib/wallee-ruby-sdk/models/space_reference_state.rb +11 -19
- data/lib/wallee-ruby-sdk/models/space_update.rb +53 -16
- data/lib/wallee-ruby-sdk/models/space_view.rb +29 -12
- data/lib/wallee-ruby-sdk/models/static_value.rb +7 -14
- data/lib/wallee-ruby-sdk/models/subscriber.rb +51 -13
- data/lib/wallee-ruby-sdk/models/subscriber_active.rb +53 -15
- data/lib/wallee-ruby-sdk/models/subscriber_create.rb +52 -14
- data/lib/wallee-ruby-sdk/models/subscriber_update.rb +53 -15
- data/lib/wallee-ruby-sdk/models/subscription.rb +76 -13
- data/lib/wallee-ruby-sdk/models/subscription_affiliate.rb +78 -13
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_create.rb +92 -14
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_deleted.rb +78 -13
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_deleting.rb +78 -13
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_inactive.rb +32 -15
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_update.rb +32 -15
- data/lib/wallee-ruby-sdk/models/subscription_change_request.rb +25 -15
- data/lib/wallee-ruby-sdk/models/subscription_charge.rb +79 -13
- data/lib/wallee-ruby-sdk/models/subscription_charge_create.rb +71 -15
- data/lib/wallee-ruby-sdk/models/subscription_charge_processing_type.rb +8 -16
- data/lib/wallee-ruby-sdk/models/subscription_charge_state.rb +11 -19
- data/lib/wallee-ruby-sdk/models/subscription_charge_type.rb +8 -16
- data/lib/wallee-ruby-sdk/models/subscription_component_configuration.rb +201 -0
- data/lib/wallee-ruby-sdk/models/subscription_component_reference_configuration.rb +201 -0
- data/lib/wallee-ruby-sdk/models/subscription_create_request.rb +22 -17
- data/lib/wallee-ruby-sdk/models/subscription_ledger_entry.rb +40 -13
- data/lib/wallee-ruby-sdk/models/subscription_ledger_entry_create.rb +38 -17
- data/lib/wallee-ruby-sdk/models/subscription_ledger_entry_state.rb +9 -17
- data/lib/wallee-ruby-sdk/models/subscription_metric.rb +5 -12
- data/lib/wallee-ruby-sdk/models/subscription_metric_active.rb +7 -14
- data/lib/wallee-ruby-sdk/models/subscription_metric_create.rb +7 -14
- data/lib/wallee-ruby-sdk/models/subscription_metric_type.rb +7 -14
- data/lib/wallee-ruby-sdk/models/subscription_metric_update.rb +7 -14
- data/lib/wallee-ruby-sdk/models/subscription_metric_usage_report.rb +20 -12
- data/lib/wallee-ruby-sdk/models/subscription_metric_usage_report_create.rb +24 -16
- data/lib/wallee-ruby-sdk/models/subscription_pending.rb +48 -25
- data/lib/wallee-ruby-sdk/models/subscription_period_bill.rb +5 -12
- data/lib/wallee-ruby-sdk/models/subscription_period_bill_state.rb +8 -16
- data/lib/wallee-ruby-sdk/models/subscription_product.rb +35 -12
- data/lib/wallee-ruby-sdk/models/subscription_product_active.rb +22 -14
- data/lib/wallee-ruby-sdk/models/subscription_product_component.rb +36 -13
- data/lib/wallee-ruby-sdk/models/subscription_product_component_group.rb +5 -12
- data/lib/wallee-ruby-sdk/models/subscription_product_component_group_update.rb +7 -14
- data/lib/wallee-ruby-sdk/models/subscription_product_component_reference.rb +20 -12
- data/lib/wallee-ruby-sdk/models/subscription_product_component_reference_state.rb +10 -18
- data/lib/wallee-ruby-sdk/models/subscription_product_component_update.rb +38 -15
- data/lib/wallee-ruby-sdk/models/subscription_product_create.rb +40 -13
- data/lib/wallee-ruby-sdk/models/subscription_product_retirement.rb +5 -12
- data/lib/wallee-ruby-sdk/models/subscription_product_retirement_create.rb +6 -13
- data/lib/wallee-ruby-sdk/models/subscription_product_state.rb +11 -19
- data/lib/wallee-ruby-sdk/models/subscription_product_version.rb +31 -13
- data/lib/wallee-ruby-sdk/models/subscription_product_version_pending.rb +19 -16
- data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement.rb +5 -12
- data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement_create.rb +6 -13
- data/lib/wallee-ruby-sdk/models/subscription_product_version_state.rb +11 -19
- data/lib/wallee-ruby-sdk/models/subscription_state.rb +14 -21
- data/lib/wallee-ruby-sdk/models/subscription_suspension.rb +20 -12
- data/lib/wallee-ruby-sdk/models/subscription_suspension_action.rb +8 -16
- data/lib/wallee-ruby-sdk/models/subscription_suspension_create.rb +23 -15
- data/lib/wallee-ruby-sdk/models/subscription_suspension_reason.rb +9 -17
- data/lib/wallee-ruby-sdk/models/subscription_suspension_running.rb +20 -12
- data/lib/wallee-ruby-sdk/models/subscription_suspension_state.rb +8 -16
- data/lib/wallee-ruby-sdk/models/subscription_update.rb +33 -15
- data/lib/wallee-ruby-sdk/models/subscription_update_request.rb +206 -0
- data/lib/wallee-ruby-sdk/models/subscription_version.rb +18 -13
- data/lib/wallee-ruby-sdk/models/subscription_version_state.rb +12 -20
- data/lib/wallee-ruby-sdk/models/tax.rb +29 -12
- data/lib/wallee-ruby-sdk/models/tax_calculation.rb +35 -0
- data/lib/wallee-ruby-sdk/models/tax_class.rb +20 -12
- data/lib/wallee-ruby-sdk/models/tax_create.rb +35 -14
- data/lib/wallee-ruby-sdk/models/tenant_database.rb +20 -12
- data/lib/wallee-ruby-sdk/models/token.rb +59 -12
- data/lib/wallee-ruby-sdk/models/token_create.rb +64 -13
- data/lib/wallee-ruby-sdk/models/token_update.rb +37 -14
- data/lib/wallee-ruby-sdk/models/token_version.rb +78 -13
- data/lib/wallee-ruby-sdk/models/token_version_state.rb +9 -17
- data/lib/wallee-ruby-sdk/models/token_version_type.rb +7 -14
- data/lib/wallee-ruby-sdk/models/{tokenizationn_mode.rb → tokenization_mode.rb} +11 -18
- data/lib/wallee-ruby-sdk/models/transaction.rb +292 -17
- data/lib/wallee-ruby-sdk/models/transaction_aware_entity.rb +5 -12
- data/lib/wallee-ruby-sdk/models/transaction_comment.rb +296 -0
- data/lib/wallee-ruby-sdk/models/transaction_comment_active.rb +236 -0
- data/lib/wallee-ruby-sdk/models/transaction_comment_create.rb +221 -0
- data/lib/wallee-ruby-sdk/models/transaction_completion.rb +151 -13
- data/lib/wallee-ruby-sdk/models/transaction_completion_behavior.rb +36 -0
- data/lib/wallee-ruby-sdk/models/transaction_completion_mode.rb +9 -17
- data/lib/wallee-ruby-sdk/models/transaction_completion_request.rb +291 -0
- data/lib/wallee-ruby-sdk/models/transaction_completion_state.rb +11 -18
- data/lib/wallee-ruby-sdk/models/transaction_create.rb +162 -17
- data/lib/wallee-ruby-sdk/models/transaction_environment_selection_strategy.rb +9 -16
- data/lib/wallee-ruby-sdk/models/transaction_group.rb +20 -12
- data/lib/wallee-ruby-sdk/models/transaction_group_state.rb +9 -17
- data/lib/wallee-ruby-sdk/models/transaction_invoice.rb +76 -14
- data/lib/wallee-ruby-sdk/models/transaction_invoice_comment.rb +296 -0
- data/lib/wallee-ruby-sdk/models/transaction_invoice_comment_active.rb +236 -0
- data/lib/wallee-ruby-sdk/models/transaction_invoice_comment_create.rb +221 -0
- data/lib/wallee-ruby-sdk/models/transaction_invoice_replacement.rb +62 -16
- data/lib/wallee-ruby-sdk/models/transaction_invoice_state.rb +13 -21
- data/lib/wallee-ruby-sdk/models/transaction_line_item_update_request.rb +6 -13
- data/lib/wallee-ruby-sdk/models/transaction_line_item_version.rb +5 -12
- data/lib/wallee-ruby-sdk/models/transaction_pending.rb +129 -18
- data/lib/wallee-ruby-sdk/models/transaction_state.rb +16 -24
- data/lib/wallee-ruby-sdk/models/transaction_user_interface_type.rb +11 -17
- data/lib/wallee-ruby-sdk/models/transaction_void.rb +5 -12
- data/lib/wallee-ruby-sdk/models/transaction_void_mode.rb +8 -16
- data/lib/wallee-ruby-sdk/models/transaction_void_state.rb +10 -18
- data/lib/wallee-ruby-sdk/models/{email_sender_type.rb → two_factor_authentication_type.rb} +19 -16
- data/lib/wallee-ruby-sdk/models/unencrypted_card_data.rb +68 -12
- data/lib/wallee-ruby-sdk/models/unencrypted_card_data_create.rb +73 -13
- data/lib/wallee-ruby-sdk/models/user.rb +5 -12
- data/lib/wallee-ruby-sdk/models/user_account_role.rb +5 -12
- data/lib/wallee-ruby-sdk/models/user_space_role.rb +5 -12
- data/lib/wallee-ruby-sdk/models/user_type.rb +11 -19
- data/lib/wallee-ruby-sdk/models/webhook_identity.rb +20 -12
- data/lib/wallee-ruby-sdk/models/webhook_listener.rb +20 -12
- data/lib/wallee-ruby-sdk/models/webhook_listener_create.rb +44 -41
- data/lib/wallee-ruby-sdk/models/webhook_listener_entity.rb +6 -13
- data/lib/wallee-ruby-sdk/models/webhook_listener_update.rb +45 -15
- data/lib/wallee-ruby-sdk/models/webhook_url.rb +44 -12
- data/lib/wallee-ruby-sdk/models/webhook_url_create.rb +44 -12
- data/lib/wallee-ruby-sdk/models/webhook_url_update.rb +46 -14
- data/lib/wallee-ruby-sdk/version.rb +1 -5
- data/test/condition_type_service_test.rb +22 -0
- data/test/{transactioncreate.rb → transaction_create_service_test.rb} +2 -2
- data/test/transaction_payment_page_service_test.rb +91 -0
- data/wallee-ruby-sdk.gemspec +5 -8
- metadata +248 -96
- data/lib/wallee-ruby-sdk/services/email_sender_service_api.rb +0 -219
- data/lib/wallee-ruby-sdk/services/email_sender_type_service_api.rb +0 -143
- data/lib/wallee-ruby-sdk/services/email_template_type_service_api.rb +0 -143
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
Wallee API: 1.0.0
|
|
3
|
-
|
|
4
2
|
The wallee API allows an easy interaction with the wallee web service.
|
|
5
3
|
|
|
6
|
-
|
|
7
|
-
|
|
8
4
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
5
|
you may not use this file except in compliance with the License.
|
|
10
6
|
You may obtain a copy of the License at
|
|
@@ -22,7 +18,7 @@ limitations under the License.
|
|
|
22
18
|
require "uri"
|
|
23
19
|
|
|
24
20
|
module Wallee
|
|
25
|
-
class
|
|
21
|
+
class CustomerService
|
|
26
22
|
attr_accessor :api_client
|
|
27
23
|
|
|
28
24
|
def initialize(api_client = ApiClient.default)
|
|
@@ -35,8 +31,8 @@ module Wallee
|
|
|
35
31
|
# @param [Hash] opts the optional parameters
|
|
36
32
|
# @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
|
|
37
33
|
# @return [Integer]
|
|
38
|
-
def
|
|
39
|
-
data, _status_code, _headers =
|
|
34
|
+
def count(space_id, opts = {})
|
|
35
|
+
data, _status_code, _headers = count_with_http_info(space_id, opts)
|
|
40
36
|
return data
|
|
41
37
|
end
|
|
42
38
|
|
|
@@ -46,14 +42,14 @@ module Wallee
|
|
|
46
42
|
# @param [Hash] opts the optional parameters
|
|
47
43
|
# @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
|
|
48
44
|
# @return [Array<(Integer, Fixnum, Hash)>] Integer data, response status code and response headers
|
|
49
|
-
def
|
|
45
|
+
def count_with_http_info(space_id, opts = {})
|
|
50
46
|
if @api_client.config.debugging
|
|
51
|
-
@api_client.config.logger.debug "Calling API:
|
|
47
|
+
@api_client.config.logger.debug "Calling API: CustomerService.count ..."
|
|
52
48
|
end
|
|
53
49
|
# verify the required parameter 'space_id' is set
|
|
54
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling
|
|
50
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.count" if space_id.nil?
|
|
55
51
|
# resource path
|
|
56
|
-
local_var_path = "/
|
|
52
|
+
local_var_path = "/customer/count".sub('{format}','json')
|
|
57
53
|
|
|
58
54
|
# query parameters
|
|
59
55
|
query_params = {}
|
|
@@ -84,7 +80,7 @@ module Wallee
|
|
|
84
80
|
:auth_names => auth_names,
|
|
85
81
|
:return_type => 'Integer')
|
|
86
82
|
if @api_client.config.debugging
|
|
87
|
-
@api_client.config.logger.debug "API called:
|
|
83
|
+
@api_client.config.logger.debug "API called: CustomerService#count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
88
84
|
end
|
|
89
85
|
return data, status_code, headers
|
|
90
86
|
end
|
|
@@ -92,30 +88,30 @@ module Wallee
|
|
|
92
88
|
# Create
|
|
93
89
|
# Creates the entity with the given properties.
|
|
94
90
|
# @param space_id
|
|
95
|
-
# @param entity The
|
|
91
|
+
# @param entity The customer object which should be created.
|
|
96
92
|
# @param [Hash] opts the optional parameters
|
|
97
|
-
# @return [
|
|
98
|
-
def
|
|
99
|
-
data, _status_code, _headers =
|
|
93
|
+
# @return [Customer]
|
|
94
|
+
def create(space_id, entity, opts = {})
|
|
95
|
+
data, _status_code, _headers = create_with_http_info(space_id, entity, opts)
|
|
100
96
|
return data
|
|
101
97
|
end
|
|
102
98
|
|
|
103
99
|
# Create
|
|
104
100
|
# Creates the entity with the given properties.
|
|
105
101
|
# @param space_id
|
|
106
|
-
# @param entity The
|
|
102
|
+
# @param entity The customer object which should be created.
|
|
107
103
|
# @param [Hash] opts the optional parameters
|
|
108
|
-
# @return [Array<(
|
|
109
|
-
def
|
|
104
|
+
# @return [Array<(Customer, Fixnum, Hash)>] Customer data, response status code and response headers
|
|
105
|
+
def create_with_http_info(space_id, entity, opts = {})
|
|
110
106
|
if @api_client.config.debugging
|
|
111
|
-
@api_client.config.logger.debug "Calling API:
|
|
107
|
+
@api_client.config.logger.debug "Calling API: CustomerService.create ..."
|
|
112
108
|
end
|
|
113
109
|
# verify the required parameter 'space_id' is set
|
|
114
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling
|
|
110
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.create" if space_id.nil?
|
|
115
111
|
# verify the required parameter 'entity' is set
|
|
116
|
-
fail ArgumentError, "Missing the required parameter 'entity' when calling
|
|
112
|
+
fail ArgumentError, "Missing the required parameter 'entity' when calling CustomerService.create" if entity.nil?
|
|
117
113
|
# resource path
|
|
118
|
-
local_var_path = "/
|
|
114
|
+
local_var_path = "/customer/create".sub('{format}','json')
|
|
119
115
|
|
|
120
116
|
# query parameters
|
|
121
117
|
query_params = {}
|
|
@@ -144,9 +140,9 @@ module Wallee
|
|
|
144
140
|
:form_params => form_params,
|
|
145
141
|
:body => post_body,
|
|
146
142
|
:auth_names => auth_names,
|
|
147
|
-
:return_type => '
|
|
143
|
+
:return_type => 'Customer')
|
|
148
144
|
if @api_client.config.debugging
|
|
149
|
-
@api_client.config.logger.debug "API called:
|
|
145
|
+
@api_client.config.logger.debug "API called: CustomerService#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
150
146
|
end
|
|
151
147
|
return data, status_code, headers
|
|
152
148
|
end
|
|
@@ -157,8 +153,8 @@ module Wallee
|
|
|
157
153
|
# @param id
|
|
158
154
|
# @param [Hash] opts the optional parameters
|
|
159
155
|
# @return [nil]
|
|
160
|
-
def
|
|
161
|
-
|
|
156
|
+
def delete(space_id, id, opts = {})
|
|
157
|
+
delete_with_http_info(space_id, id, opts)
|
|
162
158
|
return nil
|
|
163
159
|
end
|
|
164
160
|
|
|
@@ -168,16 +164,16 @@ module Wallee
|
|
|
168
164
|
# @param id
|
|
169
165
|
# @param [Hash] opts the optional parameters
|
|
170
166
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
171
|
-
def
|
|
167
|
+
def delete_with_http_info(space_id, id, opts = {})
|
|
172
168
|
if @api_client.config.debugging
|
|
173
|
-
@api_client.config.logger.debug "Calling API:
|
|
169
|
+
@api_client.config.logger.debug "Calling API: CustomerService.delete ..."
|
|
174
170
|
end
|
|
175
171
|
# verify the required parameter 'space_id' is set
|
|
176
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling
|
|
172
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.delete" if space_id.nil?
|
|
177
173
|
# verify the required parameter 'id' is set
|
|
178
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling
|
|
174
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CustomerService.delete" if id.nil?
|
|
179
175
|
# resource path
|
|
180
|
-
local_var_path = "/
|
|
176
|
+
local_var_path = "/customer/delete".sub('{format}','json')
|
|
181
177
|
|
|
182
178
|
# query parameters
|
|
183
179
|
query_params = {}
|
|
@@ -207,7 +203,7 @@ module Wallee
|
|
|
207
203
|
:body => post_body,
|
|
208
204
|
:auth_names => auth_names)
|
|
209
205
|
if @api_client.config.debugging
|
|
210
|
-
@api_client.config.logger.debug "API called:
|
|
206
|
+
@api_client.config.logger.debug "API called: CustomerService#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
211
207
|
end
|
|
212
208
|
return data, status_code, headers
|
|
213
209
|
end
|
|
@@ -215,30 +211,30 @@ module Wallee
|
|
|
215
211
|
# Read
|
|
216
212
|
# Reads the entity with the given 'id' and returns it.
|
|
217
213
|
# @param space_id
|
|
218
|
-
# @param id The id of the
|
|
214
|
+
# @param id The id of the customer which should be returned.
|
|
219
215
|
# @param [Hash] opts the optional parameters
|
|
220
|
-
# @return [
|
|
221
|
-
def
|
|
222
|
-
data, _status_code, _headers =
|
|
216
|
+
# @return [Customer]
|
|
217
|
+
def read(space_id, id, opts = {})
|
|
218
|
+
data, _status_code, _headers = read_with_http_info(space_id, id, opts)
|
|
223
219
|
return data
|
|
224
220
|
end
|
|
225
221
|
|
|
226
222
|
# Read
|
|
227
223
|
# Reads the entity with the given 'id' and returns it.
|
|
228
224
|
# @param space_id
|
|
229
|
-
# @param id The id of the
|
|
225
|
+
# @param id The id of the customer which should be returned.
|
|
230
226
|
# @param [Hash] opts the optional parameters
|
|
231
|
-
# @return [Array<(
|
|
232
|
-
def
|
|
227
|
+
# @return [Array<(Customer, Fixnum, Hash)>] Customer data, response status code and response headers
|
|
228
|
+
def read_with_http_info(space_id, id, opts = {})
|
|
233
229
|
if @api_client.config.debugging
|
|
234
|
-
@api_client.config.logger.debug "Calling API:
|
|
230
|
+
@api_client.config.logger.debug "Calling API: CustomerService.read ..."
|
|
235
231
|
end
|
|
236
232
|
# verify the required parameter 'space_id' is set
|
|
237
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling
|
|
233
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.read" if space_id.nil?
|
|
238
234
|
# verify the required parameter 'id' is set
|
|
239
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling
|
|
235
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CustomerService.read" if id.nil?
|
|
240
236
|
# resource path
|
|
241
|
-
local_var_path = "/
|
|
237
|
+
local_var_path = "/customer/read".sub('{format}','json')
|
|
242
238
|
|
|
243
239
|
# query parameters
|
|
244
240
|
query_params = {}
|
|
@@ -268,9 +264,9 @@ module Wallee
|
|
|
268
264
|
:form_params => form_params,
|
|
269
265
|
:body => post_body,
|
|
270
266
|
:auth_names => auth_names,
|
|
271
|
-
:return_type => '
|
|
267
|
+
:return_type => 'Customer')
|
|
272
268
|
if @api_client.config.debugging
|
|
273
|
-
@api_client.config.logger.debug "API called:
|
|
269
|
+
@api_client.config.logger.debug "API called: CustomerService#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
274
270
|
end
|
|
275
271
|
return data, status_code, headers
|
|
276
272
|
end
|
|
@@ -278,30 +274,30 @@ module Wallee
|
|
|
278
274
|
# Search
|
|
279
275
|
# Searches for the entities as specified by the given query.
|
|
280
276
|
# @param space_id
|
|
281
|
-
# @param query The query restricts the
|
|
277
|
+
# @param query The query restricts the customers which are returned by the search.
|
|
282
278
|
# @param [Hash] opts the optional parameters
|
|
283
|
-
# @return [Array<
|
|
284
|
-
def
|
|
285
|
-
data, _status_code, _headers =
|
|
279
|
+
# @return [Array<Customer>]
|
|
280
|
+
def search(space_id, query, opts = {})
|
|
281
|
+
data, _status_code, _headers = search_with_http_info(space_id, query, opts)
|
|
286
282
|
return data
|
|
287
283
|
end
|
|
288
284
|
|
|
289
285
|
# Search
|
|
290
286
|
# Searches for the entities as specified by the given query.
|
|
291
287
|
# @param space_id
|
|
292
|
-
# @param query The query restricts the
|
|
288
|
+
# @param query The query restricts the customers which are returned by the search.
|
|
293
289
|
# @param [Hash] opts the optional parameters
|
|
294
|
-
# @return [Array<(Array<
|
|
295
|
-
def
|
|
290
|
+
# @return [Array<(Array<Customer>, Fixnum, Hash)>] Array<Customer> data, response status code and response headers
|
|
291
|
+
def search_with_http_info(space_id, query, opts = {})
|
|
296
292
|
if @api_client.config.debugging
|
|
297
|
-
@api_client.config.logger.debug "Calling API:
|
|
293
|
+
@api_client.config.logger.debug "Calling API: CustomerService.search ..."
|
|
298
294
|
end
|
|
299
295
|
# verify the required parameter 'space_id' is set
|
|
300
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling
|
|
296
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.search" if space_id.nil?
|
|
301
297
|
# verify the required parameter 'query' is set
|
|
302
|
-
fail ArgumentError, "Missing the required parameter 'query' when calling
|
|
298
|
+
fail ArgumentError, "Missing the required parameter 'query' when calling CustomerService.search" if query.nil?
|
|
303
299
|
# resource path
|
|
304
|
-
local_var_path = "/
|
|
300
|
+
local_var_path = "/customer/search".sub('{format}','json')
|
|
305
301
|
|
|
306
302
|
# query parameters
|
|
307
303
|
query_params = {}
|
|
@@ -330,9 +326,9 @@ module Wallee
|
|
|
330
326
|
:form_params => form_params,
|
|
331
327
|
:body => post_body,
|
|
332
328
|
:auth_names => auth_names,
|
|
333
|
-
:return_type => 'Array<
|
|
329
|
+
:return_type => 'Array<Customer>')
|
|
334
330
|
if @api_client.config.debugging
|
|
335
|
-
@api_client.config.logger.debug "API called:
|
|
331
|
+
@api_client.config.logger.debug "API called: CustomerService#search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
336
332
|
end
|
|
337
333
|
return data, status_code, headers
|
|
338
334
|
end
|
|
@@ -340,30 +336,30 @@ module Wallee
|
|
|
340
336
|
# Update
|
|
341
337
|
# This updates the entity with the given properties. Only those properties which should be updated can be provided. The 'id' and 'version' are required to identify the entity.
|
|
342
338
|
# @param space_id
|
|
343
|
-
# @param entity The object with
|
|
339
|
+
# @param entity The customer object with the properties which should be updated.
|
|
344
340
|
# @param [Hash] opts the optional parameters
|
|
345
|
-
# @return [
|
|
346
|
-
def
|
|
347
|
-
data, _status_code, _headers =
|
|
341
|
+
# @return [Customer]
|
|
342
|
+
def update(space_id, entity, opts = {})
|
|
343
|
+
data, _status_code, _headers = update_with_http_info(space_id, entity, opts)
|
|
348
344
|
return data
|
|
349
345
|
end
|
|
350
346
|
|
|
351
347
|
# Update
|
|
352
348
|
# This updates the entity with the given properties. Only those properties which should be updated can be provided. The 'id' and 'version' are required to identify the entity.
|
|
353
349
|
# @param space_id
|
|
354
|
-
# @param entity The object with
|
|
350
|
+
# @param entity The customer object with the properties which should be updated.
|
|
355
351
|
# @param [Hash] opts the optional parameters
|
|
356
|
-
# @return [Array<(
|
|
357
|
-
def
|
|
352
|
+
# @return [Array<(Customer, Fixnum, Hash)>] Customer data, response status code and response headers
|
|
353
|
+
def update_with_http_info(space_id, entity, opts = {})
|
|
358
354
|
if @api_client.config.debugging
|
|
359
|
-
@api_client.config.logger.debug "Calling API:
|
|
355
|
+
@api_client.config.logger.debug "Calling API: CustomerService.update ..."
|
|
360
356
|
end
|
|
361
357
|
# verify the required parameter 'space_id' is set
|
|
362
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling
|
|
358
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.update" if space_id.nil?
|
|
363
359
|
# verify the required parameter 'entity' is set
|
|
364
|
-
fail ArgumentError, "Missing the required parameter 'entity' when calling
|
|
360
|
+
fail ArgumentError, "Missing the required parameter 'entity' when calling CustomerService.update" if entity.nil?
|
|
365
361
|
# resource path
|
|
366
|
-
local_var_path = "/
|
|
362
|
+
local_var_path = "/customer/update".sub('{format}','json')
|
|
367
363
|
|
|
368
364
|
# query parameters
|
|
369
365
|
query_params = {}
|
|
@@ -392,9 +388,9 @@ module Wallee
|
|
|
392
388
|
:form_params => form_params,
|
|
393
389
|
:body => post_body,
|
|
394
390
|
:auth_names => auth_names,
|
|
395
|
-
:return_type => '
|
|
391
|
+
:return_type => 'Customer')
|
|
396
392
|
if @api_client.config.debugging
|
|
397
|
-
@api_client.config.logger.debug "API called:
|
|
393
|
+
@api_client.config.logger.debug "API called: CustomerService#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
398
394
|
end
|
|
399
395
|
return data, status_code, headers
|
|
400
396
|
end
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
Wallee API: 1.0.0
|
|
3
|
-
|
|
4
2
|
The wallee API allows an easy interaction with the wallee web service.
|
|
5
3
|
|
|
6
|
-
|
|
7
|
-
|
|
8
4
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
5
|
you may not use this file except in compliance with the License.
|
|
10
6
|
You may obtain a copy of the License at
|
|
@@ -37,8 +33,8 @@ module Wallee
|
|
|
37
33
|
# @param external_id The unique external id of this payment receipt.
|
|
38
34
|
# @param [Hash] opts the optional parameters
|
|
39
35
|
# @return [DebtCollectionReceipt]
|
|
40
|
-
def
|
|
41
|
-
data, _status_code, _headers =
|
|
36
|
+
def add_collected_amount(space_id, id, collected_amount, external_id, opts = {})
|
|
37
|
+
data, _status_code, _headers = add_collected_amount_with_http_info(space_id, id, collected_amount, external_id, opts)
|
|
42
38
|
return data
|
|
43
39
|
end
|
|
44
40
|
|
|
@@ -50,18 +46,18 @@ module Wallee
|
|
|
50
46
|
# @param external_id The unique external id of this payment receipt.
|
|
51
47
|
# @param [Hash] opts the optional parameters
|
|
52
48
|
# @return [Array<(DebtCollectionReceipt, Fixnum, Hash)>] DebtCollectionReceipt data, response status code and response headers
|
|
53
|
-
def
|
|
49
|
+
def add_collected_amount_with_http_info(space_id, id, collected_amount, external_id, opts = {})
|
|
54
50
|
if @api_client.config.debugging
|
|
55
|
-
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.
|
|
51
|
+
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.add_collected_amount ..."
|
|
56
52
|
end
|
|
57
53
|
# verify the required parameter 'space_id' is set
|
|
58
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.
|
|
54
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.add_collected_amount" if space_id.nil?
|
|
59
55
|
# verify the required parameter 'id' is set
|
|
60
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.
|
|
56
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.add_collected_amount" if id.nil?
|
|
61
57
|
# verify the required parameter 'collected_amount' is set
|
|
62
|
-
fail ArgumentError, "Missing the required parameter 'collected_amount' when calling DebtCollectionCaseService.
|
|
58
|
+
fail ArgumentError, "Missing the required parameter 'collected_amount' when calling DebtCollectionCaseService.add_collected_amount" if collected_amount.nil?
|
|
63
59
|
# verify the required parameter 'external_id' is set
|
|
64
|
-
fail ArgumentError, "Missing the required parameter 'external_id' when calling DebtCollectionCaseService.
|
|
60
|
+
fail ArgumentError, "Missing the required parameter 'external_id' when calling DebtCollectionCaseService.add_collected_amount" if external_id.nil?
|
|
65
61
|
# resource path
|
|
66
62
|
local_var_path = "/debt-collection-case/addCollectedAmount".sub('{format}','json')
|
|
67
63
|
|
|
@@ -97,7 +93,7 @@ module Wallee
|
|
|
97
93
|
:auth_names => auth_names,
|
|
98
94
|
:return_type => 'DebtCollectionReceipt')
|
|
99
95
|
if @api_client.config.debugging
|
|
100
|
-
@api_client.config.logger.debug "API called: DebtCollectionCaseService#
|
|
96
|
+
@api_client.config.logger.debug "API called: DebtCollectionCaseService#add_collected_amount\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
101
97
|
end
|
|
102
98
|
return data, status_code, headers
|
|
103
99
|
end
|
|
@@ -110,8 +106,8 @@ module Wallee
|
|
|
110
106
|
# @param content_base64 The BASE64 encoded contents of the document.
|
|
111
107
|
# @param [Hash] opts the optional parameters
|
|
112
108
|
# @return [DebtCollectionCaseDocument]
|
|
113
|
-
def
|
|
114
|
-
data, _status_code, _headers =
|
|
109
|
+
def attach_document(space_id, id, file_name, content_base64, opts = {})
|
|
110
|
+
data, _status_code, _headers = attach_document_with_http_info(space_id, id, file_name, content_base64, opts)
|
|
115
111
|
return data
|
|
116
112
|
end
|
|
117
113
|
|
|
@@ -123,18 +119,18 @@ module Wallee
|
|
|
123
119
|
# @param content_base64 The BASE64 encoded contents of the document.
|
|
124
120
|
# @param [Hash] opts the optional parameters
|
|
125
121
|
# @return [Array<(DebtCollectionCaseDocument, Fixnum, Hash)>] DebtCollectionCaseDocument data, response status code and response headers
|
|
126
|
-
def
|
|
122
|
+
def attach_document_with_http_info(space_id, id, file_name, content_base64, opts = {})
|
|
127
123
|
if @api_client.config.debugging
|
|
128
|
-
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.
|
|
124
|
+
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.attach_document ..."
|
|
129
125
|
end
|
|
130
126
|
# verify the required parameter 'space_id' is set
|
|
131
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.
|
|
127
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.attach_document" if space_id.nil?
|
|
132
128
|
# verify the required parameter 'id' is set
|
|
133
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.
|
|
129
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.attach_document" if id.nil?
|
|
134
130
|
# verify the required parameter 'file_name' is set
|
|
135
|
-
fail ArgumentError, "Missing the required parameter 'file_name' when calling DebtCollectionCaseService.
|
|
131
|
+
fail ArgumentError, "Missing the required parameter 'file_name' when calling DebtCollectionCaseService.attach_document" if file_name.nil?
|
|
136
132
|
# verify the required parameter 'content_base64' is set
|
|
137
|
-
fail ArgumentError, "Missing the required parameter 'content_base64' when calling DebtCollectionCaseService.
|
|
133
|
+
fail ArgumentError, "Missing the required parameter 'content_base64' when calling DebtCollectionCaseService.attach_document" if content_base64.nil?
|
|
138
134
|
# resource path
|
|
139
135
|
local_var_path = "/debt-collection-case/attachDocument".sub('{format}','json')
|
|
140
136
|
|
|
@@ -170,7 +166,7 @@ module Wallee
|
|
|
170
166
|
:auth_names => auth_names,
|
|
171
167
|
:return_type => 'DebtCollectionCaseDocument')
|
|
172
168
|
if @api_client.config.debugging
|
|
173
|
-
@api_client.config.logger.debug "API called: DebtCollectionCaseService#
|
|
169
|
+
@api_client.config.logger.debug "API called: DebtCollectionCaseService#attach_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
174
170
|
end
|
|
175
171
|
return data, status_code, headers
|
|
176
172
|
end
|
|
@@ -181,8 +177,8 @@ module Wallee
|
|
|
181
177
|
# @param id The id of the debt collection case which should be closed.
|
|
182
178
|
# @param [Hash] opts the optional parameters
|
|
183
179
|
# @return [DebtCollectionCase]
|
|
184
|
-
def
|
|
185
|
-
data, _status_code, _headers =
|
|
180
|
+
def close(space_id, id, opts = {})
|
|
181
|
+
data, _status_code, _headers = close_with_http_info(space_id, id, opts)
|
|
186
182
|
return data
|
|
187
183
|
end
|
|
188
184
|
|
|
@@ -192,14 +188,14 @@ module Wallee
|
|
|
192
188
|
# @param id The id of the debt collection case which should be closed.
|
|
193
189
|
# @param [Hash] opts the optional parameters
|
|
194
190
|
# @return [Array<(DebtCollectionCase, Fixnum, Hash)>] DebtCollectionCase data, response status code and response headers
|
|
195
|
-
def
|
|
191
|
+
def close_with_http_info(space_id, id, opts = {})
|
|
196
192
|
if @api_client.config.debugging
|
|
197
|
-
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.
|
|
193
|
+
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.close ..."
|
|
198
194
|
end
|
|
199
195
|
# verify the required parameter 'space_id' is set
|
|
200
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.
|
|
196
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.close" if space_id.nil?
|
|
201
197
|
# verify the required parameter 'id' is set
|
|
202
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.
|
|
198
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.close" if id.nil?
|
|
203
199
|
# resource path
|
|
204
200
|
local_var_path = "/debt-collection-case/close".sub('{format}','json')
|
|
205
201
|
|
|
@@ -233,7 +229,7 @@ module Wallee
|
|
|
233
229
|
:auth_names => auth_names,
|
|
234
230
|
:return_type => 'DebtCollectionCase')
|
|
235
231
|
if @api_client.config.debugging
|
|
236
|
-
@api_client.config.logger.debug "API called: DebtCollectionCaseService#
|
|
232
|
+
@api_client.config.logger.debug "API called: DebtCollectionCaseService#close\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
237
233
|
end
|
|
238
234
|
return data, status_code, headers
|
|
239
235
|
end
|
|
@@ -244,8 +240,8 @@ module Wallee
|
|
|
244
240
|
# @param [Hash] opts the optional parameters
|
|
245
241
|
# @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
|
|
246
242
|
# @return [Integer]
|
|
247
|
-
def
|
|
248
|
-
data, _status_code, _headers =
|
|
243
|
+
def count(space_id, opts = {})
|
|
244
|
+
data, _status_code, _headers = count_with_http_info(space_id, opts)
|
|
249
245
|
return data
|
|
250
246
|
end
|
|
251
247
|
|
|
@@ -255,12 +251,12 @@ module Wallee
|
|
|
255
251
|
# @param [Hash] opts the optional parameters
|
|
256
252
|
# @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
|
|
257
253
|
# @return [Array<(Integer, Fixnum, Hash)>] Integer data, response status code and response headers
|
|
258
|
-
def
|
|
254
|
+
def count_with_http_info(space_id, opts = {})
|
|
259
255
|
if @api_client.config.debugging
|
|
260
|
-
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.
|
|
256
|
+
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.count ..."
|
|
261
257
|
end
|
|
262
258
|
# verify the required parameter 'space_id' is set
|
|
263
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.
|
|
259
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.count" if space_id.nil?
|
|
264
260
|
# resource path
|
|
265
261
|
local_var_path = "/debt-collection-case/count".sub('{format}','json')
|
|
266
262
|
|
|
@@ -293,7 +289,7 @@ module Wallee
|
|
|
293
289
|
:auth_names => auth_names,
|
|
294
290
|
:return_type => 'Integer')
|
|
295
291
|
if @api_client.config.debugging
|
|
296
|
-
@api_client.config.logger.debug "API called: DebtCollectionCaseService#
|
|
292
|
+
@api_client.config.logger.debug "API called: DebtCollectionCaseService#count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
297
293
|
end
|
|
298
294
|
return data, status_code, headers
|
|
299
295
|
end
|
|
@@ -304,8 +300,8 @@ module Wallee
|
|
|
304
300
|
# @param entity The debt collection case object with the properties which should be created.
|
|
305
301
|
# @param [Hash] opts the optional parameters
|
|
306
302
|
# @return [DebtCollectionCase]
|
|
307
|
-
def
|
|
308
|
-
data, _status_code, _headers =
|
|
303
|
+
def create(space_id, entity, opts = {})
|
|
304
|
+
data, _status_code, _headers = create_with_http_info(space_id, entity, opts)
|
|
309
305
|
return data
|
|
310
306
|
end
|
|
311
307
|
|
|
@@ -315,14 +311,14 @@ module Wallee
|
|
|
315
311
|
# @param entity The debt collection case object with the properties which should be created.
|
|
316
312
|
# @param [Hash] opts the optional parameters
|
|
317
313
|
# @return [Array<(DebtCollectionCase, Fixnum, Hash)>] DebtCollectionCase data, response status code and response headers
|
|
318
|
-
def
|
|
314
|
+
def create_with_http_info(space_id, entity, opts = {})
|
|
319
315
|
if @api_client.config.debugging
|
|
320
|
-
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.
|
|
316
|
+
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.create ..."
|
|
321
317
|
end
|
|
322
318
|
# verify the required parameter 'space_id' is set
|
|
323
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.
|
|
319
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.create" if space_id.nil?
|
|
324
320
|
# verify the required parameter 'entity' is set
|
|
325
|
-
fail ArgumentError, "Missing the required parameter 'entity' when calling DebtCollectionCaseService.
|
|
321
|
+
fail ArgumentError, "Missing the required parameter 'entity' when calling DebtCollectionCaseService.create" if entity.nil?
|
|
326
322
|
# resource path
|
|
327
323
|
local_var_path = "/debt-collection-case/create".sub('{format}','json')
|
|
328
324
|
|
|
@@ -355,7 +351,7 @@ module Wallee
|
|
|
355
351
|
:auth_names => auth_names,
|
|
356
352
|
:return_type => 'DebtCollectionCase')
|
|
357
353
|
if @api_client.config.debugging
|
|
358
|
-
@api_client.config.logger.debug "API called: DebtCollectionCaseService#
|
|
354
|
+
@api_client.config.logger.debug "API called: DebtCollectionCaseService#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
359
355
|
end
|
|
360
356
|
return data, status_code, headers
|
|
361
357
|
end
|
|
@@ -366,8 +362,8 @@ module Wallee
|
|
|
366
362
|
# @param id
|
|
367
363
|
# @param [Hash] opts the optional parameters
|
|
368
364
|
# @return [nil]
|
|
369
|
-
def
|
|
370
|
-
|
|
365
|
+
def delete(space_id, id, opts = {})
|
|
366
|
+
delete_with_http_info(space_id, id, opts)
|
|
371
367
|
return nil
|
|
372
368
|
end
|
|
373
369
|
|
|
@@ -377,14 +373,14 @@ module Wallee
|
|
|
377
373
|
# @param id
|
|
378
374
|
# @param [Hash] opts the optional parameters
|
|
379
375
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
380
|
-
def
|
|
376
|
+
def delete_with_http_info(space_id, id, opts = {})
|
|
381
377
|
if @api_client.config.debugging
|
|
382
|
-
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.
|
|
378
|
+
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.delete ..."
|
|
383
379
|
end
|
|
384
380
|
# verify the required parameter 'space_id' is set
|
|
385
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.
|
|
381
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.delete" if space_id.nil?
|
|
386
382
|
# verify the required parameter 'id' is set
|
|
387
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.
|
|
383
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.delete" if id.nil?
|
|
388
384
|
# resource path
|
|
389
385
|
local_var_path = "/debt-collection-case/delete".sub('{format}','json')
|
|
390
386
|
|
|
@@ -416,7 +412,7 @@ module Wallee
|
|
|
416
412
|
:body => post_body,
|
|
417
413
|
:auth_names => auth_names)
|
|
418
414
|
if @api_client.config.debugging
|
|
419
|
-
@api_client.config.logger.debug "API called: DebtCollectionCaseService#
|
|
415
|
+
@api_client.config.logger.debug "API called: DebtCollectionCaseService#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
420
416
|
end
|
|
421
417
|
return data, status_code, headers
|
|
422
418
|
end
|
|
@@ -427,8 +423,8 @@ module Wallee
|
|
|
427
423
|
# @param id The id of the debt collection case for which the attached documents are returned.
|
|
428
424
|
# @param [Hash] opts the optional parameters
|
|
429
425
|
# @return [Array<DebtCollectionCaseDocument>]
|
|
430
|
-
def
|
|
431
|
-
data, _status_code, _headers =
|
|
426
|
+
def documents(space_id, id, opts = {})
|
|
427
|
+
data, _status_code, _headers = documents_with_http_info(space_id, id, opts)
|
|
432
428
|
return data
|
|
433
429
|
end
|
|
434
430
|
|
|
@@ -438,14 +434,14 @@ module Wallee
|
|
|
438
434
|
# @param id The id of the debt collection case for which the attached documents are returned.
|
|
439
435
|
# @param [Hash] opts the optional parameters
|
|
440
436
|
# @return [Array<(Array<DebtCollectionCaseDocument>, Fixnum, Hash)>] Array<DebtCollectionCaseDocument> data, response status code and response headers
|
|
441
|
-
def
|
|
437
|
+
def documents_with_http_info(space_id, id, opts = {})
|
|
442
438
|
if @api_client.config.debugging
|
|
443
|
-
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.
|
|
439
|
+
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.documents ..."
|
|
444
440
|
end
|
|
445
441
|
# verify the required parameter 'space_id' is set
|
|
446
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.
|
|
442
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.documents" if space_id.nil?
|
|
447
443
|
# verify the required parameter 'id' is set
|
|
448
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.
|
|
444
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.documents" if id.nil?
|
|
449
445
|
# resource path
|
|
450
446
|
local_var_path = "/debt-collection-case/documents".sub('{format}','json')
|
|
451
447
|
|
|
@@ -479,7 +475,7 @@ module Wallee
|
|
|
479
475
|
:auth_names => auth_names,
|
|
480
476
|
:return_type => 'Array<DebtCollectionCaseDocument>')
|
|
481
477
|
if @api_client.config.debugging
|
|
482
|
-
@api_client.config.logger.debug "API called: DebtCollectionCaseService#
|
|
478
|
+
@api_client.config.logger.debug "API called: DebtCollectionCaseService#documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
483
479
|
end
|
|
484
480
|
return data, status_code, headers
|
|
485
481
|
end
|
|
@@ -490,8 +486,8 @@ module Wallee
|
|
|
490
486
|
# @param id The id of the debt collection case which should be marked as prepared.
|
|
491
487
|
# @param [Hash] opts the optional parameters
|
|
492
488
|
# @return [DebtCollectionCase]
|
|
493
|
-
def
|
|
494
|
-
data, _status_code, _headers =
|
|
489
|
+
def mark_as_prepared(space_id, id, opts = {})
|
|
490
|
+
data, _status_code, _headers = mark_as_prepared_with_http_info(space_id, id, opts)
|
|
495
491
|
return data
|
|
496
492
|
end
|
|
497
493
|
|
|
@@ -501,14 +497,14 @@ module Wallee
|
|
|
501
497
|
# @param id The id of the debt collection case which should be marked as prepared.
|
|
502
498
|
# @param [Hash] opts the optional parameters
|
|
503
499
|
# @return [Array<(DebtCollectionCase, Fixnum, Hash)>] DebtCollectionCase data, response status code and response headers
|
|
504
|
-
def
|
|
500
|
+
def mark_as_prepared_with_http_info(space_id, id, opts = {})
|
|
505
501
|
if @api_client.config.debugging
|
|
506
|
-
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.
|
|
502
|
+
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.mark_as_prepared ..."
|
|
507
503
|
end
|
|
508
504
|
# verify the required parameter 'space_id' is set
|
|
509
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.
|
|
505
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.mark_as_prepared" if space_id.nil?
|
|
510
506
|
# verify the required parameter 'id' is set
|
|
511
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.
|
|
507
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.mark_as_prepared" if id.nil?
|
|
512
508
|
# resource path
|
|
513
509
|
local_var_path = "/debt-collection-case/markAsPrepared".sub('{format}','json')
|
|
514
510
|
|
|
@@ -542,7 +538,7 @@ module Wallee
|
|
|
542
538
|
:auth_names => auth_names,
|
|
543
539
|
:return_type => 'DebtCollectionCase')
|
|
544
540
|
if @api_client.config.debugging
|
|
545
|
-
@api_client.config.logger.debug "API called: DebtCollectionCaseService#
|
|
541
|
+
@api_client.config.logger.debug "API called: DebtCollectionCaseService#mark_as_prepared\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
546
542
|
end
|
|
547
543
|
return data, status_code, headers
|
|
548
544
|
end
|
|
@@ -553,8 +549,8 @@ module Wallee
|
|
|
553
549
|
# @param id The id of the debt collection case which should be reviewed.
|
|
554
550
|
# @param [Hash] opts the optional parameters
|
|
555
551
|
# @return [DebtCollectionCase]
|
|
556
|
-
def
|
|
557
|
-
data, _status_code, _headers =
|
|
552
|
+
def mark_as_reviewed(space_id, id, opts = {})
|
|
553
|
+
data, _status_code, _headers = mark_as_reviewed_with_http_info(space_id, id, opts)
|
|
558
554
|
return data
|
|
559
555
|
end
|
|
560
556
|
|
|
@@ -564,14 +560,14 @@ module Wallee
|
|
|
564
560
|
# @param id The id of the debt collection case which should be reviewed.
|
|
565
561
|
# @param [Hash] opts the optional parameters
|
|
566
562
|
# @return [Array<(DebtCollectionCase, Fixnum, Hash)>] DebtCollectionCase data, response status code and response headers
|
|
567
|
-
def
|
|
563
|
+
def mark_as_reviewed_with_http_info(space_id, id, opts = {})
|
|
568
564
|
if @api_client.config.debugging
|
|
569
|
-
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.
|
|
565
|
+
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.mark_as_reviewed ..."
|
|
570
566
|
end
|
|
571
567
|
# verify the required parameter 'space_id' is set
|
|
572
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.
|
|
568
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.mark_as_reviewed" if space_id.nil?
|
|
573
569
|
# verify the required parameter 'id' is set
|
|
574
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.
|
|
570
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.mark_as_reviewed" if id.nil?
|
|
575
571
|
# resource path
|
|
576
572
|
local_var_path = "/debt-collection-case/markAsReviewed".sub('{format}','json')
|
|
577
573
|
|
|
@@ -605,7 +601,7 @@ module Wallee
|
|
|
605
601
|
:auth_names => auth_names,
|
|
606
602
|
:return_type => 'DebtCollectionCase')
|
|
607
603
|
if @api_client.config.debugging
|
|
608
|
-
@api_client.config.logger.debug "API called: DebtCollectionCaseService#
|
|
604
|
+
@api_client.config.logger.debug "API called: DebtCollectionCaseService#mark_as_reviewed\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
609
605
|
end
|
|
610
606
|
return data, status_code, headers
|
|
611
607
|
end
|
|
@@ -616,8 +612,8 @@ module Wallee
|
|
|
616
612
|
# @param id The id of the debt collection case which should be returned.
|
|
617
613
|
# @param [Hash] opts the optional parameters
|
|
618
614
|
# @return [DebtCollectionCase]
|
|
619
|
-
def
|
|
620
|
-
data, _status_code, _headers =
|
|
615
|
+
def read(space_id, id, opts = {})
|
|
616
|
+
data, _status_code, _headers = read_with_http_info(space_id, id, opts)
|
|
621
617
|
return data
|
|
622
618
|
end
|
|
623
619
|
|
|
@@ -627,14 +623,14 @@ module Wallee
|
|
|
627
623
|
# @param id The id of the debt collection case which should be returned.
|
|
628
624
|
# @param [Hash] opts the optional parameters
|
|
629
625
|
# @return [Array<(DebtCollectionCase, Fixnum, Hash)>] DebtCollectionCase data, response status code and response headers
|
|
630
|
-
def
|
|
626
|
+
def read_with_http_info(space_id, id, opts = {})
|
|
631
627
|
if @api_client.config.debugging
|
|
632
|
-
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.
|
|
628
|
+
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.read ..."
|
|
633
629
|
end
|
|
634
630
|
# verify the required parameter 'space_id' is set
|
|
635
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.
|
|
631
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.read" if space_id.nil?
|
|
636
632
|
# verify the required parameter 'id' is set
|
|
637
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.
|
|
633
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.read" if id.nil?
|
|
638
634
|
# resource path
|
|
639
635
|
local_var_path = "/debt-collection-case/read".sub('{format}','json')
|
|
640
636
|
|
|
@@ -668,7 +664,7 @@ module Wallee
|
|
|
668
664
|
:auth_names => auth_names,
|
|
669
665
|
:return_type => 'DebtCollectionCase')
|
|
670
666
|
if @api_client.config.debugging
|
|
671
|
-
@api_client.config.logger.debug "API called: DebtCollectionCaseService#
|
|
667
|
+
@api_client.config.logger.debug "API called: DebtCollectionCaseService#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
672
668
|
end
|
|
673
669
|
return data, status_code, headers
|
|
674
670
|
end
|
|
@@ -679,8 +675,8 @@ module Wallee
|
|
|
679
675
|
# @param query The query restricts the cases which are returned by the search.
|
|
680
676
|
# @param [Hash] opts the optional parameters
|
|
681
677
|
# @return [Array<DebtCollectionCase>]
|
|
682
|
-
def
|
|
683
|
-
data, _status_code, _headers =
|
|
678
|
+
def search(space_id, query, opts = {})
|
|
679
|
+
data, _status_code, _headers = search_with_http_info(space_id, query, opts)
|
|
684
680
|
return data
|
|
685
681
|
end
|
|
686
682
|
|
|
@@ -690,14 +686,14 @@ module Wallee
|
|
|
690
686
|
# @param query The query restricts the cases which are returned by the search.
|
|
691
687
|
# @param [Hash] opts the optional parameters
|
|
692
688
|
# @return [Array<(Array<DebtCollectionCase>, Fixnum, Hash)>] Array<DebtCollectionCase> data, response status code and response headers
|
|
693
|
-
def
|
|
689
|
+
def search_with_http_info(space_id, query, opts = {})
|
|
694
690
|
if @api_client.config.debugging
|
|
695
|
-
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.
|
|
691
|
+
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.search ..."
|
|
696
692
|
end
|
|
697
693
|
# verify the required parameter 'space_id' is set
|
|
698
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.
|
|
694
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.search" if space_id.nil?
|
|
699
695
|
# verify the required parameter 'query' is set
|
|
700
|
-
fail ArgumentError, "Missing the required parameter 'query' when calling DebtCollectionCaseService.
|
|
696
|
+
fail ArgumentError, "Missing the required parameter 'query' when calling DebtCollectionCaseService.search" if query.nil?
|
|
701
697
|
# resource path
|
|
702
698
|
local_var_path = "/debt-collection-case/search".sub('{format}','json')
|
|
703
699
|
|
|
@@ -730,7 +726,7 @@ module Wallee
|
|
|
730
726
|
:auth_names => auth_names,
|
|
731
727
|
:return_type => 'Array<DebtCollectionCase>')
|
|
732
728
|
if @api_client.config.debugging
|
|
733
|
-
@api_client.config.logger.debug "API called: DebtCollectionCaseService#
|
|
729
|
+
@api_client.config.logger.debug "API called: DebtCollectionCaseService#search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
734
730
|
end
|
|
735
731
|
return data, status_code, headers
|
|
736
732
|
end
|
|
@@ -741,8 +737,8 @@ module Wallee
|
|
|
741
737
|
# @param entity The object with all the properties which should be updated. The id and the version are required properties.
|
|
742
738
|
# @param [Hash] opts the optional parameters
|
|
743
739
|
# @return [DebtCollectionCase]
|
|
744
|
-
def
|
|
745
|
-
data, _status_code, _headers =
|
|
740
|
+
def update(space_id, entity, opts = {})
|
|
741
|
+
data, _status_code, _headers = update_with_http_info(space_id, entity, opts)
|
|
746
742
|
return data
|
|
747
743
|
end
|
|
748
744
|
|
|
@@ -752,14 +748,14 @@ module Wallee
|
|
|
752
748
|
# @param entity The object with all the properties which should be updated. The id and the version are required properties.
|
|
753
749
|
# @param [Hash] opts the optional parameters
|
|
754
750
|
# @return [Array<(DebtCollectionCase, Fixnum, Hash)>] DebtCollectionCase data, response status code and response headers
|
|
755
|
-
def
|
|
751
|
+
def update_with_http_info(space_id, entity, opts = {})
|
|
756
752
|
if @api_client.config.debugging
|
|
757
|
-
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.
|
|
753
|
+
@api_client.config.logger.debug "Calling API: DebtCollectionCaseService.update ..."
|
|
758
754
|
end
|
|
759
755
|
# verify the required parameter 'space_id' is set
|
|
760
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.
|
|
756
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.update" if space_id.nil?
|
|
761
757
|
# verify the required parameter 'entity' is set
|
|
762
|
-
fail ArgumentError, "Missing the required parameter 'entity' when calling DebtCollectionCaseService.
|
|
758
|
+
fail ArgumentError, "Missing the required parameter 'entity' when calling DebtCollectionCaseService.update" if entity.nil?
|
|
763
759
|
# resource path
|
|
764
760
|
local_var_path = "/debt-collection-case/update".sub('{format}','json')
|
|
765
761
|
|
|
@@ -792,7 +788,7 @@ module Wallee
|
|
|
792
788
|
:auth_names => auth_names,
|
|
793
789
|
:return_type => 'DebtCollectionCase')
|
|
794
790
|
if @api_client.config.debugging
|
|
795
|
-
@api_client.config.logger.debug "API called: DebtCollectionCaseService#
|
|
791
|
+
@api_client.config.logger.debug "API called: DebtCollectionCaseService#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
796
792
|
end
|
|
797
793
|
return data, status_code, headers
|
|
798
794
|
end
|