wallee-ruby-sdk 2.0.1 → 2.2.3
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 +3 -3
- data/lib/wallee-ruby-sdk.rb +71 -9
- data/lib/wallee-ruby-sdk/api/account_service_api.rb +35 -39
- data/lib/wallee-ruby-sdk/api/application_user_service_api.rb +35 -39
- data/lib/wallee-ruby-sdk/api/card_processing_service_api.rb +18 -22
- data/lib/wallee-ruby-sdk/api/charge_attempt_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/api/charge_flow_level_payment_link_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/api/charge_flow_level_service_api.rb +27 -31
- data/lib/wallee-ruby-sdk/api/charge_flow_service_api.rb +36 -40
- data/lib/wallee-ruby-sdk/api/condition_type_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/api/country_service_api.rb +5 -9
- data/lib/wallee-ruby-sdk/api/country_state_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/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/api/customer_service_api.rb +398 -0
- data/lib/wallee-ruby-sdk/api/debt_collection_case_service_api.rb +87 -91
- data/lib/wallee-ruby-sdk/api/debt_collector_configuration_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/api/debt_collector_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/api/delivery_indication_service_api.rb +34 -38
- data/lib/wallee-ruby-sdk/api/document_template_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/api/document_template_type_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/api/human_user_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api/installment_payment_service_api.rb +29 -33
- data/lib/wallee-ruby-sdk/api/installment_payment_slice_service_api.rb +21 -25
- data/lib/wallee-ruby-sdk/api/installment_plan_calculation_service_api.rb +7 -11
- data/lib/wallee-ruby-sdk/api/installment_plan_configuration_service_api.rb +21 -25
- data/lib/wallee-ruby-sdk/api/installment_plan_slice_configuration_service_api.rb +21 -25
- data/lib/wallee-ruby-sdk/api/label_description_group_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/api/label_description_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/api/language_service_api.rb +5 -9
- data/lib/wallee-ruby-sdk/api/legal_organization_form_service_api.rb +17 -21
- data/lib/wallee-ruby-sdk/api/manual_task_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/api/mertic_usage_service_api.rb +8 -12
- data/lib/wallee-ruby-sdk/api/payment_connector_configuration_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/api/payment_connector_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/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/api/payment_method_configuration_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/api/payment_method_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/api/payment_processor_configuration_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/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/permission_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/api/refund_comment_service_api.rb +49 -53
- data/lib/wallee-ruby-sdk/api/refund_service_api.rb +56 -60
- 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 +342 -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/space_service_api.rb +35 -39
- data/lib/wallee-ruby-sdk/api/static_value_service_api.rb +11 -15
- data/lib/wallee-ruby-sdk/api/subscriber_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api/subscription_affiliate_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api/subscription_charge_service_api.rb +34 -38
- data/lib/wallee-ruby-sdk/api/subscription_ledger_entry_service_api.rb +27 -31
- data/lib/wallee-ruby-sdk/api/subscription_metric_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api/subscription_metric_usage_service_api.rb +27 -31
- data/lib/wallee-ruby-sdk/api/subscription_period_bill_service_api.rb +26 -30
- data/lib/wallee-ruby-sdk/api/subscription_product_component_group_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api/subscription_product_component_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api/subscription_product_fee_tier_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api/subscription_product_metered_fee_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api/subscription_product_period_fee_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api/subscription_product_retirement_service_api.rb +27 -31
- data/lib/wallee-ruby-sdk/api/subscription_product_service_api.rb +34 -38
- data/lib/wallee-ruby-sdk/api/subscription_product_setup_fee_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api/subscription_product_version_retirement_service_api.rb +27 -31
- data/lib/wallee-ruby-sdk/api/subscription_product_version_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api/subscription_service_api.rb +110 -114
- data/lib/wallee-ruby-sdk/api/subscription_suspension_service_api.rb +34 -38
- data/lib/wallee-ruby-sdk/api/subscription_version_service_api.rb +20 -24
- data/lib/wallee-ruby-sdk/api/token_service_api.rb +48 -52
- data/lib/wallee-ruby-sdk/api/token_version_service_api.rb +27 -31
- data/lib/wallee-ruby-sdk/api/transaction_comment_service_api.rb +49 -53
- data/lib/wallee-ruby-sdk/api/transaction_completion_service_api.rb +48 -52
- data/lib/wallee-ruby-sdk/api/transaction_iframe_service_api.rb +7 -11
- data/lib/wallee-ruby-sdk/api/transaction_invoice_comment_service_api.rb +49 -53
- data/lib/wallee-ruby-sdk/api/transaction_invoice_service_api.rb +64 -68
- 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 +6 -10
- data/lib/wallee-ruby-sdk/api/transaction_payment_page_service_api.rb +7 -11
- data/lib/wallee-ruby-sdk/api/transaction_service_api.rb +141 -135
- data/lib/wallee-ruby-sdk/api/transaction_terminal_service_api.rb +172 -0
- data/lib/wallee-ruby-sdk/api/transaction_void_service_api.rb +34 -38
- data/lib/wallee-ruby-sdk/api/user_account_role_service_api.rb +21 -25
- data/lib/wallee-ruby-sdk/api/user_space_role_service_api.rb +21 -25
- data/lib/wallee-ruby-sdk/api/webhook_listener_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api/webhook_url_service_api.rb +41 -45
- data/lib/wallee-ruby-sdk/api_client.rb +2 -4
- data/lib/wallee-ruby-sdk/api_error.rb +0 -4
- data/lib/wallee-ruby-sdk/configuration.rb +0 -4
- data/lib/wallee-ruby-sdk/models/abstract_account_update.rb +25 -5
- data/lib/wallee-ruby-sdk/models/abstract_application_user_update.rb +16 -5
- 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 +1 -5
- data/lib/wallee-ruby-sdk/models/abstract_human_user_update.rb +61 -5
- data/lib/wallee-ruby-sdk/models/abstract_payment_link_update.rb +16 -5
- data/lib/wallee-ruby-sdk/models/abstract_refund_comment_active.rb +16 -5
- data/lib/wallee-ruby-sdk/models/abstract_shopify_subscription_product_active.rb +330 -0
- data/lib/wallee-ruby-sdk/models/abstract_space_update.rb +25 -5
- data/lib/wallee-ruby-sdk/models/abstract_subscriber_update.rb +46 -5
- data/lib/wallee-ruby-sdk/models/abstract_subscription_affiliate_update.rb +25 -5
- data/lib/wallee-ruby-sdk/models/abstract_subscription_metric_update.rb +1 -5
- data/lib/wallee-ruby-sdk/models/abstract_subscription_product_active.rb +16 -5
- data/lib/wallee-ruby-sdk/models/abstract_token_update.rb +31 -5
- data/lib/wallee-ruby-sdk/models/abstract_transaction_comment_active.rb +16 -5
- data/lib/wallee-ruby-sdk/models/abstract_transaction_invoice_comment_active.rb +16 -5
- data/lib/wallee-ruby-sdk/models/abstract_transaction_pending.rb +61 -5
- data/lib/wallee-ruby-sdk/models/abstract_webhook_listener_update.rb +16 -5
- data/lib/wallee-ruby-sdk/models/abstract_webhook_url_update.rb +16 -5
- data/lib/wallee-ruby-sdk/models/account.rb +46 -6
- data/lib/wallee-ruby-sdk/models/account_create.rb +25 -5
- data/lib/wallee-ruby-sdk/models/account_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/account_type.rb +0 -4
- data/lib/wallee-ruby-sdk/models/account_update.rb +25 -5
- data/lib/wallee-ruby-sdk/models/address.rb +236 -15
- data/lib/wallee-ruby-sdk/models/address_create.rb +236 -15
- data/lib/wallee-ruby-sdk/models/application_user.rb +16 -5
- data/lib/wallee-ruby-sdk/models/application_user_create.rb +16 -5
- data/lib/wallee-ruby-sdk/models/application_user_create_with_mac_key.rb +16 -5
- data/lib/wallee-ruby-sdk/models/application_user_update.rb +16 -5
- data/lib/wallee-ruby-sdk/models/charge.rb +1 -5
- data/lib/wallee-ruby-sdk/models/charge_attempt.rb +27 -6
- data/lib/wallee-ruby-sdk/models/charge_attempt_environment.rb +0 -4
- data/lib/wallee-ruby-sdk/models/charge_attempt_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/charge_flow.rb +1 -5
- data/lib/wallee-ruby-sdk/models/charge_flow_level.rb +1 -5
- data/lib/wallee-ruby-sdk/models/charge_flow_level_configuration.rb +16 -5
- data/lib/wallee-ruby-sdk/models/charge_flow_level_configuration_type.rb +14 -6
- 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 +0 -4
- data/lib/wallee-ruby-sdk/models/charge_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/charge_type.rb +0 -4
- data/lib/wallee-ruby-sdk/models/client_error.rb +1 -5
- data/lib/wallee-ruby-sdk/models/client_error_type.rb +0 -4
- data/lib/wallee-ruby-sdk/models/completion_line_item.rb +16 -5
- data/lib/wallee-ruby-sdk/models/completion_line_item_create.rb +20 -5
- data/lib/wallee-ruby-sdk/models/condition.rb +16 -5
- data/lib/wallee-ruby-sdk/models/condition_type.rb +1 -5
- data/lib/wallee-ruby-sdk/models/connector_invocation.rb +1 -5
- data/lib/wallee-ruby-sdk/models/connector_invocation_stage.rb +0 -4
- data/lib/wallee-ruby-sdk/models/creation_entity_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/criteria_operator.rb +0 -4
- 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/{payment_terminal_device.rb → customer_address.rb} +42 -56
- 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 +0 -4
- data/lib/wallee-ruby-sdk/models/data_collection_type.rb +0 -4
- data/lib/wallee-ruby-sdk/models/database_translated_string.rb +1 -5
- data/lib/wallee-ruby-sdk/models/database_translated_string_create.rb +1 -5
- data/lib/wallee-ruby-sdk/models/database_translated_string_item.rb +16 -5
- data/lib/wallee-ruby-sdk/models/database_translated_string_item_create.rb +16 -5
- data/lib/wallee-ruby-sdk/models/debt_collection_case.rb +1 -5
- data/lib/wallee-ruby-sdk/models/debt_collection_case_create.rb +1 -5
- data/lib/wallee-ruby-sdk/models/debt_collection_case_document.rb +46 -5
- data/lib/wallee-ruby-sdk/models/debt_collection_case_source.rb +1 -5
- data/lib/wallee-ruby-sdk/models/debt_collection_case_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/debt_collection_case_update.rb +1 -5
- data/lib/wallee-ruby-sdk/models/debt_collection_environment.rb +0 -4
- data/lib/wallee-ruby-sdk/models/debt_collection_receipt.rb +25 -5
- data/lib/wallee-ruby-sdk/models/debt_collection_receipt_source.rb +1 -5
- data/lib/wallee-ruby-sdk/models/debt_collector.rb +1 -5
- data/lib/wallee-ruby-sdk/models/debt_collector_condition.rb +16 -5
- data/lib/wallee-ruby-sdk/models/debt_collector_condition_type.rb +1 -5
- data/lib/wallee-ruby-sdk/models/debt_collector_configuration.rb +16 -5
- data/lib/wallee-ruby-sdk/models/delivery_indication.rb +1 -5
- data/lib/wallee-ruby-sdk/models/delivery_indication_decision_reason.rb +1 -5
- data/lib/wallee-ruby-sdk/models/delivery_indication_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/document_template.rb +16 -5
- data/lib/wallee-ruby-sdk/models/document_template_type.rb +1 -5
- data/lib/wallee-ruby-sdk/models/document_template_type_group.rb +1 -5
- data/lib/wallee-ruby-sdk/models/entity_export_request.rb +1 -5
- data/lib/wallee-ruby-sdk/models/entity_query.rb +1 -5
- data/lib/wallee-ruby-sdk/models/entity_query_filter.rb +1 -5
- data/lib/wallee-ruby-sdk/models/entity_query_filter_type.rb +0 -4
- data/lib/wallee-ruby-sdk/models/entity_query_order_by.rb +1 -5
- data/lib/wallee-ruby-sdk/models/entity_query_order_by_type.rb +0 -4
- data/lib/wallee-ruby-sdk/models/environment.rb +0 -4
- data/lib/wallee-ruby-sdk/models/failure_category.rb +0 -4
- data/lib/wallee-ruby-sdk/models/failure_reason.rb +1 -5
- data/lib/wallee-ruby-sdk/models/feature.rb +12 -6
- data/lib/wallee-ruby-sdk/models/feature_category.rb +225 -0
- data/lib/wallee-ruby-sdk/models/gender.rb +0 -4
- data/lib/wallee-ruby-sdk/models/human_user.rb +61 -5
- data/lib/wallee-ruby-sdk/models/human_user_create.rb +61 -5
- data/lib/wallee-ruby-sdk/models/human_user_update.rb +61 -5
- data/lib/wallee-ruby-sdk/models/installment_calculated_plan.rb +1 -5
- data/lib/wallee-ruby-sdk/models/installment_calculated_slice.rb +1 -5
- data/lib/wallee-ruby-sdk/models/installment_payment.rb +1 -5
- data/lib/wallee-ruby-sdk/models/installment_payment_slice.rb +1 -5
- data/lib/wallee-ruby-sdk/models/installment_payment_slice_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/installment_payment_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/installment_plan_configuration.rb +16 -5
- data/lib/wallee-ruby-sdk/models/installment_plan_slice_configuration.rb +1 -5
- data/lib/wallee-ruby-sdk/models/label.rb +1 -5
- data/lib/wallee-ruby-sdk/models/label_descriptor.rb +1 -5
- data/lib/wallee-ruby-sdk/models/label_descriptor_category.rb +0 -4
- data/lib/wallee-ruby-sdk/models/label_descriptor_group.rb +1 -5
- data/lib/wallee-ruby-sdk/models/label_descriptor_type.rb +1 -5
- data/lib/wallee-ruby-sdk/models/legal_organization_form.rb +1 -5
- data/lib/wallee-ruby-sdk/models/line_item.rb +55 -5
- data/lib/wallee-ruby-sdk/models/line_item_attribute.rb +31 -5
- data/lib/wallee-ruby-sdk/models/line_item_attribute_create.rb +39 -5
- data/lib/wallee-ruby-sdk/models/line_item_create.rb +63 -5
- data/lib/wallee-ruby-sdk/models/line_item_reduction.rb +16 -5
- data/lib/wallee-ruby-sdk/models/line_item_reduction_create.rb +20 -5
- data/lib/wallee-ruby-sdk/models/line_item_type.rb +0 -4
- data/lib/wallee-ruby-sdk/models/localized_string.rb +1 -5
- data/lib/wallee-ruby-sdk/models/manual_task.rb +1 -5
- data/lib/wallee-ruby-sdk/models/manual_task_action.rb +1 -5
- data/lib/wallee-ruby-sdk/models/manual_task_action_style.rb +0 -4
- data/lib/wallee-ruby-sdk/models/manual_task_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/manual_task_type.rb +1 -5
- data/lib/wallee-ruby-sdk/models/metric_usage.rb +1 -5
- data/lib/wallee-ruby-sdk/models/one_click_payment_mode.rb +0 -4
- data/lib/wallee-ruby-sdk/models/payment_connector.rb +1 -5
- data/lib/wallee-ruby-sdk/models/payment_connector_configuration.rb +16 -5
- data/lib/wallee-ruby-sdk/models/payment_connector_feature.rb +1 -5
- data/lib/wallee-ruby-sdk/models/payment_contract.rb +25 -5
- data/lib/wallee-ruby-sdk/models/payment_contract_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/payment_contract_type.rb +1 -5
- 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 +40 -5
- data/lib/wallee-ruby-sdk/models/payment_link_active.rb +16 -5
- data/lib/wallee-ruby-sdk/models/payment_link_create.rb +44 -5
- data/lib/wallee-ruby-sdk/models/payment_link_protection_mode.rb +0 -4
- data/lib/wallee-ruby-sdk/models/payment_link_update.rb +16 -5
- data/lib/wallee-ruby-sdk/models/payment_method.rb +1 -5
- data/lib/wallee-ruby-sdk/models/payment_method_brand.rb +1 -5
- data/lib/wallee-ruby-sdk/models/payment_method_configuration.rb +16 -5
- data/lib/wallee-ruby-sdk/models/payment_primary_risk_taker.rb +0 -4
- data/lib/wallee-ruby-sdk/models/payment_processor.rb +1 -5
- data/lib/wallee-ruby-sdk/models/payment_processor_configuration.rb +16 -5
- data/lib/wallee-ruby-sdk/models/payment_terminal.rb +17 -16
- data/lib/wallee-ruby-sdk/models/payment_terminal_address.rb +146 -15
- data/lib/wallee-ruby-sdk/models/payment_terminal_configuration.rb +16 -5
- data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_version.rb +1 -5
- data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_version_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/payment_terminal_contact_address.rb +396 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_location.rb +27 -6
- data/lib/wallee-ruby-sdk/models/payment_terminal_location_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/payment_terminal_location_version.rb +1 -5
- data/lib/wallee-ruby-sdk/models/payment_terminal_location_version_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/payment_terminal_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/payment_terminal_type.rb +5 -21
- data/lib/wallee-ruby-sdk/models/permission.rb +1 -5
- data/lib/wallee-ruby-sdk/models/persistable_currency_amount.rb +1 -5
- data/lib/wallee-ruby-sdk/models/persistable_currency_amount_update.rb +1 -5
- data/lib/wallee-ruby-sdk/models/product_fee_type.rb +0 -4
- data/lib/wallee-ruby-sdk/models/product_metered_fee.rb +1 -5
- data/lib/wallee-ruby-sdk/models/product_metered_fee_update.rb +1 -5
- data/lib/wallee-ruby-sdk/models/product_metered_tier_fee.rb +1 -5
- data/lib/wallee-ruby-sdk/models/product_metered_tier_fee_update.rb +1 -5
- data/lib/wallee-ruby-sdk/models/product_metered_tier_pricing.rb +0 -4
- data/lib/wallee-ruby-sdk/models/product_period_fee.rb +1 -5
- data/lib/wallee-ruby-sdk/models/product_period_fee_update.rb +1 -5
- data/lib/wallee-ruby-sdk/models/product_setup_fee.rb +1 -5
- data/lib/wallee-ruby-sdk/models/product_setup_fee_update.rb +1 -5
- data/lib/wallee-ruby-sdk/models/refund.rb +76 -6
- data/lib/wallee-ruby-sdk/models/refund_comment.rb +16 -5
- data/lib/wallee-ruby-sdk/models/refund_comment_active.rb +16 -5
- data/lib/wallee-ruby-sdk/models/refund_comment_create.rb +16 -5
- data/lib/wallee-ruby-sdk/models/refund_create.rb +53 -9
- data/lib/wallee-ruby-sdk/models/refund_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/refund_type.rb +2 -6
- data/lib/wallee-ruby-sdk/models/rendered_document.rb +1 -5
- data/lib/wallee-ruby-sdk/models/rendered_terminal_receipt.rb +203 -0
- data/lib/wallee-ruby-sdk/models/resource_path.rb +25 -5
- data/lib/wallee-ruby-sdk/models/resource_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/rest_address_format.rb +1 -5
- data/lib/wallee-ruby-sdk/models/rest_address_format_field.rb +0 -4
- data/lib/wallee-ruby-sdk/models/rest_country.rb +1 -5
- data/lib/wallee-ruby-sdk/models/rest_country_state.rb +1 -5
- data/lib/wallee-ruby-sdk/models/rest_currency.rb +1 -5
- data/lib/wallee-ruby-sdk/models/rest_language.rb +1 -5
- data/lib/wallee-ruby-sdk/models/role.rb +1 -5
- data/lib/wallee-ruby-sdk/models/sales_channel.rb +215 -0
- data/lib/wallee-ruby-sdk/models/scope.rb +57 -6
- data/lib/wallee-ruby-sdk/models/server_error.rb +1 -5
- data/lib/wallee-ruby-sdk/models/shopify_integration.rb +428 -0
- data/lib/wallee-ruby-sdk/models/shopify_integration_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/{payment_terminal_reference.rb → shopify_subscriber.rb} +41 -25
- data/lib/wallee-ruby-sdk/models/shopify_subscriber_state.rb +36 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription.rb +321 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_address.rb +606 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_billing_interval_unit.rb +39 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_edit_model_item.rb +233 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_edit_model_tax_line.rb +201 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_product.rb +471 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_product_active.rb +361 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_product_create.rb +371 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_product_pricing_option.rb +38 -0
- data/lib/wallee-ruby-sdk/models/{payment_terminal_device_state.rb → shopify_subscription_product_state.rb} +8 -11
- 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_request.rb +303 -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/{payment_terminal_device_manufacturer.rb → shopify_tax_line.rb} +20 -44
- data/lib/wallee-ruby-sdk/models/{payment_terminal_device_model.rb → shopify_transaction.rb} +64 -50
- data/lib/wallee-ruby-sdk/models/shopify_transaction_state.rb +38 -0
- data/lib/wallee-ruby-sdk/models/space.rb +46 -6
- data/lib/wallee-ruby-sdk/models/space_address.rb +116 -15
- data/lib/wallee-ruby-sdk/models/space_address_create.rb +116 -15
- data/lib/wallee-ruby-sdk/models/space_create.rb +25 -5
- data/lib/wallee-ruby-sdk/models/space_reference.rb +1 -5
- data/lib/wallee-ruby-sdk/models/space_reference_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/space_update.rb +25 -5
- data/lib/wallee-ruby-sdk/models/space_view.rb +25 -5
- data/lib/wallee-ruby-sdk/models/static_value.rb +1 -5
- data/lib/wallee-ruby-sdk/models/subscriber.rb +46 -5
- data/lib/wallee-ruby-sdk/models/subscriber_active.rb +46 -5
- data/lib/wallee-ruby-sdk/models/subscriber_create.rb +46 -5
- data/lib/wallee-ruby-sdk/models/subscriber_update.rb +46 -5
- data/lib/wallee-ruby-sdk/models/subscription.rb +52 -6
- data/lib/wallee-ruby-sdk/models/subscription_affiliate.rb +73 -5
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_create.rb +86 -5
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_deleted.rb +73 -5
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_deleting.rb +73 -5
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_inactive.rb +25 -5
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_update.rb +25 -5
- data/lib/wallee-ruby-sdk/models/subscription_change_request.rb +14 -6
- data/lib/wallee-ruby-sdk/models/subscription_charge.rb +16 -5
- data/lib/wallee-ruby-sdk/models/subscription_charge_create.rb +16 -5
- data/lib/wallee-ruby-sdk/models/subscription_charge_processing_type.rb +0 -4
- data/lib/wallee-ruby-sdk/models/subscription_charge_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/subscription_charge_type.rb +0 -4
- 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 +14 -6
- data/lib/wallee-ruby-sdk/models/subscription_ledger_entry.rb +25 -5
- data/lib/wallee-ruby-sdk/models/subscription_ledger_entry_create.rb +29 -5
- data/lib/wallee-ruby-sdk/models/subscription_ledger_entry_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/subscription_metric.rb +1 -5
- data/lib/wallee-ruby-sdk/models/subscription_metric_active.rb +1 -5
- data/lib/wallee-ruby-sdk/models/subscription_metric_create.rb +1 -5
- data/lib/wallee-ruby-sdk/models/subscription_metric_type.rb +1 -5
- data/lib/wallee-ruby-sdk/models/subscription_metric_update.rb +1 -5
- data/lib/wallee-ruby-sdk/models/subscription_metric_usage_report.rb +16 -5
- data/lib/wallee-ruby-sdk/models/subscription_metric_usage_report_create.rb +16 -5
- data/lib/wallee-ruby-sdk/models/subscription_pending.rb +42 -16
- data/lib/wallee-ruby-sdk/models/subscription_period_bill.rb +1 -5
- data/lib/wallee-ruby-sdk/models/subscription_period_bill_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/subscription_product.rb +31 -5
- data/lib/wallee-ruby-sdk/models/subscription_product_active.rb +16 -5
- data/lib/wallee-ruby-sdk/models/subscription_product_component.rb +32 -6
- data/lib/wallee-ruby-sdk/models/subscription_product_component_group.rb +1 -5
- data/lib/wallee-ruby-sdk/models/subscription_product_component_group_update.rb +1 -5
- data/lib/wallee-ruby-sdk/models/subscription_product_component_reference.rb +16 -5
- data/lib/wallee-ruby-sdk/models/subscription_product_component_reference_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/subscription_product_component_update.rb +32 -6
- data/lib/wallee-ruby-sdk/models/subscription_product_create.rb +35 -5
- data/lib/wallee-ruby-sdk/models/subscription_product_retirement.rb +1 -5
- data/lib/wallee-ruby-sdk/models/subscription_product_retirement_create.rb +1 -5
- data/lib/wallee-ruby-sdk/models/subscription_product_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/subscription_product_version.rb +16 -5
- data/lib/wallee-ruby-sdk/models/subscription_product_version_pending.rb +1 -5
- data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement.rb +1 -5
- data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement_create.rb +1 -5
- data/lib/wallee-ruby-sdk/models/subscription_product_version_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/subscription_state.rb +1 -4
- data/lib/wallee-ruby-sdk/models/subscription_suspension.rb +16 -5
- data/lib/wallee-ruby-sdk/models/subscription_suspension_action.rb +0 -4
- data/lib/wallee-ruby-sdk/models/subscription_suspension_create.rb +16 -5
- data/lib/wallee-ruby-sdk/models/subscription_suspension_reason.rb +0 -4
- data/lib/wallee-ruby-sdk/models/subscription_suspension_running.rb +16 -5
- data/lib/wallee-ruby-sdk/models/subscription_suspension_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/subscription_update.rb +27 -6
- data/lib/wallee-ruby-sdk/models/subscription_version.rb +14 -6
- data/lib/wallee-ruby-sdk/models/subscription_version_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/tax.rb +25 -5
- data/lib/wallee-ruby-sdk/models/tax_class.rb +16 -5
- data/lib/wallee-ruby-sdk/models/tax_create.rb +29 -5
- data/lib/wallee-ruby-sdk/models/tenant_database.rb +16 -5
- data/lib/wallee-ruby-sdk/models/token.rb +55 -5
- data/lib/wallee-ruby-sdk/models/token_create.rb +59 -5
- data/lib/wallee-ruby-sdk/models/token_update.rb +31 -5
- data/lib/wallee-ruby-sdk/models/token_version.rb +54 -6
- data/lib/wallee-ruby-sdk/models/token_version_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/token_version_type.rb +1 -5
- data/lib/wallee-ruby-sdk/models/tokenization_mode.rb +0 -4
- data/lib/wallee-ruby-sdk/models/transaction.rb +126 -6
- data/lib/wallee-ruby-sdk/models/transaction_aware_entity.rb +1 -5
- data/lib/wallee-ruby-sdk/models/transaction_comment.rb +16 -5
- data/lib/wallee-ruby-sdk/models/transaction_comment_active.rb +16 -5
- data/lib/wallee-ruby-sdk/models/transaction_comment_create.rb +16 -5
- data/lib/wallee-ruby-sdk/models/transaction_completion.rb +25 -5
- data/lib/wallee-ruby-sdk/models/transaction_completion_mode.rb +0 -4
- data/lib/wallee-ruby-sdk/models/transaction_completion_request.rb +29 -5
- data/lib/wallee-ruby-sdk/models/transaction_completion_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/transaction_create.rb +96 -6
- data/lib/wallee-ruby-sdk/models/transaction_environment_selection_strategy.rb +0 -4
- data/lib/wallee-ruby-sdk/models/transaction_group.rb +16 -5
- data/lib/wallee-ruby-sdk/models/transaction_group_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/transaction_invoice.rb +51 -6
- data/lib/wallee-ruby-sdk/models/transaction_invoice_comment.rb +16 -5
- data/lib/wallee-ruby-sdk/models/transaction_invoice_comment_active.rb +16 -5
- data/lib/wallee-ruby-sdk/models/transaction_invoice_comment_create.rb +16 -5
- data/lib/wallee-ruby-sdk/models/transaction_invoice_replacement.rb +44 -5
- data/lib/wallee-ruby-sdk/models/transaction_invoice_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/transaction_line_item_update_request.rb +1 -5
- data/lib/wallee-ruby-sdk/models/transaction_line_item_version.rb +1 -5
- data/lib/wallee-ruby-sdk/models/transaction_pending.rb +61 -5
- data/lib/wallee-ruby-sdk/models/transaction_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/transaction_user_interface_type.rb +1 -4
- data/lib/wallee-ruby-sdk/models/transaction_void.rb +1 -5
- data/lib/wallee-ruby-sdk/models/transaction_void_mode.rb +0 -4
- data/lib/wallee-ruby-sdk/models/transaction_void_state.rb +0 -4
- data/lib/wallee-ruby-sdk/models/two_factor_authentication_type.rb +1 -5
- data/lib/wallee-ruby-sdk/models/unencrypted_card_data.rb +64 -5
- data/lib/wallee-ruby-sdk/models/unencrypted_card_data_create.rb +68 -5
- data/lib/wallee-ruby-sdk/models/user.rb +1 -5
- data/lib/wallee-ruby-sdk/models/user_account_role.rb +1 -5
- data/lib/wallee-ruby-sdk/models/user_space_role.rb +1 -5
- data/lib/wallee-ruby-sdk/models/user_type.rb +0 -4
- data/lib/wallee-ruby-sdk/models/webhook_identity.rb +16 -5
- data/lib/wallee-ruby-sdk/models/webhook_listener.rb +16 -5
- data/lib/wallee-ruby-sdk/models/webhook_listener_create.rb +16 -5
- data/lib/wallee-ruby-sdk/models/webhook_listener_entity.rb +1 -5
- data/lib/wallee-ruby-sdk/models/webhook_listener_update.rb +16 -5
- data/lib/wallee-ruby-sdk/models/webhook_url.rb +16 -5
- data/lib/wallee-ruby-sdk/models/webhook_url_create.rb +16 -5
- data/lib/wallee-ruby-sdk/models/webhook_url_update.rb +16 -5
- data/lib/wallee-ruby-sdk/version.rb +1 -5
- data/test/transaction_create_service_test.rb +2 -2
- data/test/transaction_payment_page_service_test.rb +3 -3
- data/wallee-ruby-sdk.gemspec +1 -5
- metadata +77 -11
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
The wallee API allows an easy interaction with the wallee web service.
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
|
|
16
|
+
=end
|
|
17
|
+
|
|
18
|
+
require "uri"
|
|
19
|
+
|
|
20
|
+
module Wallee
|
|
21
|
+
class CustomerService
|
|
22
|
+
attr_accessor :api_client
|
|
23
|
+
|
|
24
|
+
def initialize(api_client = ApiClient.default)
|
|
25
|
+
@api_client = api_client
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Count
|
|
29
|
+
# Counts the number of items in the database as restricted by the given filter.
|
|
30
|
+
# @param space_id
|
|
31
|
+
# @param [Hash] opts the optional parameters
|
|
32
|
+
# @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
|
|
33
|
+
# @return [Integer]
|
|
34
|
+
def count(space_id, opts = {})
|
|
35
|
+
data, _status_code, _headers = count_with_http_info(space_id, opts)
|
|
36
|
+
return data
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Count
|
|
40
|
+
# Counts the number of items in the database as restricted by the given filter.
|
|
41
|
+
# @param space_id
|
|
42
|
+
# @param [Hash] opts the optional parameters
|
|
43
|
+
# @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
|
|
44
|
+
# @return [Array<(Integer, Fixnum, Hash)>] Integer data, response status code and response headers
|
|
45
|
+
def count_with_http_info(space_id, opts = {})
|
|
46
|
+
if @api_client.config.debugging
|
|
47
|
+
@api_client.config.logger.debug "Calling API: CustomerService.count ..."
|
|
48
|
+
end
|
|
49
|
+
# verify the required parameter 'space_id' is set
|
|
50
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.count" if space_id.nil?
|
|
51
|
+
# resource path
|
|
52
|
+
local_var_path = "/customer/count".sub('{format}','json')
|
|
53
|
+
|
|
54
|
+
# query parameters
|
|
55
|
+
query_params = {}
|
|
56
|
+
query_params[:'spaceId'] = space_id
|
|
57
|
+
|
|
58
|
+
# header parameters
|
|
59
|
+
header_params = {}
|
|
60
|
+
|
|
61
|
+
# HTTP header 'Accept' (if needed)
|
|
62
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
63
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
64
|
+
|
|
65
|
+
# HTTP header 'Content-Type'
|
|
66
|
+
local_header_content_type = ['application/json;charset=utf-8']
|
|
67
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
68
|
+
|
|
69
|
+
# form parameters
|
|
70
|
+
form_params = {}
|
|
71
|
+
|
|
72
|
+
# http body (model)
|
|
73
|
+
post_body = @api_client.object_to_http_body(opts[:'filter'])
|
|
74
|
+
auth_names = []
|
|
75
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
76
|
+
:header_params => header_params,
|
|
77
|
+
:query_params => query_params,
|
|
78
|
+
:form_params => form_params,
|
|
79
|
+
:body => post_body,
|
|
80
|
+
:auth_names => auth_names,
|
|
81
|
+
:return_type => 'Integer')
|
|
82
|
+
if @api_client.config.debugging
|
|
83
|
+
@api_client.config.logger.debug "API called: CustomerService#count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
84
|
+
end
|
|
85
|
+
return data, status_code, headers
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Create
|
|
89
|
+
# Creates the entity with the given properties.
|
|
90
|
+
# @param space_id
|
|
91
|
+
# @param entity The customer object which should be created.
|
|
92
|
+
# @param [Hash] opts the optional parameters
|
|
93
|
+
# @return [Customer]
|
|
94
|
+
def create(space_id, entity, opts = {})
|
|
95
|
+
data, _status_code, _headers = create_with_http_info(space_id, entity, opts)
|
|
96
|
+
return data
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Create
|
|
100
|
+
# Creates the entity with the given properties.
|
|
101
|
+
# @param space_id
|
|
102
|
+
# @param entity The customer object which should be created.
|
|
103
|
+
# @param [Hash] opts the optional parameters
|
|
104
|
+
# @return [Array<(Customer, Fixnum, Hash)>] Customer data, response status code and response headers
|
|
105
|
+
def create_with_http_info(space_id, entity, opts = {})
|
|
106
|
+
if @api_client.config.debugging
|
|
107
|
+
@api_client.config.logger.debug "Calling API: CustomerService.create ..."
|
|
108
|
+
end
|
|
109
|
+
# verify the required parameter 'space_id' is set
|
|
110
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.create" if space_id.nil?
|
|
111
|
+
# verify the required parameter 'entity' is set
|
|
112
|
+
fail ArgumentError, "Missing the required parameter 'entity' when calling CustomerService.create" if entity.nil?
|
|
113
|
+
# resource path
|
|
114
|
+
local_var_path = "/customer/create".sub('{format}','json')
|
|
115
|
+
|
|
116
|
+
# query parameters
|
|
117
|
+
query_params = {}
|
|
118
|
+
query_params[:'spaceId'] = space_id
|
|
119
|
+
|
|
120
|
+
# header parameters
|
|
121
|
+
header_params = {}
|
|
122
|
+
|
|
123
|
+
# HTTP header 'Accept' (if needed)
|
|
124
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
125
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
126
|
+
|
|
127
|
+
# HTTP header 'Content-Type'
|
|
128
|
+
local_header_content_type = ['application/json;charset=utf-8']
|
|
129
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
130
|
+
|
|
131
|
+
# form parameters
|
|
132
|
+
form_params = {}
|
|
133
|
+
|
|
134
|
+
# http body (model)
|
|
135
|
+
post_body = @api_client.object_to_http_body(entity)
|
|
136
|
+
auth_names = []
|
|
137
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
138
|
+
:header_params => header_params,
|
|
139
|
+
:query_params => query_params,
|
|
140
|
+
:form_params => form_params,
|
|
141
|
+
:body => post_body,
|
|
142
|
+
:auth_names => auth_names,
|
|
143
|
+
:return_type => 'Customer')
|
|
144
|
+
if @api_client.config.debugging
|
|
145
|
+
@api_client.config.logger.debug "API called: CustomerService#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
146
|
+
end
|
|
147
|
+
return data, status_code, headers
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# Delete
|
|
151
|
+
# Deletes the entity with the given id.
|
|
152
|
+
# @param space_id
|
|
153
|
+
# @param id
|
|
154
|
+
# @param [Hash] opts the optional parameters
|
|
155
|
+
# @return [nil]
|
|
156
|
+
def delete(space_id, id, opts = {})
|
|
157
|
+
delete_with_http_info(space_id, id, opts)
|
|
158
|
+
return nil
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# Delete
|
|
162
|
+
# Deletes the entity with the given id.
|
|
163
|
+
# @param space_id
|
|
164
|
+
# @param id
|
|
165
|
+
# @param [Hash] opts the optional parameters
|
|
166
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
167
|
+
def delete_with_http_info(space_id, id, opts = {})
|
|
168
|
+
if @api_client.config.debugging
|
|
169
|
+
@api_client.config.logger.debug "Calling API: CustomerService.delete ..."
|
|
170
|
+
end
|
|
171
|
+
# verify the required parameter 'space_id' is set
|
|
172
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.delete" if space_id.nil?
|
|
173
|
+
# verify the required parameter 'id' is set
|
|
174
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CustomerService.delete" if id.nil?
|
|
175
|
+
# resource path
|
|
176
|
+
local_var_path = "/customer/delete".sub('{format}','json')
|
|
177
|
+
|
|
178
|
+
# query parameters
|
|
179
|
+
query_params = {}
|
|
180
|
+
query_params[:'spaceId'] = space_id
|
|
181
|
+
|
|
182
|
+
# header parameters
|
|
183
|
+
header_params = {}
|
|
184
|
+
|
|
185
|
+
# HTTP header 'Accept' (if needed)
|
|
186
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
187
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
188
|
+
|
|
189
|
+
# HTTP header 'Content-Type'
|
|
190
|
+
local_header_content_type = ['application/json;charset=utf-8']
|
|
191
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
192
|
+
|
|
193
|
+
# form parameters
|
|
194
|
+
form_params = {}
|
|
195
|
+
|
|
196
|
+
# http body (model)
|
|
197
|
+
post_body = @api_client.object_to_http_body(id)
|
|
198
|
+
auth_names = []
|
|
199
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
200
|
+
:header_params => header_params,
|
|
201
|
+
:query_params => query_params,
|
|
202
|
+
:form_params => form_params,
|
|
203
|
+
:body => post_body,
|
|
204
|
+
:auth_names => auth_names)
|
|
205
|
+
if @api_client.config.debugging
|
|
206
|
+
@api_client.config.logger.debug "API called: CustomerService#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
207
|
+
end
|
|
208
|
+
return data, status_code, headers
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# Read
|
|
212
|
+
# Reads the entity with the given 'id' and returns it.
|
|
213
|
+
# @param space_id
|
|
214
|
+
# @param id The id of the customer which should be returned.
|
|
215
|
+
# @param [Hash] opts the optional parameters
|
|
216
|
+
# @return [Customer]
|
|
217
|
+
def read(space_id, id, opts = {})
|
|
218
|
+
data, _status_code, _headers = read_with_http_info(space_id, id, opts)
|
|
219
|
+
return data
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
# Read
|
|
223
|
+
# Reads the entity with the given 'id' and returns it.
|
|
224
|
+
# @param space_id
|
|
225
|
+
# @param id The id of the customer which should be returned.
|
|
226
|
+
# @param [Hash] opts the optional parameters
|
|
227
|
+
# @return [Array<(Customer, Fixnum, Hash)>] Customer data, response status code and response headers
|
|
228
|
+
def read_with_http_info(space_id, id, opts = {})
|
|
229
|
+
if @api_client.config.debugging
|
|
230
|
+
@api_client.config.logger.debug "Calling API: CustomerService.read ..."
|
|
231
|
+
end
|
|
232
|
+
# verify the required parameter 'space_id' is set
|
|
233
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.read" if space_id.nil?
|
|
234
|
+
# verify the required parameter 'id' is set
|
|
235
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CustomerService.read" if id.nil?
|
|
236
|
+
# resource path
|
|
237
|
+
local_var_path = "/customer/read".sub('{format}','json')
|
|
238
|
+
|
|
239
|
+
# query parameters
|
|
240
|
+
query_params = {}
|
|
241
|
+
query_params[:'spaceId'] = space_id
|
|
242
|
+
query_params[:'id'] = id
|
|
243
|
+
|
|
244
|
+
# header parameters
|
|
245
|
+
header_params = {}
|
|
246
|
+
|
|
247
|
+
# HTTP header 'Accept' (if needed)
|
|
248
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
249
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
250
|
+
|
|
251
|
+
# HTTP header 'Content-Type'
|
|
252
|
+
local_header_content_type = ['*/*']
|
|
253
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
254
|
+
|
|
255
|
+
# form parameters
|
|
256
|
+
form_params = {}
|
|
257
|
+
|
|
258
|
+
# http body (model)
|
|
259
|
+
post_body = nil
|
|
260
|
+
auth_names = []
|
|
261
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
262
|
+
:header_params => header_params,
|
|
263
|
+
:query_params => query_params,
|
|
264
|
+
:form_params => form_params,
|
|
265
|
+
:body => post_body,
|
|
266
|
+
:auth_names => auth_names,
|
|
267
|
+
:return_type => 'Customer')
|
|
268
|
+
if @api_client.config.debugging
|
|
269
|
+
@api_client.config.logger.debug "API called: CustomerService#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
270
|
+
end
|
|
271
|
+
return data, status_code, headers
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
# Search
|
|
275
|
+
# Searches for the entities as specified by the given query.
|
|
276
|
+
# @param space_id
|
|
277
|
+
# @param query The query restricts the customers which are returned by the search.
|
|
278
|
+
# @param [Hash] opts the optional parameters
|
|
279
|
+
# @return [Array<Customer>]
|
|
280
|
+
def search(space_id, query, opts = {})
|
|
281
|
+
data, _status_code, _headers = search_with_http_info(space_id, query, opts)
|
|
282
|
+
return data
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
# Search
|
|
286
|
+
# Searches for the entities as specified by the given query.
|
|
287
|
+
# @param space_id
|
|
288
|
+
# @param query The query restricts the customers which are returned by the search.
|
|
289
|
+
# @param [Hash] opts the optional parameters
|
|
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 = {})
|
|
292
|
+
if @api_client.config.debugging
|
|
293
|
+
@api_client.config.logger.debug "Calling API: CustomerService.search ..."
|
|
294
|
+
end
|
|
295
|
+
# verify the required parameter 'space_id' is set
|
|
296
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.search" if space_id.nil?
|
|
297
|
+
# verify the required parameter 'query' is set
|
|
298
|
+
fail ArgumentError, "Missing the required parameter 'query' when calling CustomerService.search" if query.nil?
|
|
299
|
+
# resource path
|
|
300
|
+
local_var_path = "/customer/search".sub('{format}','json')
|
|
301
|
+
|
|
302
|
+
# query parameters
|
|
303
|
+
query_params = {}
|
|
304
|
+
query_params[:'spaceId'] = space_id
|
|
305
|
+
|
|
306
|
+
# header parameters
|
|
307
|
+
header_params = {}
|
|
308
|
+
|
|
309
|
+
# HTTP header 'Accept' (if needed)
|
|
310
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
311
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
312
|
+
|
|
313
|
+
# HTTP header 'Content-Type'
|
|
314
|
+
local_header_content_type = ['application/json;charset=utf-8']
|
|
315
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
316
|
+
|
|
317
|
+
# form parameters
|
|
318
|
+
form_params = {}
|
|
319
|
+
|
|
320
|
+
# http body (model)
|
|
321
|
+
post_body = @api_client.object_to_http_body(query)
|
|
322
|
+
auth_names = []
|
|
323
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
324
|
+
:header_params => header_params,
|
|
325
|
+
:query_params => query_params,
|
|
326
|
+
:form_params => form_params,
|
|
327
|
+
:body => post_body,
|
|
328
|
+
:auth_names => auth_names,
|
|
329
|
+
:return_type => 'Array<Customer>')
|
|
330
|
+
if @api_client.config.debugging
|
|
331
|
+
@api_client.config.logger.debug "API called: CustomerService#search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
332
|
+
end
|
|
333
|
+
return data, status_code, headers
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
# Update
|
|
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.
|
|
338
|
+
# @param space_id
|
|
339
|
+
# @param entity The customer object with the properties which should be updated.
|
|
340
|
+
# @param [Hash] opts the optional parameters
|
|
341
|
+
# @return [Customer]
|
|
342
|
+
def update(space_id, entity, opts = {})
|
|
343
|
+
data, _status_code, _headers = update_with_http_info(space_id, entity, opts)
|
|
344
|
+
return data
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
# Update
|
|
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.
|
|
349
|
+
# @param space_id
|
|
350
|
+
# @param entity The customer object with the properties which should be updated.
|
|
351
|
+
# @param [Hash] opts the optional parameters
|
|
352
|
+
# @return [Array<(Customer, Fixnum, Hash)>] Customer data, response status code and response headers
|
|
353
|
+
def update_with_http_info(space_id, entity, opts = {})
|
|
354
|
+
if @api_client.config.debugging
|
|
355
|
+
@api_client.config.logger.debug "Calling API: CustomerService.update ..."
|
|
356
|
+
end
|
|
357
|
+
# verify the required parameter 'space_id' is set
|
|
358
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.update" if space_id.nil?
|
|
359
|
+
# verify the required parameter 'entity' is set
|
|
360
|
+
fail ArgumentError, "Missing the required parameter 'entity' when calling CustomerService.update" if entity.nil?
|
|
361
|
+
# resource path
|
|
362
|
+
local_var_path = "/customer/update".sub('{format}','json')
|
|
363
|
+
|
|
364
|
+
# query parameters
|
|
365
|
+
query_params = {}
|
|
366
|
+
query_params[:'spaceId'] = space_id
|
|
367
|
+
|
|
368
|
+
# header parameters
|
|
369
|
+
header_params = {}
|
|
370
|
+
|
|
371
|
+
# HTTP header 'Accept' (if needed)
|
|
372
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
373
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
374
|
+
|
|
375
|
+
# HTTP header 'Content-Type'
|
|
376
|
+
local_header_content_type = ['application/json;charset=utf-8']
|
|
377
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
378
|
+
|
|
379
|
+
# form parameters
|
|
380
|
+
form_params = {}
|
|
381
|
+
|
|
382
|
+
# http body (model)
|
|
383
|
+
post_body = @api_client.object_to_http_body(entity)
|
|
384
|
+
auth_names = []
|
|
385
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
386
|
+
:header_params => header_params,
|
|
387
|
+
:query_params => query_params,
|
|
388
|
+
:form_params => form_params,
|
|
389
|
+
:body => post_body,
|
|
390
|
+
:auth_names => auth_names,
|
|
391
|
+
:return_type => 'Customer')
|
|
392
|
+
if @api_client.config.debugging
|
|
393
|
+
@api_client.config.logger.debug "API called: CustomerService#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
394
|
+
end
|
|
395
|
+
return data, status_code, headers
|
|
396
|
+
end
|
|
397
|
+
end
|
|
398
|
+
end
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
wallee API: 2.0.1
|
|
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
|