wallee-ruby-sdk 1.0.0 → 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 +5 -5
- data/Gemfile +1 -1
- data/LICENSE +1 -1
- data/README.md +107 -34
- data/lib/wallee-ruby-sdk.rb +264 -108
- data/lib/wallee-ruby-sdk/{services → api}/account_service_api.rb +37 -41
- data/lib/{wallee/services → wallee-ruby-sdk/api}/application_user_service_api.rb +37 -41
- data/lib/wallee-ruby-sdk/api/card_processing_service_api.rb +172 -0
- data/lib/{wallee/services → wallee-ruby-sdk/api}/charge_attempt_service_api.rb +22 -26
- data/lib/wallee-ruby-sdk/{services/email_template_service_api.rb → api/charge_flow_level_payment_link_service_api.rb} +36 -40
- data/lib/wallee-ruby-sdk/{services → api}/charge_flow_level_service_api.rb +31 -35
- data/lib/wallee-ruby-sdk/{services → api}/charge_flow_service_api.rb +42 -46
- data/lib/{wallee/services → wallee-ruby-sdk/api}/condition_type_service_api.rb +15 -19
- data/lib/wallee-ruby-sdk/{services → api}/country_service_api.rb +7 -11
- data/lib/wallee-ruby-sdk/{services → api}/country_state_service_api.rb +15 -19
- data/lib/{wallee/services → wallee-ruby-sdk/api}/currency_service_api.rb +7 -11
- data/lib/{wallee/services/subscription_product_period_fee_service_api.rb → wallee-ruby-sdk/api/customer_address_service_api.rb} +132 -74
- data/lib/wallee-ruby-sdk/{services/transaction_invoice_service_api.rb → api/customer_comment_service_api.rb} +185 -136
- data/lib/wallee-ruby-sdk/{services/subscriber_service_api.rb → api/customer_service_api.rb} +68 -72
- data/lib/wallee-ruby-sdk/api/debt_collection_case_service_api.rb +796 -0
- data/lib/wallee-ruby-sdk/api/debt_collector_configuration_service_api.rb +213 -0
- data/lib/{wallee/services/permission_service_api.rb → wallee-ruby-sdk/api/debt_collector_service_api.rb} +26 -30
- data/lib/{wallee/services → wallee-ruby-sdk/api}/delivery_indication_service_api.rb +40 -44
- data/lib/wallee-ruby-sdk/{services → api}/document_template_service_api.rb +22 -26
- data/lib/wallee-ruby-sdk/{services → api}/document_template_type_service_api.rb +15 -19
- data/lib/wallee-ruby-sdk/{services → api}/human_user_service_api.rb +94 -41
- data/lib/{wallee/services → wallee-ruby-sdk/api}/installment_payment_service_api.rb +33 -37
- data/lib/wallee-ruby-sdk/{services → api}/installment_payment_slice_service_api.rb +23 -27
- data/lib/{wallee/services → wallee-ruby-sdk/api}/installment_plan_calculation_service_api.rb +9 -13
- data/lib/wallee-ruby-sdk/{services → api}/installment_plan_configuration_service_api.rb +23 -27
- data/lib/{wallee/services → wallee-ruby-sdk/api}/installment_plan_slice_configuration_service_api.rb +23 -27
- data/lib/wallee-ruby-sdk/{services → api}/label_description_group_service_api.rb +15 -19
- data/lib/wallee-ruby-sdk/{services → api}/label_description_service_api.rb +15 -19
- data/lib/wallee-ruby-sdk/{services → api}/language_service_api.rb +7 -11
- data/lib/wallee-ruby-sdk/api/legal_organization_form_service_api.rb +197 -0
- data/lib/{wallee/services → wallee-ruby-sdk/api}/manual_task_service_api.rb +22 -26
- data/lib/wallee-ruby-sdk/api/mertic_usage_service_api.rb +96 -0
- data/lib/wallee-ruby-sdk/{services → api}/payment_connector_configuration_service_api.rb +22 -26
- data/lib/wallee-ruby-sdk/{services → api}/payment_connector_service_api.rb +15 -19
- data/lib/{wallee/services/token_service_api.rb → wallee-ruby-sdk/api/payment_link_service_api.rb} +68 -72
- data/lib/{wallee/services/payment_method_service_api.rb → wallee-ruby-sdk/api/payment_method_brand_service_api.rb} +26 -30
- data/lib/wallee-ruby-sdk/{services → api}/payment_method_configuration_service_api.rb +22 -26
- data/lib/wallee-ruby-sdk/{services → api}/payment_method_service_api.rb +15 -19
- data/lib/wallee-ruby-sdk/{services → api}/payment_processor_configuration_service_api.rb +22 -26
- data/lib/wallee-ruby-sdk/{services → api}/payment_processor_service_api.rb +15 -19
- data/lib/wallee-ruby-sdk/{services/charge_attempt_service_api.rb → api/payment_terminal_service_api.rb} +36 -40
- data/lib/wallee-ruby-sdk/{services → api}/permission_service_api.rb +15 -19
- data/lib/{wallee/services/webhook_listener_service_api.rb → wallee-ruby-sdk/api/refund_comment_service_api.rb} +165 -103
- data/lib/{wallee/services → wallee-ruby-sdk/api}/refund_service_api.rb +125 -61
- data/lib/{wallee/services/charge_flow_level_service_api.rb → wallee-ruby-sdk/api/shopify_recurring_order_service_api.rb} +57 -63
- data/lib/wallee-ruby-sdk/{services/manual_task_service_api.rb → api/shopify_subscriber_service_api.rb} +36 -40
- data/lib/{wallee/services/subscription_product_service_api.rb → wallee-ruby-sdk/api/shopify_subscription_product_service_api.rb} +62 -66
- data/lib/wallee-ruby-sdk/{services/subscription_charge_service_api.rb → api/shopify_subscription_service_api.rb} +97 -97
- data/lib/wallee-ruby-sdk/{services/subscription_suspension_service_api.rb → api/shopify_subscription_suspension_service_api.rb} +77 -82
- data/lib/wallee-ruby-sdk/api/shopify_subscription_version_service_api.rb +213 -0
- data/lib/{wallee/services → wallee-ruby-sdk/api}/space_service_api.rb +37 -41
- data/lib/wallee-ruby-sdk/{services → api}/static_value_service_api.rb +15 -19
- data/lib/{wallee/services → wallee-ruby-sdk/api}/subscriber_service_api.rb +43 -47
- data/lib/{wallee/services/subscription_metric_service_api.rb → wallee-ruby-sdk/api/subscription_affiliate_service_api.rb} +72 -76
- data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_charge_service_api.rb +38 -42
- data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_ledger_entry_service_api.rb +29 -33
- data/lib/wallee-ruby-sdk/{services → api}/subscription_metric_service_api.rb +43 -47
- data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_metric_usage_service_api.rb +29 -33
- data/lib/wallee-ruby-sdk/{services → api}/subscription_period_bill_service_api.rb +28 -32
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_component_group_service_api.rb +43 -47
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_component_service_api.rb +43 -47
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_fee_tier_service_api.rb +43 -47
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_metered_fee_service_api.rb +43 -47
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_period_fee_service_api.rb +43 -47
- data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_product_retirement_service_api.rb +29 -33
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_service_api.rb +36 -40
- data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_product_setup_fee_service_api.rb +43 -47
- data/lib/wallee-ruby-sdk/{services → api}/subscription_product_version_retirement_service_api.rb +29 -33
- data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_product_version_service_api.rb +43 -47
- data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_service_api.rb +178 -115
- data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_suspension_service_api.rb +36 -40
- data/lib/wallee-ruby-sdk/{services → api}/subscription_version_service_api.rb +22 -26
- data/lib/wallee-ruby-sdk/{services → api}/token_service_api.rb +109 -50
- data/lib/wallee-ruby-sdk/{services → api}/token_version_service_api.rb +31 -35
- 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 +164 -44
- data/lib/wallee-ruby-sdk/{services/currency_service_api.rb → api/transaction_iframe_service_api.rb} +26 -20
- data/lib/{wallee/services/subscription_product_fee_tier_service_api.rb → wallee-ruby-sdk/api/transaction_invoice_comment_service_api.rb} +165 -103
- data/lib/{wallee/services → wallee-ruby-sdk/api}/transaction_invoice_service_api.rb +186 -59
- data/lib/{wallee/services/country_service_api.rb → wallee-ruby-sdk/api/transaction_lightbox_service_api.rb} +26 -20
- 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 +273 -326
- data/lib/wallee-ruby-sdk/api/transaction_terminal_service_api.rb +172 -0
- data/lib/{wallee/services → wallee-ruby-sdk/api}/transaction_void_service_api.rb +40 -44
- data/lib/wallee-ruby-sdk/api/user_account_role_service_api.rb +219 -0
- data/lib/wallee-ruby-sdk/api/user_space_role_service_api.rb +216 -0
- data/lib/wallee-ruby-sdk/{services → api}/webhook_listener_service_api.rb +43 -47
- data/lib/wallee-ruby-sdk/{services → api}/webhook_url_service_api.rb +43 -47
- 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 +224 -0
- data/lib/wallee-ruby-sdk/models/abstract_application_user_update.rb +225 -0
- data/lib/wallee-ruby-sdk/models/{space_address_setter.rb → abstract_customer_active.rb} +90 -96
- data/lib/wallee-ruby-sdk/models/abstract_customer_address_active.rb +200 -0
- data/lib/{wallee/models/tax_create.rb → wallee-ruby-sdk/models/abstract_customer_comment_active.rb} +26 -39
- data/lib/{wallee/models/subscription_change_request.rb → wallee-ruby-sdk/models/abstract_debt_collection_case_update.rb} +66 -54
- data/lib/{wallee/models/human_user_create.rb → wallee-ruby-sdk/models/abstract_human_user_update.rb} +91 -99
- data/lib/wallee-ruby-sdk/models/abstract_payment_link_update.rb +309 -0
- data/lib/{wallee/models/payment_connector_feature.rb → wallee-ruby-sdk/models/abstract_refund_comment_active.rb} +28 -41
- data/lib/wallee-ruby-sdk/models/abstract_shopify_subscription_product_active.rb +330 -0
- data/lib/{wallee/models/space.rb → wallee-ruby-sdk/models/abstract_space_update.rb} +46 -100
- data/lib/{wallee/models/subscriber.rb → wallee-ruby-sdk/models/abstract_subscriber_update.rb} +64 -75
- data/lib/{wallee/models/database_translated_string_item.rb → wallee-ruby-sdk/models/abstract_subscription_affiliate_update.rb} +54 -26
- data/lib/{wallee/models/line_item_attribute_create.rb → wallee-ruby-sdk/models/abstract_subscription_metric_update.rb} +19 -27
- data/lib/{wallee/models/subscription_product.rb → wallee-ruby-sdk/models/abstract_subscription_product_active.rb} +25 -78
- data/lib/{wallee/models/token.rb → wallee-ruby-sdk/models/abstract_token_update.rb} +47 -85
- data/lib/{wallee/models/server_error.rb → wallee-ruby-sdk/models/abstract_transaction_comment_active.rb} +29 -42
- data/lib/wallee-ruby-sdk/models/abstract_transaction_invoice_comment_active.rb +205 -0
- data/lib/{wallee/models/transaction_pending.rb → wallee-ruby-sdk/models/abstract_transaction_pending.rb} +81 -289
- data/lib/{wallee/models/webhook_identity.rb → wallee-ruby-sdk/models/abstract_webhook_listener_update.rb} +42 -53
- data/lib/{wallee/models/rest_country_state.rb → wallee-ruby-sdk/models/abstract_webhook_url_update.rb} +43 -46
- data/lib/wallee-ruby-sdk/models/account.rb +60 -13
- data/lib/wallee-ruby-sdk/models/account_create.rb +45 -103
- 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 +39 -92
- data/lib/wallee-ruby-sdk/models/address.rb +241 -23
- data/lib/wallee-ruby-sdk/models/address_create.rb +241 -23
- data/lib/wallee-ruby-sdk/models/application_user.rb +32 -14
- data/lib/wallee-ruby-sdk/models/application_user_create.rb +34 -76
- 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 +47 -69
- data/lib/wallee-ruby-sdk/models/charge.rb +26 -13
- data/lib/wallee-ruby-sdk/models/charge_attempt.rb +51 -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_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/models/transaction_aware_entity.rb → wallee-ruby-sdk/models/charge_flow_level_payment_link.rb} +28 -15
- 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/models/static_value.rb → wallee-ruby-sdk/models/completion_line_item.rb} +43 -51
- 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 -23
- data/lib/{wallee/models/token_create.rb → wallee-ruby-sdk/models/customer.rb} +101 -71
- data/lib/{wallee/models/token_update.rb → wallee-ruby-sdk/models/customer_active.rb} +113 -88
- data/lib/{wallee/models/subscription_product_retirement.rb → wallee-ruby-sdk/models/customer_address.rb} +47 -44
- data/lib/wallee-ruby-sdk/models/customer_address_active.rb +231 -0
- data/lib/{wallee/models/installment_calculated_slice.rb → wallee-ruby-sdk/models/customer_address_create.rb} +30 -34
- data/lib/{wallee/models/transaction_void_mode.rb → wallee-ruby-sdk/models/customer_address_type.rb} +10 -17
- data/lib/{wallee/models/subscription_product_version_retirement_create.rb → wallee-ruby-sdk/models/customer_comment.rb} +76 -43
- data/lib/{wallee/models/product_metered_tier_fee.rb → wallee-ruby-sdk/models/customer_comment_active.rb} +39 -43
- data/lib/wallee-ruby-sdk/models/customer_comment_create.rb +221 -0
- data/lib/{wallee/models/space_address_setter.rb → wallee-ruby-sdk/models/customer_create.rb} +90 -95
- 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 +6 -35
- 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 +22 -24
- data/lib/{wallee/models/refund_create.rb → wallee-ruby-sdk/models/debt_collection_case.rb} +160 -135
- data/lib/wallee-ruby-sdk/models/debt_collection_case_create.rb +303 -0
- data/lib/{wallee/models/token_version.rb → wallee-ruby-sdk/models/debt_collection_case_document.rb} +86 -108
- data/lib/{wallee/models/manual_task_type.rb → wallee-ruby-sdk/models/debt_collection_case_source.rb} +16 -25
- data/lib/wallee-ruby-sdk/models/debt_collection_case_state.rb +40 -0
- data/lib/wallee-ruby-sdk/models/debt_collection_case_update.rb +293 -0
- data/lib/{wallee/models/data_collection_type.rb → wallee-ruby-sdk/models/debt_collection_environment.rb} +9 -17
- data/lib/{wallee/models/transaction_line_item_version.rb → wallee-ruby-sdk/models/debt_collection_receipt.rb} +69 -84
- data/lib/wallee-ruby-sdk/models/debt_collection_receipt_source.rb +215 -0
- data/lib/{wallee/models/charge_flow_level_configuration_type.rb → wallee-ruby-sdk/models/debt_collector.rb} +9 -16
- data/lib/{wallee/models/condition.rb → wallee-ruby-sdk/models/debt_collector_condition.rb} +33 -25
- data/lib/{wallee/models/delivery_indication_decision_reason.rb → wallee-ruby-sdk/models/debt_collector_condition_type.rb} +9 -16
- data/lib/{wallee/models/charge_flow.rb → wallee-ruby-sdk/models/debt_collector_configuration.rb} +58 -18
- 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 -25
- data/lib/{wallee/models/line_item_attribute.rb → wallee-ruby-sdk/models/document_template_type_group.rb} +22 -27
- data/lib/wallee-ruby-sdk/models/entity_export_request.rb +208 -0
- data/lib/wallee-ruby-sdk/models/entity_query.rb +6 -13
- 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 +15 -12
- data/lib/wallee-ruby-sdk/models/entity_query_order_by_type.rb +8 -16
- data/lib/{wallee/models/gender.rb → wallee-ruby-sdk/models/environment.rb} +9 -17
- 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/models/label_descriptor_group.rb → wallee-ruby-sdk/models/feature_category.rb} +15 -22
- data/lib/wallee-ruby-sdk/models/gender.rb +8 -16
- data/lib/wallee-ruby-sdk/models/human_user.rb +117 -74
- data/lib/wallee-ruby-sdk/models/human_user_create.rb +100 -97
- data/lib/wallee-ruby-sdk/models/human_user_update.rb +116 -93
- 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/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 +53 -12
- data/lib/wallee-ruby-sdk/models/line_item_create.rb +87 -82
- 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 +225 -0
- data/lib/wallee-ruby-sdk/models/one_click_payment_mode.rb +9 -17
- data/lib/wallee-ruby-sdk/models/payment_connector.rb +30 -15
- data/lib/wallee-ruby-sdk/models/payment_connector_configuration.rb +20 -12
- data/lib/wallee-ruby-sdk/models/payment_connector_feature.rb +5 -12
- data/lib/{wallee/models/subscription_ledger_entry.rb → wallee-ruby-sdk/models/payment_contract.rb} +93 -88
- data/lib/wallee-ruby-sdk/models/payment_contract_state.rb +38 -0
- data/lib/{wallee/models/email_sender_type.rb → wallee-ruby-sdk/models/payment_contract_type.rb} +9 -16
- data/lib/{wallee/models/webhook_listener_entity.rb → wallee-ruby-sdk/models/payment_information_hash.rb} +20 -29
- data/lib/wallee-ruby-sdk/models/payment_information_hash_type.rb +203 -0
- data/lib/{wallee/models/refund.rb → wallee-ruby-sdk/models/payment_link.rb} +133 -169
- data/lib/{wallee/models/subscription_product_active.rb → wallee-ruby-sdk/models/payment_link_active.rb} +123 -83
- data/lib/wallee-ruby-sdk/models/payment_link_create.rb +373 -0
- data/lib/{wallee/models/charge_state.rb → wallee-ruby-sdk/models/payment_link_protection_mode.rb} +9 -18
- data/lib/{wallee/models/subscription_product_create.rb → wallee-ruby-sdk/models/payment_link_update.rb} +114 -89
- data/lib/wallee-ruby-sdk/models/payment_method.rb +20 -15
- data/lib/wallee-ruby-sdk/models/payment_method_brand.rb +7 -14
- data/lib/wallee-ruby-sdk/models/payment_method_configuration.rb +55 -13
- 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 +31 -13
- data/lib/{wallee/models/subscription_metric_create.rb → wallee-ruby-sdk/models/payment_terminal.rb} +50 -42
- data/lib/{wallee/models/address_create.rb → wallee-ruby-sdk/models/payment_terminal_address.rb} +148 -80
- data/lib/{wallee/models/document_template.rb → wallee-ruby-sdk/models/payment_terminal_configuration.rb} +26 -38
- data/lib/{wallee/models/transaction_void_state.rb → wallee-ruby-sdk/models/payment_terminal_configuration_state.rb} +11 -19
- data/lib/{wallee/models/charge_flow_level.rb → wallee-ruby-sdk/models/payment_terminal_configuration_version.rb} +78 -83
- data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_version_state.rb +38 -0
- data/lib/{wallee/models/address.rb → wallee-ruby-sdk/models/payment_terminal_contact_address.rb} +88 -80
- data/lib/{wallee/models/charge_flow_level_configuration.rb → wallee-ruby-sdk/models/payment_terminal_location.rb} +51 -53
- data/lib/wallee-ruby-sdk/models/payment_terminal_location_state.rb +37 -0
- data/lib/{wallee/models/installment_payment.rb → wallee-ruby-sdk/models/payment_terminal_location_version.rb} +46 -45
- 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/models/condition_type.rb → wallee-ruby-sdk/models/payment_terminal_type.rb} +8 -15
- 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 +31 -58
- 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 +31 -38
- 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 +38 -55
- data/lib/wallee-ruby-sdk/models/product_setup_fee.rb +5 -12
- data/lib/wallee-ruby-sdk/models/product_setup_fee_update.rb +31 -58
- data/lib/wallee-ruby-sdk/models/refund.rb +130 -13
- data/lib/{wallee/models/subscription_product_retirement_create.rb → wallee-ruby-sdk/models/refund_comment.rb} +72 -39
- data/lib/wallee-ruby-sdk/models/refund_comment_active.rb +236 -0
- data/lib/{wallee/models/database_translated_string_item_create.rb → wallee-ruby-sdk/models/refund_comment_create.rb} +37 -39
- data/lib/wallee-ruby-sdk/models/refund_create.rb +56 -220
- 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/models/persistable_currency_amount_update.rb → wallee-ruby-sdk/models/rendered_terminal_receipt.rb} +21 -26
- 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 +227 -0
- data/lib/wallee-ruby-sdk/models/rest_address_format_field.rb +43 -0
- data/lib/wallee-ruby-sdk/models/rest_country.rb +16 -13
- 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/models/subscription_metric.rb → wallee-ruby-sdk/models/role.rb} +35 -40
- data/lib/{wallee/models/label_descriptor_type.rb → wallee-ruby-sdk/models/sales_channel.rb} +8 -15
- 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_integration.rb +428 -0
- data/lib/{wallee/models/charge_attempt_state.rb → wallee-ruby-sdk/models/shopify_integration_app_version.rb} +10 -18
- data/lib/{wallee/models/delivery_indication.rb → wallee-ruby-sdk/models/shopify_recurring_order.rb} +86 -53
- data/lib/{wallee/models/account_state.rb → wallee-ruby-sdk/models/shopify_recurring_order_state.rb} +13 -21
- data/lib/wallee-ruby-sdk/models/shopify_recurring_order_update_request.rb +201 -0
- data/lib/{wallee/models/space_reference.rb → wallee-ruby-sdk/models/shopify_subscriber.rb} +44 -21
- data/lib/{wallee/models/charge_type.rb → wallee-ruby-sdk/models/shopify_subscriber_state.rb} +10 -18
- data/lib/{wallee/models/subscription.rb → wallee-ruby-sdk/models/shopify_subscription.rb} +51 -68
- 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/models/document_template_type.rb → wallee-ruby-sdk/models/shopify_subscription_edit_model_item.rb} +39 -48
- data/lib/{wallee/models/tax.rb → wallee-ruby-sdk/models/shopify_subscription_edit_model_tax_line.rb} +6 -13
- 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/shopify_subscription_product_state.rb +39 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_state.rb +39 -0
- data/lib/{wallee/models/charge.rb → wallee-ruby-sdk/models/shopify_subscription_suspension.rb} +71 -78
- data/lib/{wallee/models/client_error.rb → wallee-ruby-sdk/models/shopify_subscription_suspension_create.rb} +39 -51
- data/lib/{wallee/models/charge_attempt_environment.rb → wallee-ruby-sdk/models/shopify_subscription_suspension_initiator.rb} +9 -17
- data/lib/{wallee/models/account_type.rb → wallee-ruby-sdk/models/shopify_subscription_suspension_state.rb} +9 -18
- data/lib/{wallee/models/charge_flow_level_state.rb → wallee-ruby-sdk/models/shopify_subscription_suspension_type.rb} +9 -18
- data/lib/{wallee/models/webhook_listener_create.rb → wallee-ruby-sdk/models/shopify_subscription_update_request.rb} +91 -118
- data/lib/wallee-ruby-sdk/models/shopify_subscription_version.rb +453 -0
- data/lib/{wallee/models/failure_reason.rb → wallee-ruby-sdk/models/shopify_subscription_version_item.rb} +39 -50
- 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/models/label.rb → wallee-ruby-sdk/models/shopify_tax_line.rb} +30 -37
- data/lib/{wallee/models/installment_payment_slice.rb → wallee-ruby-sdk/models/shopify_transaction.rb} +37 -36
- data/lib/wallee-ruby-sdk/models/shopify_transaction_state.rb +38 -0
- data/lib/wallee-ruby-sdk/models/space.rb +61 -14
- data/lib/wallee-ruby-sdk/models/space_address.rb +120 -22
- data/lib/{wallee/models/space_address.rb → wallee-ruby-sdk/models/space_address_create.rb} +121 -23
- data/lib/wallee-ruby-sdk/models/space_create.rb +47 -105
- 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 +54 -87
- 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 +63 -13
- data/lib/wallee-ruby-sdk/models/subscriber_active.rb +85 -65
- data/lib/wallee-ruby-sdk/models/subscriber_create.rb +65 -65
- data/lib/wallee-ruby-sdk/models/subscriber_update.rb +85 -75
- data/lib/wallee-ruby-sdk/models/subscription.rb +76 -13
- data/lib/{wallee/models/subscriber_active.rb → wallee-ruby-sdk/models/subscription_affiliate.rb} +100 -87
- data/lib/{wallee/models/subscription_pending.rb → wallee-ruby-sdk/models/subscription_affiliate_create.rb} +113 -128
- data/lib/{wallee/models/subscriber_update.rb → wallee-ruby-sdk/models/subscription_affiliate_deleted.rb} +100 -87
- data/lib/{wallee/models/subscriber_create.rb → wallee-ruby-sdk/models/subscription_affiliate_deleting.rb} +98 -90
- data/lib/{wallee/models/application_user_create.rb → wallee-ruby-sdk/models/subscription_affiliate_inactive.rb} +58 -64
- data/lib/{wallee/models/application_user_update.rb → wallee-ruby-sdk/models/subscription_affiliate_update.rb} +60 -61
- data/lib/wallee-ruby-sdk/models/subscription_change_request.rb +27 -17
- data/lib/wallee-ruby-sdk/models/subscription_charge.rb +31 -13
- data/lib/wallee-ruby-sdk/models/subscription_charge_create.rb +27 -151
- 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/models/persistable_currency_amount.rb → wallee-ruby-sdk/models/subscription_component_configuration.rb} +19 -26
- data/lib/{wallee/models/localized_string.rb → wallee-ruby-sdk/models/subscription_component_reference_configuration.rb} +20 -37
- data/lib/wallee-ruby-sdk/models/subscription_create_request.rb +23 -18
- data/lib/wallee-ruby-sdk/models/subscription_ledger_entry.rb +29 -12
- data/lib/wallee-ruby-sdk/models/subscription_ledger_entry_create.rb +42 -121
- 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 +27 -74
- data/lib/wallee-ruby-sdk/models/subscription_metric_create.rb +11 -78
- data/lib/wallee-ruby-sdk/models/subscription_metric_type.rb +7 -14
- data/lib/wallee-ruby-sdk/models/subscription_metric_update.rb +27 -74
- 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 +28 -80
- data/lib/wallee-ruby-sdk/models/subscription_pending.rb +61 -108
- 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 +33 -65
- 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 +18 -35
- 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 +55 -42
- data/lib/wallee-ruby-sdk/models/subscription_product_create.rb +44 -77
- data/lib/wallee-ruby-sdk/models/subscription_product_retirement.rb +5 -12
- data/lib/wallee-ruby-sdk/models/subscription_product_retirement_create.rb +10 -57
- data/lib/wallee-ruby-sdk/models/subscription_product_state.rb +11 -19
- data/lib/wallee-ruby-sdk/models/subscription_product_version.rb +20 -12
- data/lib/wallee-ruby-sdk/models/subscription_product_version_pending.rb +31 -38
- 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 +10 -57
- 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 +27 -119
- 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 +46 -138
- 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_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 +70 -13
- data/lib/wallee-ruby-sdk/models/token_create.rb +83 -82
- data/lib/wallee-ruby-sdk/models/token_update.rb +55 -72
- data/lib/wallee-ruby-sdk/models/token_version.rb +98 -13
- data/lib/wallee-ruby-sdk/models/token_version_state.rb +9 -17
- data/lib/wallee-ruby-sdk/models/{email_sender_type.rb → token_version_type.rb} +9 -16
- data/lib/wallee-ruby-sdk/models/tokenization_mode.rb +37 -0
- data/lib/wallee-ruby-sdk/models/transaction.rb +275 -18
- data/lib/wallee-ruby-sdk/models/transaction_aware_entity.rb +5 -12
- data/lib/{wallee/models/connector_invocation.rb → wallee-ruby-sdk/models/transaction_comment.rb} +72 -54
- 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 +126 -13
- data/lib/wallee-ruby-sdk/models/transaction_completion_mode.rb +9 -17
- data/lib/{wallee/models/transaction_invoice_replacement.rb → wallee-ruby-sdk/models/transaction_completion_request.rb} +64 -48
- data/lib/wallee-ruby-sdk/models/transaction_completion_state.rb +11 -18
- data/lib/wallee-ruby-sdk/models/transaction_create.rb +172 -280
- data/lib/wallee-ruby-sdk/models/transaction_environment_selection_strategy.rb +36 -0
- 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 +85 -13
- 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 +94 -271
- 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/models/subscription_metric_type.rb → wallee-ruby-sdk/models/two_factor_authentication_type.rb} +21 -18
- data/lib/wallee-ruby-sdk/models/unencrypted_card_data.rb +284 -0
- data/lib/wallee-ruby-sdk/models/unencrypted_card_data_create.rb +293 -0
- data/lib/wallee-ruby-sdk/models/user.rb +5 -12
- data/lib/{wallee/models/user.rb → wallee-ruby-sdk/models/user_account_role.rb} +37 -44
- data/lib/{wallee/models/tenant_database.rb → wallee-ruby-sdk/models/user_space_role.rb} +34 -21
- data/lib/wallee-ruby-sdk/models/user_type.rb +11 -18
- 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 -96
- data/lib/wallee-ruby-sdk/models/webhook_listener_entity.rb +6 -13
- data/lib/wallee-ruby-sdk/models/webhook_listener_update.rb +30 -72
- data/lib/wallee-ruby-sdk/models/webhook_url.rb +20 -12
- data/lib/wallee-ruby-sdk/models/webhook_url_create.rb +22 -69
- data/lib/wallee-ruby-sdk/models/webhook_url_update.rb +33 -45
- data/lib/wallee-ruby-sdk/version.rb +1 -5
- data/test/{transactioncreate.rb → transaction_create_service_test.rb} +7 -11
- data/test/transaction_payment_page_service_test.rb +91 -0
- data/wallee-ruby-sdk.gemspec +2 -6
- metadata +242 -370
- data/Gemfile.lock +0 -31
- data/lib/wallee-ruby-sdk/models/attachment_resource.rb +0 -210
- data/lib/wallee-ruby-sdk/models/email_sender.rb +0 -278
- data/lib/wallee-ruby-sdk/models/email_template.rb +0 -324
- data/lib/wallee-ruby-sdk/models/email_template_type.rb +0 -288
- data/lib/wallee-ruby-sdk/models/entity_reference.rb +0 -188
- data/lib/wallee-ruby-sdk/services/application_user_service_api.rb +0 -372
- data/lib/wallee-ruby-sdk/services/condition_type_service_api.rb +0 -143
- data/lib/wallee-ruby-sdk/services/delivery_indication_service_api.rb +0 -341
- 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
- data/lib/wallee-ruby-sdk/services/installment_payment_service_api.rb +0 -287
- data/lib/wallee-ruby-sdk/services/installment_plan_calculation_service_api.rb +0 -95
- data/lib/wallee-ruby-sdk/services/installment_plan_slice_configuration_service_api.rb +0 -219
- data/lib/wallee-ruby-sdk/services/refund_service_api.rb +0 -468
- data/lib/wallee-ruby-sdk/services/space_service_api.rb +0 -372
- data/lib/wallee-ruby-sdk/services/subscription_ledger_entry_service_api.rb +0 -279
- data/lib/wallee-ruby-sdk/services/subscription_metric_usage_service_api.rb +0 -279
- data/lib/wallee-ruby-sdk/services/subscription_product_retirement_service_api.rb +0 -279
- data/lib/wallee-ruby-sdk/services/subscription_product_setup_fee_service_api.rb +0 -402
- data/lib/wallee-ruby-sdk/services/subscription_product_version_service_api.rb +0 -404
- data/lib/wallee-ruby-sdk/services/subscription_service_api.rb +0 -608
- data/lib/wallee-ruby-sdk/services/transaction_void_service_api.rb +0 -343
- data/lib/wallee.rb +0 -332
- data/lib/wallee/api_client.rb +0 -403
- data/lib/wallee/api_error.rb +0 -47
- data/lib/wallee/configuration.rb +0 -144
- data/lib/wallee/models/account.rb +0 -298
- data/lib/wallee/models/account_create.rb +0 -308
- data/lib/wallee/models/account_update.rb +0 -308
- data/lib/wallee/models/application_user.rb +0 -268
- data/lib/wallee/models/application_user_create_with_mac_key.rb +0 -278
- data/lib/wallee/models/attachment_resource.rb +0 -210
- data/lib/wallee/models/charge_attempt.rb +0 -420
- data/lib/wallee/models/client_error_type.rb +0 -44
- data/lib/wallee/models/connector_invocation_stage.rb +0 -45
- data/lib/wallee/models/creation_entity_state.rb +0 -46
- data/lib/wallee/models/criteria_operator.rb +0 -50
- data/lib/wallee/models/customers_presence.rb +0 -44
- data/lib/wallee/models/database_translated_string.rb +0 -222
- data/lib/wallee/models/database_translated_string_create.rb +0 -222
- data/lib/wallee/models/delivery_indication_state.rb +0 -45
- data/lib/wallee/models/email_sender.rb +0 -278
- data/lib/wallee/models/email_template.rb +0 -324
- data/lib/wallee/models/email_template_type.rb +0 -288
- data/lib/wallee/models/entity_query.rb +0 -240
- data/lib/wallee/models/entity_query_filter.rb +0 -245
- data/lib/wallee/models/entity_query_filter_type.rb +0 -44
- data/lib/wallee/models/entity_query_order_by.rb +0 -208
- data/lib/wallee/models/entity_query_order_by_type.rb +0 -43
- data/lib/wallee/models/entity_reference.rb +0 -188
- data/lib/wallee/models/failure_category.rb +0 -46
- data/lib/wallee/models/feature.rb +0 -274
- data/lib/wallee/models/human_user.rb +0 -318
- data/lib/wallee/models/human_user_update.rb +0 -328
- data/lib/wallee/models/installment_calculated_plan.rb +0 -242
- data/lib/wallee/models/installment_payment_slice_state.rb +0 -48
- data/lib/wallee/models/installment_payment_state.rb +0 -49
- data/lib/wallee/models/installment_plan_configuration.rb +0 -362
- data/lib/wallee/models/installment_plan_slice_configuration.rb +0 -288
- data/lib/wallee/models/label_descriptor.rb +0 -274
- data/lib/wallee/models/label_descriptor_category.rb +0 -43
- data/lib/wallee/models/legal_organization_form.rb +0 -242
- data/lib/wallee/models/line_item.rb +0 -342
- data/lib/wallee/models/line_item_create.rb +0 -367
- data/lib/wallee/models/line_item_reduction.rb +0 -218
- data/lib/wallee/models/line_item_reduction_create.rb +0 -233
- data/lib/wallee/models/line_item_type.rb +0 -45
- data/lib/wallee/models/manual_task.rb +0 -290
- data/lib/wallee/models/manual_task_action.rb +0 -230
- data/lib/wallee/models/manual_task_action_style.rb +0 -44
- data/lib/wallee/models/manual_task_state.rb +0 -44
- data/lib/wallee/models/one_click_payment_mode.rb +0 -44
- data/lib/wallee/models/payment_connector.rb +0 -306
- data/lib/wallee/models/payment_connector_configuration.rb +0 -322
- data/lib/wallee/models/payment_method.rb +0 -256
- data/lib/wallee/models/payment_method_brand.rb +0 -252
- data/lib/wallee/models/payment_method_configuration.rb +0 -328
- data/lib/wallee/models/payment_primary_risk_taker.rb +0 -44
- data/lib/wallee/models/payment_processor.rb +0 -278
- data/lib/wallee/models/payment_processor_configuration.rb +0 -258
- data/lib/wallee/models/permission.rb +0 -286
- data/lib/wallee/models/product_fee_type.rb +0 -44
- data/lib/wallee/models/product_metered_fee.rb +0 -278
- data/lib/wallee/models/product_metered_fee_update.rb +0 -288
- data/lib/wallee/models/product_metered_tier_fee_update.rb +0 -250
- data/lib/wallee/models/product_metered_tier_pricing.rb +0 -43
- data/lib/wallee/models/product_period_fee.rb +0 -280
- data/lib/wallee/models/product_period_fee_update.rb +0 -290
- data/lib/wallee/models/product_setup_fee.rb +0 -294
- data/lib/wallee/models/product_setup_fee_update.rb +0 -304
- data/lib/wallee/models/refund_state.rb +0 -46
- data/lib/wallee/models/refund_type.rb +0 -45
- data/lib/wallee/models/rendered_document.rb +0 -230
- data/lib/wallee/models/resource_path.rb +0 -258
- data/lib/wallee/models/resource_state.rb +0 -44
- data/lib/wallee/models/rest_country.rb +0 -240
- data/lib/wallee/models/rest_currency.rb +0 -218
- data/lib/wallee/models/rest_language.rb +0 -248
- data/lib/wallee/models/scope.rb +0 -302
- data/lib/wallee/models/space_create.rb +0 -350
- data/lib/wallee/models/space_reference_state.rb +0 -46
- data/lib/wallee/models/space_update.rb +0 -340
- data/lib/wallee/models/space_view.rb +0 -258
- data/lib/wallee/models/subscription_charge.rb +0 -390
- data/lib/wallee/models/subscription_charge_create.rb +0 -405
- data/lib/wallee/models/subscription_charge_processing_type.rb +0 -43
- data/lib/wallee/models/subscription_charge_state.rb +0 -46
- data/lib/wallee/models/subscription_charge_type.rb +0 -43
- data/lib/wallee/models/subscription_create_request.rb +0 -245
- data/lib/wallee/models/subscription_ledger_entry_create.rb +0 -375
- data/lib/wallee/models/subscription_ledger_entry_state.rb +0 -44
- data/lib/wallee/models/subscription_metric_active.rb +0 -278
- data/lib/wallee/models/subscription_metric_update.rb +0 -278
- data/lib/wallee/models/subscription_metric_usage_report.rb +0 -298
- data/lib/wallee/models/subscription_metric_usage_report_create.rb +0 -318
- data/lib/wallee/models/subscription_period_bill.rb +0 -298
- data/lib/wallee/models/subscription_period_bill_state.rb +0 -43
- data/lib/wallee/models/subscription_product_component.rb +0 -298
- data/lib/wallee/models/subscription_product_component_group.rb +0 -258
- data/lib/wallee/models/subscription_product_component_group_update.rb +0 -268
- data/lib/wallee/models/subscription_product_component_reference.rb +0 -258
- data/lib/wallee/models/subscription_product_component_reference_state.rb +0 -45
- data/lib/wallee/models/subscription_product_component_update.rb +0 -308
- data/lib/wallee/models/subscription_product_state.rb +0 -46
- data/lib/wallee/models/subscription_product_version.rb +0 -390
- data/lib/wallee/models/subscription_product_version_pending.rb +0 -310
- data/lib/wallee/models/subscription_product_version_retirement.rb +0 -258
- data/lib/wallee/models/subscription_product_version_state.rb +0 -46
- data/lib/wallee/models/subscription_state.rb +0 -48
- data/lib/wallee/models/subscription_suspension.rb +0 -328
- data/lib/wallee/models/subscription_suspension_action.rb +0 -43
- data/lib/wallee/models/subscription_suspension_create.rb +0 -343
- data/lib/wallee/models/subscription_suspension_reason.rb +0 -44
- data/lib/wallee/models/subscription_suspension_running.rb +0 -328
- data/lib/wallee/models/subscription_suspension_state.rb +0 -43
- data/lib/wallee/models/subscription_update.rb +0 -348
- data/lib/wallee/models/subscription_version.rb +0 -370
- data/lib/wallee/models/subscription_version_state.rb +0 -47
- data/lib/wallee/models/tax_class.rb +0 -258
- data/lib/wallee/models/token_version_state.rb +0 -44
- data/lib/wallee/models/transaction.rb +0 -626
- data/lib/wallee/models/transaction_completion.rb +0 -390
- data/lib/wallee/models/transaction_completion_mode.rb +0 -44
- data/lib/wallee/models/transaction_completion_state.rb +0 -45
- data/lib/wallee/models/transaction_create.rb +0 -646
- data/lib/wallee/models/transaction_group.rb +0 -268
- data/lib/wallee/models/transaction_group_state.rb +0 -44
- data/lib/wallee/models/transaction_invoice.rb +0 -380
- data/lib/wallee/models/transaction_invoice_state.rb +0 -48
- data/lib/wallee/models/transaction_line_item_update_request.rb +0 -215
- data/lib/wallee/models/transaction_state.rb +0 -51
- data/lib/wallee/models/transaction_user_interface_type.rb +0 -44
- data/lib/wallee/models/transaction_void.rb +0 -380
- data/lib/wallee/models/user_type.rb +0 -45
- data/lib/wallee/models/webhook_listener.rb +0 -300
- data/lib/wallee/models/webhook_listener_update.rb +0 -310
- data/lib/wallee/models/webhook_url.rb +0 -258
- data/lib/wallee/models/webhook_url_create.rb +0 -273
- data/lib/wallee/models/webhook_url_update.rb +0 -268
- data/lib/wallee/services/account_service_api.rb +0 -372
- data/lib/wallee/services/charge_flow_service_api.rb +0 -352
- data/lib/wallee/services/country_state_service_api.rb +0 -143
- data/lib/wallee/services/document_template_service_api.rb +0 -217
- data/lib/wallee/services/document_template_type_service_api.rb +0 -143
- data/lib/wallee/services/email_sender_service_api.rb +0 -219
- data/lib/wallee/services/email_sender_type_service_api.rb +0 -143
- data/lib/wallee/services/email_template_service_api.rb +0 -217
- data/lib/wallee/services/email_template_type_service_api.rb +0 -143
- data/lib/wallee/services/human_user_service_api.rb +0 -372
- data/lib/wallee/services/installment_payment_slice_service_api.rb +0 -219
- data/lib/wallee/services/installment_plan_configuration_service_api.rb +0 -219
- data/lib/wallee/services/label_description_group_service_api.rb +0 -143
- data/lib/wallee/services/label_description_service_api.rb +0 -143
- data/lib/wallee/services/language_service_api.rb +0 -85
- data/lib/wallee/services/payment_connector_configuration_service_api.rb +0 -217
- data/lib/wallee/services/payment_connector_service_api.rb +0 -143
- data/lib/wallee/services/payment_method_configuration_service_api.rb +0 -217
- data/lib/wallee/services/payment_processor_configuration_service_api.rb +0 -217
- data/lib/wallee/services/payment_processor_service_api.rb +0 -143
- data/lib/wallee/services/static_value_service_api.rb +0 -143
- data/lib/wallee/services/subscription_period_bill_service_api.rb +0 -217
- data/lib/wallee/services/subscription_product_component_group_service_api.rb +0 -402
- data/lib/wallee/services/subscription_product_component_service_api.rb +0 -402
- data/lib/wallee/services/subscription_product_metered_fee_service_api.rb +0 -402
- data/lib/wallee/services/subscription_product_version_retirement_service_api.rb +0 -279
- data/lib/wallee/services/subscription_version_service_api.rb +0 -217
- data/lib/wallee/services/token_version_service_api.rb +0 -280
- data/lib/wallee/services/transaction_completion_service_api.rb +0 -343
- data/lib/wallee/services/transaction_service_api.rb +0 -1263
- data/lib/wallee/services/webhook_url_service_api.rb +0 -402
- data/lib/wallee/version.rb +0 -24
|
@@ -0,0 +1,86 @@
|
|
|
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 TransactionMobileSdkService
|
|
22
|
+
attr_accessor :api_client
|
|
23
|
+
|
|
24
|
+
def initialize(api_client = ApiClient.default)
|
|
25
|
+
@api_client = api_client
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Build Mobile SDK URL
|
|
29
|
+
# This operation builds the URL which is used to load the payment form within a WebView on a mobile device. This operation is typically called through the mobile SDK.
|
|
30
|
+
# @param credentials The credentials identifies the transaction and contains the security details which grants the access this operation.
|
|
31
|
+
# @param [Hash] opts the optional parameters
|
|
32
|
+
# @return [String]
|
|
33
|
+
def payment_form_url(credentials, opts = {})
|
|
34
|
+
data, _status_code, _headers = payment_form_url_with_http_info(credentials, opts)
|
|
35
|
+
return data
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Build Mobile SDK URL
|
|
39
|
+
# This operation builds the URL which is used to load the payment form within a WebView on a mobile device. This operation is typically called through the mobile SDK.
|
|
40
|
+
# @param credentials The credentials identifies the transaction and contains the security details which grants the access this operation.
|
|
41
|
+
# @param [Hash] opts the optional parameters
|
|
42
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
43
|
+
def payment_form_url_with_http_info(credentials, opts = {})
|
|
44
|
+
if @api_client.config.debugging
|
|
45
|
+
@api_client.config.logger.debug "Calling API: TransactionMobileSdkService.payment_form_url ..."
|
|
46
|
+
end
|
|
47
|
+
# verify the required parameter 'credentials' is set
|
|
48
|
+
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionMobileSdkService.payment_form_url" if credentials.nil?
|
|
49
|
+
# resource path
|
|
50
|
+
local_var_path = "/transaction-mobile-sdk/payment-form-url".sub('{format}','json')
|
|
51
|
+
|
|
52
|
+
# query parameters
|
|
53
|
+
query_params = {}
|
|
54
|
+
query_params[:'credentials'] = credentials
|
|
55
|
+
|
|
56
|
+
# header parameters
|
|
57
|
+
header_params = {}
|
|
58
|
+
|
|
59
|
+
# HTTP header 'Accept' (if needed)
|
|
60
|
+
local_header_accept = ['application/json', 'text/plain;charset=utf-8']
|
|
61
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
62
|
+
|
|
63
|
+
# HTTP header 'Content-Type'
|
|
64
|
+
local_header_content_type = []
|
|
65
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
66
|
+
|
|
67
|
+
# form parameters
|
|
68
|
+
form_params = {}
|
|
69
|
+
|
|
70
|
+
# http body (model)
|
|
71
|
+
post_body = nil
|
|
72
|
+
auth_names = []
|
|
73
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
74
|
+
:header_params => header_params,
|
|
75
|
+
:query_params => query_params,
|
|
76
|
+
:form_params => form_params,
|
|
77
|
+
:body => post_body,
|
|
78
|
+
:auth_names => auth_names,
|
|
79
|
+
:return_type => 'String')
|
|
80
|
+
if @api_client.config.debugging
|
|
81
|
+
@api_client.config.logger.debug "API called: TransactionMobileSdkService#payment_form_url\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
82
|
+
end
|
|
83
|
+
return data, status_code, headers
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
@@ -0,0 +1,91 @@
|
|
|
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 TransactionPaymentPageService
|
|
22
|
+
attr_accessor :api_client
|
|
23
|
+
|
|
24
|
+
def initialize(api_client = ApiClient.default)
|
|
25
|
+
@api_client = api_client
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Build Payment Page URL
|
|
29
|
+
# This operation creates the URL to which the user should be redirected to when the payment page should be used.
|
|
30
|
+
# @param space_id
|
|
31
|
+
# @param id The id of the transaction which should be returned.
|
|
32
|
+
# @param [Hash] opts the optional parameters
|
|
33
|
+
# @return [String]
|
|
34
|
+
def payment_page_url(space_id, id, opts = {})
|
|
35
|
+
data, _status_code, _headers = payment_page_url_with_http_info(space_id, id, opts)
|
|
36
|
+
return data
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Build Payment Page URL
|
|
40
|
+
# This operation creates the URL to which the user should be redirected to when the payment page should be used.
|
|
41
|
+
# @param space_id
|
|
42
|
+
# @param id The id of the transaction which should be returned.
|
|
43
|
+
# @param [Hash] opts the optional parameters
|
|
44
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
45
|
+
def payment_page_url_with_http_info(space_id, id, opts = {})
|
|
46
|
+
if @api_client.config.debugging
|
|
47
|
+
@api_client.config.logger.debug "Calling API: TransactionPaymentPageService.payment_page_url ..."
|
|
48
|
+
end
|
|
49
|
+
# verify the required parameter 'space_id' is set
|
|
50
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionPaymentPageService.payment_page_url" if space_id.nil?
|
|
51
|
+
# verify the required parameter 'id' is set
|
|
52
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionPaymentPageService.payment_page_url" if id.nil?
|
|
53
|
+
# resource path
|
|
54
|
+
local_var_path = "/transaction-payment-page/payment-page-url".sub('{format}','json')
|
|
55
|
+
|
|
56
|
+
# query parameters
|
|
57
|
+
query_params = {}
|
|
58
|
+
query_params[:'spaceId'] = space_id
|
|
59
|
+
query_params[:'id'] = id
|
|
60
|
+
|
|
61
|
+
# header parameters
|
|
62
|
+
header_params = {}
|
|
63
|
+
|
|
64
|
+
# HTTP header 'Accept' (if needed)
|
|
65
|
+
local_header_accept = ['application/json', 'text/plain;charset=utf-8']
|
|
66
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
67
|
+
|
|
68
|
+
# HTTP header 'Content-Type'
|
|
69
|
+
local_header_content_type = []
|
|
70
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
71
|
+
|
|
72
|
+
# form parameters
|
|
73
|
+
form_params = {}
|
|
74
|
+
|
|
75
|
+
# http body (model)
|
|
76
|
+
post_body = nil
|
|
77
|
+
auth_names = []
|
|
78
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
79
|
+
:header_params => header_params,
|
|
80
|
+
:query_params => query_params,
|
|
81
|
+
:form_params => form_params,
|
|
82
|
+
:body => post_body,
|
|
83
|
+
:auth_names => auth_names,
|
|
84
|
+
:return_type => 'String')
|
|
85
|
+
if @api_client.config.debugging
|
|
86
|
+
@api_client.config.logger.debug "API called: TransactionPaymentPageService#payment_page_url\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
87
|
+
end
|
|
88
|
+
return data, status_code, headers
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
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
|
|
@@ -29,198 +25,14 @@ module Wallee
|
|
|
29
25
|
@api_client = api_client
|
|
30
26
|
end
|
|
31
27
|
|
|
32
|
-
# Build JavaScript URL
|
|
33
|
-
# This operation creates the URL which can be used to embed the JavaScript for handling the iFrame checkout flow.
|
|
34
|
-
# @param space_id
|
|
35
|
-
# @param id The id of the transaction which should be returned.
|
|
36
|
-
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @return [String]
|
|
38
|
-
def transaction_service_build_java_script_url(space_id, id, opts = {})
|
|
39
|
-
data, _status_code, _headers = transaction_service_build_java_script_url_with_http_info(space_id, id, opts)
|
|
40
|
-
return data
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
# Build JavaScript URL
|
|
44
|
-
# This operation creates the URL which can be used to embed the JavaScript for handling the iFrame checkout flow.
|
|
45
|
-
# @param space_id
|
|
46
|
-
# @param id The id of the transaction which should be returned.
|
|
47
|
-
# @param [Hash] opts the optional parameters
|
|
48
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
49
|
-
def transaction_service_build_java_script_url_with_http_info(space_id, id, opts = {})
|
|
50
|
-
if @api_client.config.debugging
|
|
51
|
-
@api_client.config.logger.debug "Calling API: TransactionService.transaction_service_build_java_script_url ..."
|
|
52
|
-
end
|
|
53
|
-
# verify the required parameter 'space_id' is set
|
|
54
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.transaction_service_build_java_script_url" if space_id.nil?
|
|
55
|
-
# verify the required parameter 'id' is set
|
|
56
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.transaction_service_build_java_script_url" if id.nil?
|
|
57
|
-
# resource path
|
|
58
|
-
local_var_path = "/transaction/buildJavaScriptUrl".sub('{format}','json')
|
|
59
|
-
|
|
60
|
-
# query parameters
|
|
61
|
-
query_params = {}
|
|
62
|
-
query_params[:'spaceId'] = space_id
|
|
63
|
-
query_params[:'id'] = id
|
|
64
|
-
|
|
65
|
-
# header parameters
|
|
66
|
-
header_params = {}
|
|
67
|
-
|
|
68
|
-
# HTTP header 'Accept' (if needed)
|
|
69
|
-
local_header_accept = []
|
|
70
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
71
|
-
|
|
72
|
-
# HTTP header 'Content-Type'
|
|
73
|
-
local_header_content_type = []
|
|
74
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
75
|
-
|
|
76
|
-
# form parameters
|
|
77
|
-
form_params = {}
|
|
78
|
-
|
|
79
|
-
# http body (model)
|
|
80
|
-
post_body = nil
|
|
81
|
-
auth_names = []
|
|
82
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
83
|
-
:header_params => header_params,
|
|
84
|
-
:query_params => query_params,
|
|
85
|
-
:form_params => form_params,
|
|
86
|
-
:body => post_body,
|
|
87
|
-
:auth_names => auth_names,
|
|
88
|
-
:return_type => 'String')
|
|
89
|
-
if @api_client.config.debugging
|
|
90
|
-
@api_client.config.logger.debug "API called: TransactionService#transaction_service_build_java_script_url\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
91
|
-
end
|
|
92
|
-
return data, status_code, headers
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
# Build Mobile SDK URL with Credentials
|
|
96
|
-
# This operation builds the URL which is used to load the payment form within a WebView on a mobile device. This operation is typically called through the mobile SDK.
|
|
97
|
-
# @param credentials The credentials identifies the transaction and contains the security details which grants the access this operation.
|
|
98
|
-
# @param [Hash] opts the optional parameters
|
|
99
|
-
# @return [String]
|
|
100
|
-
def transaction_service_build_mobile_sdk_url_with_credentials(credentials, opts = {})
|
|
101
|
-
data, _status_code, _headers = transaction_service_build_mobile_sdk_url_with_credentials_with_http_info(credentials, opts)
|
|
102
|
-
return data
|
|
103
|
-
end
|
|
104
|
-
|
|
105
|
-
# Build Mobile SDK URL with Credentials
|
|
106
|
-
# This operation builds the URL which is used to load the payment form within a WebView on a mobile device. This operation is typically called through the mobile SDK.
|
|
107
|
-
# @param credentials The credentials identifies the transaction and contains the security details which grants the access this operation.
|
|
108
|
-
# @param [Hash] opts the optional parameters
|
|
109
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
110
|
-
def transaction_service_build_mobile_sdk_url_with_credentials_with_http_info(credentials, opts = {})
|
|
111
|
-
if @api_client.config.debugging
|
|
112
|
-
@api_client.config.logger.debug "Calling API: TransactionService.transaction_service_build_mobile_sdk_url_with_credentials ..."
|
|
113
|
-
end
|
|
114
|
-
# verify the required parameter 'credentials' is set
|
|
115
|
-
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionService.transaction_service_build_mobile_sdk_url_with_credentials" if credentials.nil?
|
|
116
|
-
# resource path
|
|
117
|
-
local_var_path = "/transaction/buildMobileSdkUrlWithCredentials".sub('{format}','json')
|
|
118
|
-
|
|
119
|
-
# query parameters
|
|
120
|
-
query_params = {}
|
|
121
|
-
query_params[:'credentials'] = credentials
|
|
122
|
-
|
|
123
|
-
# header parameters
|
|
124
|
-
header_params = {}
|
|
125
|
-
|
|
126
|
-
# HTTP header 'Accept' (if needed)
|
|
127
|
-
local_header_accept = []
|
|
128
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
129
|
-
|
|
130
|
-
# HTTP header 'Content-Type'
|
|
131
|
-
local_header_content_type = []
|
|
132
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
133
|
-
|
|
134
|
-
# form parameters
|
|
135
|
-
form_params = {}
|
|
136
|
-
|
|
137
|
-
# http body (model)
|
|
138
|
-
post_body = nil
|
|
139
|
-
auth_names = []
|
|
140
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
141
|
-
:header_params => header_params,
|
|
142
|
-
:query_params => query_params,
|
|
143
|
-
:form_params => form_params,
|
|
144
|
-
:body => post_body,
|
|
145
|
-
:auth_names => auth_names,
|
|
146
|
-
:return_type => 'String')
|
|
147
|
-
if @api_client.config.debugging
|
|
148
|
-
@api_client.config.logger.debug "API called: TransactionService#transaction_service_build_mobile_sdk_url_with_credentials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
149
|
-
end
|
|
150
|
-
return data, status_code, headers
|
|
151
|
-
end
|
|
152
|
-
|
|
153
|
-
# Build Payment Page URL
|
|
154
|
-
# This operation creates the URL to which the user should be redirected to when the payment page should be used.
|
|
155
|
-
# @param space_id
|
|
156
|
-
# @param id The id of the transaction which should be returned.
|
|
157
|
-
# @param [Hash] opts the optional parameters
|
|
158
|
-
# @return [String]
|
|
159
|
-
def transaction_service_build_payment_page_url(space_id, id, opts = {})
|
|
160
|
-
data, _status_code, _headers = transaction_service_build_payment_page_url_with_http_info(space_id, id, opts)
|
|
161
|
-
return data
|
|
162
|
-
end
|
|
163
|
-
|
|
164
|
-
# Build Payment Page URL
|
|
165
|
-
# This operation creates the URL to which the user should be redirected to when the payment page should be used.
|
|
166
|
-
# @param space_id
|
|
167
|
-
# @param id The id of the transaction which should be returned.
|
|
168
|
-
# @param [Hash] opts the optional parameters
|
|
169
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
170
|
-
def transaction_service_build_payment_page_url_with_http_info(space_id, id, opts = {})
|
|
171
|
-
if @api_client.config.debugging
|
|
172
|
-
@api_client.config.logger.debug "Calling API: TransactionService.transaction_service_build_payment_page_url ..."
|
|
173
|
-
end
|
|
174
|
-
# verify the required parameter 'space_id' is set
|
|
175
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.transaction_service_build_payment_page_url" if space_id.nil?
|
|
176
|
-
# verify the required parameter 'id' is set
|
|
177
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.transaction_service_build_payment_page_url" if id.nil?
|
|
178
|
-
# resource path
|
|
179
|
-
local_var_path = "/transaction/buildPaymentPageUrl".sub('{format}','json')
|
|
180
|
-
|
|
181
|
-
# query parameters
|
|
182
|
-
query_params = {}
|
|
183
|
-
query_params[:'spaceId'] = space_id
|
|
184
|
-
query_params[:'id'] = id
|
|
185
|
-
|
|
186
|
-
# header parameters
|
|
187
|
-
header_params = {}
|
|
188
|
-
|
|
189
|
-
# HTTP header 'Accept' (if needed)
|
|
190
|
-
local_header_accept = []
|
|
191
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
192
|
-
|
|
193
|
-
# HTTP header 'Content-Type'
|
|
194
|
-
local_header_content_type = []
|
|
195
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
196
|
-
|
|
197
|
-
# form parameters
|
|
198
|
-
form_params = {}
|
|
199
|
-
|
|
200
|
-
# http body (model)
|
|
201
|
-
post_body = nil
|
|
202
|
-
auth_names = []
|
|
203
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
204
|
-
:header_params => header_params,
|
|
205
|
-
:query_params => query_params,
|
|
206
|
-
:form_params => form_params,
|
|
207
|
-
:body => post_body,
|
|
208
|
-
:auth_names => auth_names,
|
|
209
|
-
:return_type => 'String')
|
|
210
|
-
if @api_client.config.debugging
|
|
211
|
-
@api_client.config.logger.debug "API called: TransactionService#transaction_service_build_payment_page_url\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
212
|
-
end
|
|
213
|
-
return data, status_code, headers
|
|
214
|
-
end
|
|
215
|
-
|
|
216
28
|
# Confirm
|
|
217
29
|
# The confirm operation marks the transaction as confirmed. Once the transaction is confirmed no more changes can be applied.
|
|
218
30
|
# @param space_id
|
|
219
31
|
# @param transaction_model The transaction JSON object to update and confirm.
|
|
220
32
|
# @param [Hash] opts the optional parameters
|
|
221
33
|
# @return [Transaction]
|
|
222
|
-
def
|
|
223
|
-
data, _status_code, _headers =
|
|
34
|
+
def confirm(space_id, transaction_model, opts = {})
|
|
35
|
+
data, _status_code, _headers = confirm_with_http_info(space_id, transaction_model, opts)
|
|
224
36
|
return data
|
|
225
37
|
end
|
|
226
38
|
|
|
@@ -230,14 +42,14 @@ module Wallee
|
|
|
230
42
|
# @param transaction_model The transaction JSON object to update and confirm.
|
|
231
43
|
# @param [Hash] opts the optional parameters
|
|
232
44
|
# @return [Array<(Transaction, Fixnum, Hash)>] Transaction data, response status code and response headers
|
|
233
|
-
def
|
|
45
|
+
def confirm_with_http_info(space_id, transaction_model, opts = {})
|
|
234
46
|
if @api_client.config.debugging
|
|
235
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
47
|
+
@api_client.config.logger.debug "Calling API: TransactionService.confirm ..."
|
|
236
48
|
end
|
|
237
49
|
# verify the required parameter 'space_id' is set
|
|
238
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.
|
|
50
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.confirm" if space_id.nil?
|
|
239
51
|
# verify the required parameter 'transaction_model' is set
|
|
240
|
-
fail ArgumentError, "Missing the required parameter 'transaction_model' when calling TransactionService.
|
|
52
|
+
fail ArgumentError, "Missing the required parameter 'transaction_model' when calling TransactionService.confirm" if transaction_model.nil?
|
|
241
53
|
# resource path
|
|
242
54
|
local_var_path = "/transaction/confirm".sub('{format}','json')
|
|
243
55
|
|
|
@@ -249,7 +61,7 @@ module Wallee
|
|
|
249
61
|
header_params = {}
|
|
250
62
|
|
|
251
63
|
# HTTP header 'Accept' (if needed)
|
|
252
|
-
local_header_accept = []
|
|
64
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
253
65
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
254
66
|
|
|
255
67
|
# HTTP header 'Content-Type'
|
|
@@ -270,7 +82,7 @@ module Wallee
|
|
|
270
82
|
:auth_names => auth_names,
|
|
271
83
|
:return_type => 'Transaction')
|
|
272
84
|
if @api_client.config.debugging
|
|
273
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
85
|
+
@api_client.config.logger.debug "API called: TransactionService#confirm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
274
86
|
end
|
|
275
87
|
return data, status_code, headers
|
|
276
88
|
end
|
|
@@ -281,8 +93,8 @@ module Wallee
|
|
|
281
93
|
# @param [Hash] opts the optional parameters
|
|
282
94
|
# @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
|
|
283
95
|
# @return [Integer]
|
|
284
|
-
def
|
|
285
|
-
data, _status_code, _headers =
|
|
96
|
+
def count(space_id, opts = {})
|
|
97
|
+
data, _status_code, _headers = count_with_http_info(space_id, opts)
|
|
286
98
|
return data
|
|
287
99
|
end
|
|
288
100
|
|
|
@@ -292,12 +104,12 @@ module Wallee
|
|
|
292
104
|
# @param [Hash] opts the optional parameters
|
|
293
105
|
# @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
|
|
294
106
|
# @return [Array<(Integer, Fixnum, Hash)>] Integer data, response status code and response headers
|
|
295
|
-
def
|
|
107
|
+
def count_with_http_info(space_id, opts = {})
|
|
296
108
|
if @api_client.config.debugging
|
|
297
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
109
|
+
@api_client.config.logger.debug "Calling API: TransactionService.count ..."
|
|
298
110
|
end
|
|
299
111
|
# verify the required parameter 'space_id' is set
|
|
300
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.
|
|
112
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.count" if space_id.nil?
|
|
301
113
|
# resource path
|
|
302
114
|
local_var_path = "/transaction/count".sub('{format}','json')
|
|
303
115
|
|
|
@@ -330,7 +142,7 @@ module Wallee
|
|
|
330
142
|
:auth_names => auth_names,
|
|
331
143
|
:return_type => 'Integer')
|
|
332
144
|
if @api_client.config.debugging
|
|
333
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
145
|
+
@api_client.config.logger.debug "API called: TransactionService#count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
334
146
|
end
|
|
335
147
|
return data, status_code, headers
|
|
336
148
|
end
|
|
@@ -341,8 +153,8 @@ module Wallee
|
|
|
341
153
|
# @param transaction The transaction object which should be created.
|
|
342
154
|
# @param [Hash] opts the optional parameters
|
|
343
155
|
# @return [Transaction]
|
|
344
|
-
def
|
|
345
|
-
data, _status_code, _headers =
|
|
156
|
+
def create(space_id, transaction, opts = {})
|
|
157
|
+
data, _status_code, _headers = create_with_http_info(space_id, transaction, opts)
|
|
346
158
|
return data
|
|
347
159
|
end
|
|
348
160
|
|
|
@@ -352,14 +164,14 @@ module Wallee
|
|
|
352
164
|
# @param transaction The transaction object which should be created.
|
|
353
165
|
# @param [Hash] opts the optional parameters
|
|
354
166
|
# @return [Array<(Transaction, Fixnum, Hash)>] Transaction data, response status code and response headers
|
|
355
|
-
def
|
|
167
|
+
def create_with_http_info(space_id, transaction, opts = {})
|
|
356
168
|
if @api_client.config.debugging
|
|
357
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
169
|
+
@api_client.config.logger.debug "Calling API: TransactionService.create ..."
|
|
358
170
|
end
|
|
359
171
|
# verify the required parameter 'space_id' is set
|
|
360
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.
|
|
172
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.create" if space_id.nil?
|
|
361
173
|
# verify the required parameter 'transaction' is set
|
|
362
|
-
fail ArgumentError, "Missing the required parameter 'transaction' when calling TransactionService.
|
|
174
|
+
fail ArgumentError, "Missing the required parameter 'transaction' when calling TransactionService.create" if transaction.nil?
|
|
363
175
|
# resource path
|
|
364
176
|
local_var_path = "/transaction/create".sub('{format}','json')
|
|
365
177
|
|
|
@@ -392,7 +204,7 @@ module Wallee
|
|
|
392
204
|
:auth_names => auth_names,
|
|
393
205
|
:return_type => 'Transaction')
|
|
394
206
|
if @api_client.config.debugging
|
|
395
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
207
|
+
@api_client.config.logger.debug "API called: TransactionService#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
396
208
|
end
|
|
397
209
|
return data, status_code, headers
|
|
398
210
|
end
|
|
@@ -403,8 +215,8 @@ module Wallee
|
|
|
403
215
|
# @param id The id of the transaction which should be returned.
|
|
404
216
|
# @param [Hash] opts the optional parameters
|
|
405
217
|
# @return [String]
|
|
406
|
-
def
|
|
407
|
-
data, _status_code, _headers =
|
|
218
|
+
def create_transaction_credentials(space_id, id, opts = {})
|
|
219
|
+
data, _status_code, _headers = create_transaction_credentials_with_http_info(space_id, id, opts)
|
|
408
220
|
return data
|
|
409
221
|
end
|
|
410
222
|
|
|
@@ -414,14 +226,14 @@ module Wallee
|
|
|
414
226
|
# @param id The id of the transaction which should be returned.
|
|
415
227
|
# @param [Hash] opts the optional parameters
|
|
416
228
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
417
|
-
def
|
|
229
|
+
def create_transaction_credentials_with_http_info(space_id, id, opts = {})
|
|
418
230
|
if @api_client.config.debugging
|
|
419
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
231
|
+
@api_client.config.logger.debug "Calling API: TransactionService.create_transaction_credentials ..."
|
|
420
232
|
end
|
|
421
233
|
# verify the required parameter 'space_id' is set
|
|
422
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.
|
|
234
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.create_transaction_credentials" if space_id.nil?
|
|
423
235
|
# verify the required parameter 'id' is set
|
|
424
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.
|
|
236
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.create_transaction_credentials" if id.nil?
|
|
425
237
|
# resource path
|
|
426
238
|
local_var_path = "/transaction/createTransactionCredentials".sub('{format}','json')
|
|
427
239
|
|
|
@@ -455,7 +267,7 @@ module Wallee
|
|
|
455
267
|
:auth_names => auth_names,
|
|
456
268
|
:return_type => 'String')
|
|
457
269
|
if @api_client.config.debugging
|
|
458
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
270
|
+
@api_client.config.logger.debug "API called: TransactionService#create_transaction_credentials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
459
271
|
end
|
|
460
272
|
return data, status_code, headers
|
|
461
273
|
end
|
|
@@ -466,8 +278,8 @@ module Wallee
|
|
|
466
278
|
# @param token_id The token ID will be used to find the token which should be removed.
|
|
467
279
|
# @param [Hash] opts the optional parameters
|
|
468
280
|
# @return [nil]
|
|
469
|
-
def
|
|
470
|
-
|
|
281
|
+
def delete_one_click_token_with_credentials(credentials, token_id, opts = {})
|
|
282
|
+
delete_one_click_token_with_credentials_with_http_info(credentials, token_id, opts)
|
|
471
283
|
return nil
|
|
472
284
|
end
|
|
473
285
|
|
|
@@ -477,14 +289,14 @@ module Wallee
|
|
|
477
289
|
# @param token_id The token ID will be used to find the token which should be removed.
|
|
478
290
|
# @param [Hash] opts the optional parameters
|
|
479
291
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
480
|
-
def
|
|
292
|
+
def delete_one_click_token_with_credentials_with_http_info(credentials, token_id, opts = {})
|
|
481
293
|
if @api_client.config.debugging
|
|
482
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
294
|
+
@api_client.config.logger.debug "Calling API: TransactionService.delete_one_click_token_with_credentials ..."
|
|
483
295
|
end
|
|
484
296
|
# verify the required parameter 'credentials' is set
|
|
485
|
-
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionService.
|
|
297
|
+
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionService.delete_one_click_token_with_credentials" if credentials.nil?
|
|
486
298
|
# verify the required parameter 'token_id' is set
|
|
487
|
-
fail ArgumentError, "Missing the required parameter 'token_id' when calling TransactionService.
|
|
299
|
+
fail ArgumentError, "Missing the required parameter 'token_id' when calling TransactionService.delete_one_click_token_with_credentials" if token_id.nil?
|
|
488
300
|
# resource path
|
|
489
301
|
local_var_path = "/transaction/deleteOneClickTokenWithCredentials".sub('{format}','json')
|
|
490
302
|
|
|
@@ -517,7 +329,69 @@ module Wallee
|
|
|
517
329
|
:body => post_body,
|
|
518
330
|
:auth_names => auth_names)
|
|
519
331
|
if @api_client.config.debugging
|
|
520
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
332
|
+
@api_client.config.logger.debug "API called: TransactionService#delete_one_click_token_with_credentials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
333
|
+
end
|
|
334
|
+
return data, status_code, headers
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
# Export
|
|
338
|
+
# Exports the transactions into a CSV file. The file will contain the properties defined in the request.
|
|
339
|
+
# @param space_id
|
|
340
|
+
# @param request The request controls the entries which are exported.
|
|
341
|
+
# @param [Hash] opts the optional parameters
|
|
342
|
+
# @return [String]
|
|
343
|
+
def export(space_id, request, opts = {})
|
|
344
|
+
data, _status_code, _headers = export_with_http_info(space_id, request, opts)
|
|
345
|
+
return data
|
|
346
|
+
end
|
|
347
|
+
|
|
348
|
+
# Export
|
|
349
|
+
# Exports the transactions into a CSV file. The file will contain the properties defined in the request.
|
|
350
|
+
# @param space_id
|
|
351
|
+
# @param request The request controls the entries which are exported.
|
|
352
|
+
# @param [Hash] opts the optional parameters
|
|
353
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
354
|
+
def export_with_http_info(space_id, request, opts = {})
|
|
355
|
+
if @api_client.config.debugging
|
|
356
|
+
@api_client.config.logger.debug "Calling API: TransactionService.export ..."
|
|
357
|
+
end
|
|
358
|
+
# verify the required parameter 'space_id' is set
|
|
359
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.export" if space_id.nil?
|
|
360
|
+
# verify the required parameter 'request' is set
|
|
361
|
+
fail ArgumentError, "Missing the required parameter 'request' when calling TransactionService.export" if request.nil?
|
|
362
|
+
# resource path
|
|
363
|
+
local_var_path = "/transaction/export".sub('{format}','json')
|
|
364
|
+
|
|
365
|
+
# query parameters
|
|
366
|
+
query_params = {}
|
|
367
|
+
query_params[:'spaceId'] = space_id
|
|
368
|
+
|
|
369
|
+
# header parameters
|
|
370
|
+
header_params = {}
|
|
371
|
+
|
|
372
|
+
# HTTP header 'Accept' (if needed)
|
|
373
|
+
local_header_accept = ['application/json;charset=utf-8', 'text/csv']
|
|
374
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
375
|
+
|
|
376
|
+
# HTTP header 'Content-Type'
|
|
377
|
+
local_header_content_type = ['application/json;charset=utf-8']
|
|
378
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
379
|
+
|
|
380
|
+
# form parameters
|
|
381
|
+
form_params = {}
|
|
382
|
+
|
|
383
|
+
# http body (model)
|
|
384
|
+
post_body = @api_client.object_to_http_body(request)
|
|
385
|
+
auth_names = []
|
|
386
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
387
|
+
:header_params => header_params,
|
|
388
|
+
:query_params => query_params,
|
|
389
|
+
:form_params => form_params,
|
|
390
|
+
:body => post_body,
|
|
391
|
+
:auth_names => auth_names,
|
|
392
|
+
:return_type => 'String')
|
|
393
|
+
if @api_client.config.debugging
|
|
394
|
+
@api_client.config.logger.debug "API called: TransactionService#export\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
521
395
|
end
|
|
522
396
|
return data, status_code, headers
|
|
523
397
|
end
|
|
@@ -527,8 +401,8 @@ module Wallee
|
|
|
527
401
|
# @param credentials The credentials identifies the transaction and contains the security details which grants the access this operation.
|
|
528
402
|
# @param [Hash] opts the optional parameters
|
|
529
403
|
# @return [Array<TokenVersion>]
|
|
530
|
-
def
|
|
531
|
-
data, _status_code, _headers =
|
|
404
|
+
def fetch_one_click_tokens_with_credentials(credentials, opts = {})
|
|
405
|
+
data, _status_code, _headers = fetch_one_click_tokens_with_credentials_with_http_info(credentials, opts)
|
|
532
406
|
return data
|
|
533
407
|
end
|
|
534
408
|
|
|
@@ -537,12 +411,12 @@ module Wallee
|
|
|
537
411
|
# @param credentials The credentials identifies the transaction and contains the security details which grants the access this operation.
|
|
538
412
|
# @param [Hash] opts the optional parameters
|
|
539
413
|
# @return [Array<(Array<TokenVersion>, Fixnum, Hash)>] Array<TokenVersion> data, response status code and response headers
|
|
540
|
-
def
|
|
414
|
+
def fetch_one_click_tokens_with_credentials_with_http_info(credentials, opts = {})
|
|
541
415
|
if @api_client.config.debugging
|
|
542
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
416
|
+
@api_client.config.logger.debug "Calling API: TransactionService.fetch_one_click_tokens_with_credentials ..."
|
|
543
417
|
end
|
|
544
418
|
# verify the required parameter 'credentials' is set
|
|
545
|
-
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionService.
|
|
419
|
+
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionService.fetch_one_click_tokens_with_credentials" if credentials.nil?
|
|
546
420
|
# resource path
|
|
547
421
|
local_var_path = "/transaction/fetchOneClickTokensWithCredentials".sub('{format}','json')
|
|
548
422
|
|
|
@@ -575,7 +449,7 @@ module Wallee
|
|
|
575
449
|
:auth_names => auth_names,
|
|
576
450
|
:return_type => 'Array<TokenVersion>')
|
|
577
451
|
if @api_client.config.debugging
|
|
578
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
452
|
+
@api_client.config.logger.debug "API called: TransactionService#fetch_one_click_tokens_with_credentials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
579
453
|
end
|
|
580
454
|
return data, status_code, headers
|
|
581
455
|
end
|
|
@@ -584,10 +458,11 @@ module Wallee
|
|
|
584
458
|
# This operation allows to get the payment method configurations which can be used with the provided transaction.
|
|
585
459
|
# @param space_id
|
|
586
460
|
# @param id The id of the transaction which should be returned.
|
|
461
|
+
# @param integration_mode The integration mode defines the type of integration that is applied on the transaction.
|
|
587
462
|
# @param [Hash] opts the optional parameters
|
|
588
463
|
# @return [Array<PaymentMethodConfiguration>]
|
|
589
|
-
def
|
|
590
|
-
data, _status_code, _headers =
|
|
464
|
+
def fetch_payment_methods(space_id, id, integration_mode, opts = {})
|
|
465
|
+
data, _status_code, _headers = fetch_payment_methods_with_http_info(space_id, id, integration_mode, opts)
|
|
591
466
|
return data
|
|
592
467
|
end
|
|
593
468
|
|
|
@@ -595,33 +470,37 @@ module Wallee
|
|
|
595
470
|
# This operation allows to get the payment method configurations which can be used with the provided transaction.
|
|
596
471
|
# @param space_id
|
|
597
472
|
# @param id The id of the transaction which should be returned.
|
|
473
|
+
# @param integration_mode The integration mode defines the type of integration that is applied on the transaction.
|
|
598
474
|
# @param [Hash] opts the optional parameters
|
|
599
475
|
# @return [Array<(Array<PaymentMethodConfiguration>, Fixnum, Hash)>] Array<PaymentMethodConfiguration> data, response status code and response headers
|
|
600
|
-
def
|
|
476
|
+
def fetch_payment_methods_with_http_info(space_id, id, integration_mode, opts = {})
|
|
601
477
|
if @api_client.config.debugging
|
|
602
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
478
|
+
@api_client.config.logger.debug "Calling API: TransactionService.fetch_payment_methods ..."
|
|
603
479
|
end
|
|
604
480
|
# verify the required parameter 'space_id' is set
|
|
605
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.
|
|
481
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.fetch_payment_methods" if space_id.nil?
|
|
606
482
|
# verify the required parameter 'id' is set
|
|
607
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.
|
|
483
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.fetch_payment_methods" if id.nil?
|
|
484
|
+
# verify the required parameter 'integration_mode' is set
|
|
485
|
+
fail ArgumentError, "Missing the required parameter 'integration_mode' when calling TransactionService.fetch_payment_methods" if integration_mode.nil?
|
|
608
486
|
# resource path
|
|
609
|
-
local_var_path = "/transaction/
|
|
487
|
+
local_var_path = "/transaction/fetch-payment-methods".sub('{format}','json')
|
|
610
488
|
|
|
611
489
|
# query parameters
|
|
612
490
|
query_params = {}
|
|
613
491
|
query_params[:'spaceId'] = space_id
|
|
614
492
|
query_params[:'id'] = id
|
|
493
|
+
query_params[:'integrationMode'] = integration_mode
|
|
615
494
|
|
|
616
495
|
# header parameters
|
|
617
496
|
header_params = {}
|
|
618
497
|
|
|
619
498
|
# HTTP header 'Accept' (if needed)
|
|
620
|
-
local_header_accept = []
|
|
499
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
621
500
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
622
501
|
|
|
623
502
|
# HTTP header 'Content-Type'
|
|
624
|
-
local_header_content_type = [
|
|
503
|
+
local_header_content_type = []
|
|
625
504
|
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
626
505
|
|
|
627
506
|
# form parameters
|
|
@@ -638,7 +517,7 @@ module Wallee
|
|
|
638
517
|
:auth_names => auth_names,
|
|
639
518
|
:return_type => 'Array<PaymentMethodConfiguration>')
|
|
640
519
|
if @api_client.config.debugging
|
|
641
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
520
|
+
@api_client.config.logger.debug "API called: TransactionService#fetch_payment_methods\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
642
521
|
end
|
|
643
522
|
return data, status_code, headers
|
|
644
523
|
end
|
|
@@ -646,40 +525,45 @@ module Wallee
|
|
|
646
525
|
# Fetch Possible Payment Methods with Credentials
|
|
647
526
|
# This operation allows to get the payment method configurations which can be used with the provided transaction.
|
|
648
527
|
# @param credentials The credentials identifies the transaction and contains the security details which grants the access this operation.
|
|
528
|
+
# @param integration_mode The integration mode defines the type of integration that is applied on the transaction.
|
|
649
529
|
# @param [Hash] opts the optional parameters
|
|
650
530
|
# @return [Array<PaymentMethodConfiguration>]
|
|
651
|
-
def
|
|
652
|
-
data, _status_code, _headers =
|
|
531
|
+
def fetch_payment_methods_with_credentials(credentials, integration_mode, opts = {})
|
|
532
|
+
data, _status_code, _headers = fetch_payment_methods_with_credentials_with_http_info(credentials, integration_mode, opts)
|
|
653
533
|
return data
|
|
654
534
|
end
|
|
655
535
|
|
|
656
536
|
# Fetch Possible Payment Methods with Credentials
|
|
657
537
|
# This operation allows to get the payment method configurations which can be used with the provided transaction.
|
|
658
538
|
# @param credentials The credentials identifies the transaction and contains the security details which grants the access this operation.
|
|
539
|
+
# @param integration_mode The integration mode defines the type of integration that is applied on the transaction.
|
|
659
540
|
# @param [Hash] opts the optional parameters
|
|
660
541
|
# @return [Array<(Array<PaymentMethodConfiguration>, Fixnum, Hash)>] Array<PaymentMethodConfiguration> data, response status code and response headers
|
|
661
|
-
def
|
|
542
|
+
def fetch_payment_methods_with_credentials_with_http_info(credentials, integration_mode, opts = {})
|
|
662
543
|
if @api_client.config.debugging
|
|
663
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
544
|
+
@api_client.config.logger.debug "Calling API: TransactionService.fetch_payment_methods_with_credentials ..."
|
|
664
545
|
end
|
|
665
546
|
# verify the required parameter 'credentials' is set
|
|
666
|
-
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionService.
|
|
547
|
+
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionService.fetch_payment_methods_with_credentials" if credentials.nil?
|
|
548
|
+
# verify the required parameter 'integration_mode' is set
|
|
549
|
+
fail ArgumentError, "Missing the required parameter 'integration_mode' when calling TransactionService.fetch_payment_methods_with_credentials" if integration_mode.nil?
|
|
667
550
|
# resource path
|
|
668
|
-
local_var_path = "/transaction/
|
|
551
|
+
local_var_path = "/transaction/fetch-payment-methods-with-credentials".sub('{format}','json')
|
|
669
552
|
|
|
670
553
|
# query parameters
|
|
671
554
|
query_params = {}
|
|
672
555
|
query_params[:'credentials'] = credentials
|
|
556
|
+
query_params[:'integrationMode'] = integration_mode
|
|
673
557
|
|
|
674
558
|
# header parameters
|
|
675
559
|
header_params = {}
|
|
676
560
|
|
|
677
561
|
# HTTP header 'Accept' (if needed)
|
|
678
|
-
local_header_accept = []
|
|
562
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
679
563
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
680
564
|
|
|
681
565
|
# HTTP header 'Content-Type'
|
|
682
|
-
local_header_content_type = [
|
|
566
|
+
local_header_content_type = []
|
|
683
567
|
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
684
568
|
|
|
685
569
|
# form parameters
|
|
@@ -696,7 +580,7 @@ module Wallee
|
|
|
696
580
|
:auth_names => auth_names,
|
|
697
581
|
:return_type => 'Array<PaymentMethodConfiguration>')
|
|
698
582
|
if @api_client.config.debugging
|
|
699
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
583
|
+
@api_client.config.logger.debug "API called: TransactionService#fetch_payment_methods_with_credentials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
700
584
|
end
|
|
701
585
|
return data, status_code, headers
|
|
702
586
|
end
|
|
@@ -707,8 +591,8 @@ module Wallee
|
|
|
707
591
|
# @param id The id of the transaction to get the invoice document for.
|
|
708
592
|
# @param [Hash] opts the optional parameters
|
|
709
593
|
# @return [RenderedDocument]
|
|
710
|
-
def
|
|
711
|
-
data, _status_code, _headers =
|
|
594
|
+
def get_invoice_document(space_id, id, opts = {})
|
|
595
|
+
data, _status_code, _headers = get_invoice_document_with_http_info(space_id, id, opts)
|
|
712
596
|
return data
|
|
713
597
|
end
|
|
714
598
|
|
|
@@ -718,14 +602,14 @@ module Wallee
|
|
|
718
602
|
# @param id The id of the transaction to get the invoice document for.
|
|
719
603
|
# @param [Hash] opts the optional parameters
|
|
720
604
|
# @return [Array<(RenderedDocument, Fixnum, Hash)>] RenderedDocument data, response status code and response headers
|
|
721
|
-
def
|
|
605
|
+
def get_invoice_document_with_http_info(space_id, id, opts = {})
|
|
722
606
|
if @api_client.config.debugging
|
|
723
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
607
|
+
@api_client.config.logger.debug "Calling API: TransactionService.get_invoice_document ..."
|
|
724
608
|
end
|
|
725
609
|
# verify the required parameter 'space_id' is set
|
|
726
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.
|
|
610
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.get_invoice_document" if space_id.nil?
|
|
727
611
|
# verify the required parameter 'id' is set
|
|
728
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.
|
|
612
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.get_invoice_document" if id.nil?
|
|
729
613
|
# resource path
|
|
730
614
|
local_var_path = "/transaction/getInvoiceDocument".sub('{format}','json')
|
|
731
615
|
|
|
@@ -738,11 +622,11 @@ module Wallee
|
|
|
738
622
|
header_params = {}
|
|
739
623
|
|
|
740
624
|
# HTTP header 'Accept' (if needed)
|
|
741
|
-
local_header_accept = ['
|
|
625
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
742
626
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
743
627
|
|
|
744
628
|
# HTTP header 'Content-Type'
|
|
745
|
-
local_header_content_type = ['
|
|
629
|
+
local_header_content_type = ['*/*']
|
|
746
630
|
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
747
631
|
|
|
748
632
|
# form parameters
|
|
@@ -759,7 +643,7 @@ module Wallee
|
|
|
759
643
|
:auth_names => auth_names,
|
|
760
644
|
:return_type => 'RenderedDocument')
|
|
761
645
|
if @api_client.config.debugging
|
|
762
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
646
|
+
@api_client.config.logger.debug "API called: TransactionService#get_invoice_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
763
647
|
end
|
|
764
648
|
return data, status_code, headers
|
|
765
649
|
end
|
|
@@ -770,8 +654,8 @@ module Wallee
|
|
|
770
654
|
# @param id The id of the transaction to get the latest line item version for.
|
|
771
655
|
# @param [Hash] opts the optional parameters
|
|
772
656
|
# @return [TransactionLineItemVersion]
|
|
773
|
-
def
|
|
774
|
-
data, _status_code, _headers =
|
|
657
|
+
def get_latest_transaction_line_item_version(space_id, id, opts = {})
|
|
658
|
+
data, _status_code, _headers = get_latest_transaction_line_item_version_with_http_info(space_id, id, opts)
|
|
775
659
|
return data
|
|
776
660
|
end
|
|
777
661
|
|
|
@@ -781,14 +665,14 @@ module Wallee
|
|
|
781
665
|
# @param id The id of the transaction to get the latest line item version for.
|
|
782
666
|
# @param [Hash] opts the optional parameters
|
|
783
667
|
# @return [Array<(TransactionLineItemVersion, Fixnum, Hash)>] TransactionLineItemVersion data, response status code and response headers
|
|
784
|
-
def
|
|
668
|
+
def get_latest_transaction_line_item_version_with_http_info(space_id, id, opts = {})
|
|
785
669
|
if @api_client.config.debugging
|
|
786
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
670
|
+
@api_client.config.logger.debug "Calling API: TransactionService.get_latest_transaction_line_item_version ..."
|
|
787
671
|
end
|
|
788
672
|
# verify the required parameter 'space_id' is set
|
|
789
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.
|
|
673
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.get_latest_transaction_line_item_version" if space_id.nil?
|
|
790
674
|
# verify the required parameter 'id' is set
|
|
791
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.
|
|
675
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.get_latest_transaction_line_item_version" if id.nil?
|
|
792
676
|
# resource path
|
|
793
677
|
local_var_path = "/transaction/getLatestTransactionLineItemVersion".sub('{format}','json')
|
|
794
678
|
|
|
@@ -801,11 +685,11 @@ module Wallee
|
|
|
801
685
|
header_params = {}
|
|
802
686
|
|
|
803
687
|
# HTTP header 'Accept' (if needed)
|
|
804
|
-
local_header_accept = []
|
|
688
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
805
689
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
806
690
|
|
|
807
691
|
# HTTP header 'Content-Type'
|
|
808
|
-
local_header_content_type = [
|
|
692
|
+
local_header_content_type = []
|
|
809
693
|
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
810
694
|
|
|
811
695
|
# form parameters
|
|
@@ -822,7 +706,7 @@ module Wallee
|
|
|
822
706
|
:auth_names => auth_names,
|
|
823
707
|
:return_type => 'TransactionLineItemVersion')
|
|
824
708
|
if @api_client.config.debugging
|
|
825
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
709
|
+
@api_client.config.logger.debug "API called: TransactionService#get_latest_transaction_line_item_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
826
710
|
end
|
|
827
711
|
return data, status_code, headers
|
|
828
712
|
end
|
|
@@ -833,8 +717,8 @@ module Wallee
|
|
|
833
717
|
# @param id The id of the transaction to get the packing slip for.
|
|
834
718
|
# @param [Hash] opts the optional parameters
|
|
835
719
|
# @return [RenderedDocument]
|
|
836
|
-
def
|
|
837
|
-
data, _status_code, _headers =
|
|
720
|
+
def get_packing_slip(space_id, id, opts = {})
|
|
721
|
+
data, _status_code, _headers = get_packing_slip_with_http_info(space_id, id, opts)
|
|
838
722
|
return data
|
|
839
723
|
end
|
|
840
724
|
|
|
@@ -844,14 +728,14 @@ module Wallee
|
|
|
844
728
|
# @param id The id of the transaction to get the packing slip for.
|
|
845
729
|
# @param [Hash] opts the optional parameters
|
|
846
730
|
# @return [Array<(RenderedDocument, Fixnum, Hash)>] RenderedDocument data, response status code and response headers
|
|
847
|
-
def
|
|
731
|
+
def get_packing_slip_with_http_info(space_id, id, opts = {})
|
|
848
732
|
if @api_client.config.debugging
|
|
849
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
733
|
+
@api_client.config.logger.debug "Calling API: TransactionService.get_packing_slip ..."
|
|
850
734
|
end
|
|
851
735
|
# verify the required parameter 'space_id' is set
|
|
852
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.
|
|
736
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.get_packing_slip" if space_id.nil?
|
|
853
737
|
# verify the required parameter 'id' is set
|
|
854
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.
|
|
738
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.get_packing_slip" if id.nil?
|
|
855
739
|
# resource path
|
|
856
740
|
local_var_path = "/transaction/getPackingSlip".sub('{format}','json')
|
|
857
741
|
|
|
@@ -864,11 +748,11 @@ module Wallee
|
|
|
864
748
|
header_params = {}
|
|
865
749
|
|
|
866
750
|
# HTTP header 'Accept' (if needed)
|
|
867
|
-
local_header_accept = ['
|
|
751
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
868
752
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
869
753
|
|
|
870
754
|
# HTTP header 'Content-Type'
|
|
871
|
-
local_header_content_type = ['
|
|
755
|
+
local_header_content_type = ['*/*']
|
|
872
756
|
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
873
757
|
|
|
874
758
|
# form parameters
|
|
@@ -885,38 +769,38 @@ module Wallee
|
|
|
885
769
|
:auth_names => auth_names,
|
|
886
770
|
:return_type => 'RenderedDocument')
|
|
887
771
|
if @api_client.config.debugging
|
|
888
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
772
|
+
@api_client.config.logger.debug "API called: TransactionService#get_packing_slip\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
889
773
|
end
|
|
890
774
|
return data, status_code, headers
|
|
891
775
|
end
|
|
892
776
|
|
|
893
777
|
# Process One-Click Token with Credentials
|
|
894
|
-
# This operation assigns the given token to the transaction and process it.
|
|
778
|
+
# This operation assigns the given token to the transaction and process it. This method will return an URL where the customer has to be redirect to complete the transaction.
|
|
895
779
|
# @param credentials The credentials identifies the transaction and contains the security details which grants the access this operation.
|
|
896
780
|
# @param token_id The token ID is used to load the corresponding token and to process the transaction with it.
|
|
897
781
|
# @param [Hash] opts the optional parameters
|
|
898
|
-
# @return [
|
|
899
|
-
def
|
|
900
|
-
data, _status_code, _headers =
|
|
782
|
+
# @return [String]
|
|
783
|
+
def process_one_click_token_and_redirect_with_credentials(credentials, token_id, opts = {})
|
|
784
|
+
data, _status_code, _headers = process_one_click_token_and_redirect_with_credentials_with_http_info(credentials, token_id, opts)
|
|
901
785
|
return data
|
|
902
786
|
end
|
|
903
787
|
|
|
904
788
|
# Process One-Click Token with Credentials
|
|
905
|
-
# This operation assigns the given token to the transaction and process it.
|
|
789
|
+
# This operation assigns the given token to the transaction and process it. This method will return an URL where the customer has to be redirect to complete the transaction.
|
|
906
790
|
# @param credentials The credentials identifies the transaction and contains the security details which grants the access this operation.
|
|
907
791
|
# @param token_id The token ID is used to load the corresponding token and to process the transaction with it.
|
|
908
792
|
# @param [Hash] opts the optional parameters
|
|
909
|
-
# @return [Array<(
|
|
910
|
-
def
|
|
793
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
794
|
+
def process_one_click_token_and_redirect_with_credentials_with_http_info(credentials, token_id, opts = {})
|
|
911
795
|
if @api_client.config.debugging
|
|
912
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
796
|
+
@api_client.config.logger.debug "Calling API: TransactionService.process_one_click_token_and_redirect_with_credentials ..."
|
|
913
797
|
end
|
|
914
798
|
# verify the required parameter 'credentials' is set
|
|
915
|
-
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionService.
|
|
799
|
+
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionService.process_one_click_token_and_redirect_with_credentials" if credentials.nil?
|
|
916
800
|
# verify the required parameter 'token_id' is set
|
|
917
|
-
fail ArgumentError, "Missing the required parameter 'token_id' when calling TransactionService.
|
|
801
|
+
fail ArgumentError, "Missing the required parameter 'token_id' when calling TransactionService.process_one_click_token_and_redirect_with_credentials" if token_id.nil?
|
|
918
802
|
# resource path
|
|
919
|
-
local_var_path = "/transaction/
|
|
803
|
+
local_var_path = "/transaction/processOneClickTokenAndRedirectWithCredentials".sub('{format}','json')
|
|
920
804
|
|
|
921
805
|
# query parameters
|
|
922
806
|
query_params = {}
|
|
@@ -937,6 +821,69 @@ module Wallee
|
|
|
937
821
|
# form parameters
|
|
938
822
|
form_params = {}
|
|
939
823
|
|
|
824
|
+
# http body (model)
|
|
825
|
+
post_body = nil
|
|
826
|
+
auth_names = []
|
|
827
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
828
|
+
:header_params => header_params,
|
|
829
|
+
:query_params => query_params,
|
|
830
|
+
:form_params => form_params,
|
|
831
|
+
:body => post_body,
|
|
832
|
+
:auth_names => auth_names,
|
|
833
|
+
:return_type => 'String')
|
|
834
|
+
if @api_client.config.debugging
|
|
835
|
+
@api_client.config.logger.debug "API called: TransactionService#process_one_click_token_and_redirect_with_credentials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
836
|
+
end
|
|
837
|
+
return data, status_code, headers
|
|
838
|
+
end
|
|
839
|
+
|
|
840
|
+
# Process Without User Interaction
|
|
841
|
+
# This operation processes the transaction without requiring that the customer is present. Means this operation applies strategies to process the transaction without a direct interaction with the buyer. This operation is suitable for recurring transactions.
|
|
842
|
+
# @param space_id
|
|
843
|
+
# @param id The id of the transaction which should be processed.
|
|
844
|
+
# @param [Hash] opts the optional parameters
|
|
845
|
+
# @return [Transaction]
|
|
846
|
+
def process_without_user_interaction(space_id, id, opts = {})
|
|
847
|
+
data, _status_code, _headers = process_without_user_interaction_with_http_info(space_id, id, opts)
|
|
848
|
+
return data
|
|
849
|
+
end
|
|
850
|
+
|
|
851
|
+
# Process Without User Interaction
|
|
852
|
+
# This operation processes the transaction without requiring that the customer is present. Means this operation applies strategies to process the transaction without a direct interaction with the buyer. This operation is suitable for recurring transactions.
|
|
853
|
+
# @param space_id
|
|
854
|
+
# @param id The id of the transaction which should be processed.
|
|
855
|
+
# @param [Hash] opts the optional parameters
|
|
856
|
+
# @return [Array<(Transaction, Fixnum, Hash)>] Transaction data, response status code and response headers
|
|
857
|
+
def process_without_user_interaction_with_http_info(space_id, id, opts = {})
|
|
858
|
+
if @api_client.config.debugging
|
|
859
|
+
@api_client.config.logger.debug "Calling API: TransactionService.process_without_user_interaction ..."
|
|
860
|
+
end
|
|
861
|
+
# verify the required parameter 'space_id' is set
|
|
862
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.process_without_user_interaction" if space_id.nil?
|
|
863
|
+
# verify the required parameter 'id' is set
|
|
864
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.process_without_user_interaction" if id.nil?
|
|
865
|
+
# resource path
|
|
866
|
+
local_var_path = "/transaction/processWithoutUserInteraction".sub('{format}','json')
|
|
867
|
+
|
|
868
|
+
# query parameters
|
|
869
|
+
query_params = {}
|
|
870
|
+
query_params[:'spaceId'] = space_id
|
|
871
|
+
query_params[:'id'] = id
|
|
872
|
+
|
|
873
|
+
# header parameters
|
|
874
|
+
header_params = {}
|
|
875
|
+
|
|
876
|
+
# HTTP header 'Accept' (if needed)
|
|
877
|
+
local_header_accept = []
|
|
878
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
879
|
+
|
|
880
|
+
# HTTP header 'Content-Type'
|
|
881
|
+
local_header_content_type = []
|
|
882
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
883
|
+
|
|
884
|
+
# form parameters
|
|
885
|
+
form_params = {}
|
|
886
|
+
|
|
940
887
|
# http body (model)
|
|
941
888
|
post_body = nil
|
|
942
889
|
auth_names = []
|
|
@@ -948,7 +895,7 @@ module Wallee
|
|
|
948
895
|
:auth_names => auth_names,
|
|
949
896
|
:return_type => 'Transaction')
|
|
950
897
|
if @api_client.config.debugging
|
|
951
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
898
|
+
@api_client.config.logger.debug "API called: TransactionService#process_without_user_interaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
952
899
|
end
|
|
953
900
|
return data, status_code, headers
|
|
954
901
|
end
|
|
@@ -959,8 +906,8 @@ module Wallee
|
|
|
959
906
|
# @param id The id of the transaction which should be returned.
|
|
960
907
|
# @param [Hash] opts the optional parameters
|
|
961
908
|
# @return [Transaction]
|
|
962
|
-
def
|
|
963
|
-
data, _status_code, _headers =
|
|
909
|
+
def read(space_id, id, opts = {})
|
|
910
|
+
data, _status_code, _headers = read_with_http_info(space_id, id, opts)
|
|
964
911
|
return data
|
|
965
912
|
end
|
|
966
913
|
|
|
@@ -970,14 +917,14 @@ module Wallee
|
|
|
970
917
|
# @param id The id of the transaction which should be returned.
|
|
971
918
|
# @param [Hash] opts the optional parameters
|
|
972
919
|
# @return [Array<(Transaction, Fixnum, Hash)>] Transaction data, response status code and response headers
|
|
973
|
-
def
|
|
920
|
+
def read_with_http_info(space_id, id, opts = {})
|
|
974
921
|
if @api_client.config.debugging
|
|
975
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
922
|
+
@api_client.config.logger.debug "Calling API: TransactionService.read ..."
|
|
976
923
|
end
|
|
977
924
|
# verify the required parameter 'space_id' is set
|
|
978
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.
|
|
925
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.read" if space_id.nil?
|
|
979
926
|
# verify the required parameter 'id' is set
|
|
980
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.
|
|
927
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionService.read" if id.nil?
|
|
981
928
|
# resource path
|
|
982
929
|
local_var_path = "/transaction/read".sub('{format}','json')
|
|
983
930
|
|
|
@@ -990,11 +937,11 @@ module Wallee
|
|
|
990
937
|
header_params = {}
|
|
991
938
|
|
|
992
939
|
# HTTP header 'Accept' (if needed)
|
|
993
|
-
local_header_accept = ['
|
|
940
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
994
941
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
995
942
|
|
|
996
943
|
# HTTP header 'Content-Type'
|
|
997
|
-
local_header_content_type = ['
|
|
944
|
+
local_header_content_type = ['*/*']
|
|
998
945
|
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
999
946
|
|
|
1000
947
|
# form parameters
|
|
@@ -1011,7 +958,7 @@ module Wallee
|
|
|
1011
958
|
:auth_names => auth_names,
|
|
1012
959
|
:return_type => 'Transaction')
|
|
1013
960
|
if @api_client.config.debugging
|
|
1014
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
961
|
+
@api_client.config.logger.debug "API called: TransactionService#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1015
962
|
end
|
|
1016
963
|
return data, status_code, headers
|
|
1017
964
|
end
|
|
@@ -1021,8 +968,8 @@ module Wallee
|
|
|
1021
968
|
# @param credentials The credentials identifies the transaction and contains the security details which grants the access this operation.
|
|
1022
969
|
# @param [Hash] opts the optional parameters
|
|
1023
970
|
# @return [Transaction]
|
|
1024
|
-
def
|
|
1025
|
-
data, _status_code, _headers =
|
|
971
|
+
def read_with_credentials(credentials, opts = {})
|
|
972
|
+
data, _status_code, _headers = read_with_credentials_with_http_info(credentials, opts)
|
|
1026
973
|
return data
|
|
1027
974
|
end
|
|
1028
975
|
|
|
@@ -1031,12 +978,12 @@ module Wallee
|
|
|
1031
978
|
# @param credentials The credentials identifies the transaction and contains the security details which grants the access this operation.
|
|
1032
979
|
# @param [Hash] opts the optional parameters
|
|
1033
980
|
# @return [Array<(Transaction, Fixnum, Hash)>] Transaction data, response status code and response headers
|
|
1034
|
-
def
|
|
981
|
+
def read_with_credentials_with_http_info(credentials, opts = {})
|
|
1035
982
|
if @api_client.config.debugging
|
|
1036
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
983
|
+
@api_client.config.logger.debug "Calling API: TransactionService.read_with_credentials ..."
|
|
1037
984
|
end
|
|
1038
985
|
# verify the required parameter 'credentials' is set
|
|
1039
|
-
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionService.
|
|
986
|
+
fail ArgumentError, "Missing the required parameter 'credentials' when calling TransactionService.read_with_credentials" if credentials.nil?
|
|
1040
987
|
# resource path
|
|
1041
988
|
local_var_path = "/transaction/readWithCredentials".sub('{format}','json')
|
|
1042
989
|
|
|
@@ -1048,11 +995,11 @@ module Wallee
|
|
|
1048
995
|
header_params = {}
|
|
1049
996
|
|
|
1050
997
|
# HTTP header 'Accept' (if needed)
|
|
1051
|
-
local_header_accept = ['
|
|
998
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
1052
999
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1053
1000
|
|
|
1054
1001
|
# HTTP header 'Content-Type'
|
|
1055
|
-
local_header_content_type = ['
|
|
1002
|
+
local_header_content_type = ['*/*']
|
|
1056
1003
|
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1057
1004
|
|
|
1058
1005
|
# form parameters
|
|
@@ -1069,7 +1016,7 @@ module Wallee
|
|
|
1069
1016
|
:auth_names => auth_names,
|
|
1070
1017
|
:return_type => 'Transaction')
|
|
1071
1018
|
if @api_client.config.debugging
|
|
1072
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
1019
|
+
@api_client.config.logger.debug "API called: TransactionService#read_with_credentials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1073
1020
|
end
|
|
1074
1021
|
return data, status_code, headers
|
|
1075
1022
|
end
|
|
@@ -1080,8 +1027,8 @@ module Wallee
|
|
|
1080
1027
|
# @param query The query restricts the transactions which are returned by the search.
|
|
1081
1028
|
# @param [Hash] opts the optional parameters
|
|
1082
1029
|
# @return [Array<Transaction>]
|
|
1083
|
-
def
|
|
1084
|
-
data, _status_code, _headers =
|
|
1030
|
+
def search(space_id, query, opts = {})
|
|
1031
|
+
data, _status_code, _headers = search_with_http_info(space_id, query, opts)
|
|
1085
1032
|
return data
|
|
1086
1033
|
end
|
|
1087
1034
|
|
|
@@ -1091,14 +1038,14 @@ module Wallee
|
|
|
1091
1038
|
# @param query The query restricts the transactions which are returned by the search.
|
|
1092
1039
|
# @param [Hash] opts the optional parameters
|
|
1093
1040
|
# @return [Array<(Array<Transaction>, Fixnum, Hash)>] Array<Transaction> data, response status code and response headers
|
|
1094
|
-
def
|
|
1041
|
+
def search_with_http_info(space_id, query, opts = {})
|
|
1095
1042
|
if @api_client.config.debugging
|
|
1096
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
1043
|
+
@api_client.config.logger.debug "Calling API: TransactionService.search ..."
|
|
1097
1044
|
end
|
|
1098
1045
|
# verify the required parameter 'space_id' is set
|
|
1099
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.
|
|
1046
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.search" if space_id.nil?
|
|
1100
1047
|
# verify the required parameter 'query' is set
|
|
1101
|
-
fail ArgumentError, "Missing the required parameter 'query' when calling TransactionService.
|
|
1048
|
+
fail ArgumentError, "Missing the required parameter 'query' when calling TransactionService.search" if query.nil?
|
|
1102
1049
|
# resource path
|
|
1103
1050
|
local_var_path = "/transaction/search".sub('{format}','json')
|
|
1104
1051
|
|
|
@@ -1131,7 +1078,7 @@ module Wallee
|
|
|
1131
1078
|
:auth_names => auth_names,
|
|
1132
1079
|
:return_type => 'Array<Transaction>')
|
|
1133
1080
|
if @api_client.config.debugging
|
|
1134
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
1081
|
+
@api_client.config.logger.debug "API called: TransactionService#search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1135
1082
|
end
|
|
1136
1083
|
return data, status_code, headers
|
|
1137
1084
|
end
|
|
@@ -1142,8 +1089,8 @@ module Wallee
|
|
|
1142
1089
|
# @param entity The transaction object with the properties which should be updated.
|
|
1143
1090
|
# @param [Hash] opts the optional parameters
|
|
1144
1091
|
# @return [Transaction]
|
|
1145
|
-
def
|
|
1146
|
-
data, _status_code, _headers =
|
|
1092
|
+
def update(space_id, entity, opts = {})
|
|
1093
|
+
data, _status_code, _headers = update_with_http_info(space_id, entity, opts)
|
|
1147
1094
|
return data
|
|
1148
1095
|
end
|
|
1149
1096
|
|
|
@@ -1153,14 +1100,14 @@ module Wallee
|
|
|
1153
1100
|
# @param entity The transaction object with the properties which should be updated.
|
|
1154
1101
|
# @param [Hash] opts the optional parameters
|
|
1155
1102
|
# @return [Array<(Transaction, Fixnum, Hash)>] Transaction data, response status code and response headers
|
|
1156
|
-
def
|
|
1103
|
+
def update_with_http_info(space_id, entity, opts = {})
|
|
1157
1104
|
if @api_client.config.debugging
|
|
1158
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
1105
|
+
@api_client.config.logger.debug "Calling API: TransactionService.update ..."
|
|
1159
1106
|
end
|
|
1160
1107
|
# verify the required parameter 'space_id' is set
|
|
1161
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.
|
|
1108
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.update" if space_id.nil?
|
|
1162
1109
|
# verify the required parameter 'entity' is set
|
|
1163
|
-
fail ArgumentError, "Missing the required parameter 'entity' when calling TransactionService.
|
|
1110
|
+
fail ArgumentError, "Missing the required parameter 'entity' when calling TransactionService.update" if entity.nil?
|
|
1164
1111
|
# resource path
|
|
1165
1112
|
local_var_path = "/transaction/update".sub('{format}','json')
|
|
1166
1113
|
|
|
@@ -1193,7 +1140,7 @@ module Wallee
|
|
|
1193
1140
|
:auth_names => auth_names,
|
|
1194
1141
|
:return_type => 'Transaction')
|
|
1195
1142
|
if @api_client.config.debugging
|
|
1196
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
1143
|
+
@api_client.config.logger.debug "API called: TransactionService#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1197
1144
|
end
|
|
1198
1145
|
return data, status_code, headers
|
|
1199
1146
|
end
|
|
@@ -1204,8 +1151,8 @@ module Wallee
|
|
|
1204
1151
|
# @param update_request
|
|
1205
1152
|
# @param [Hash] opts the optional parameters
|
|
1206
1153
|
# @return [TransactionLineItemVersion]
|
|
1207
|
-
def
|
|
1208
|
-
data, _status_code, _headers =
|
|
1154
|
+
def update_transaction_line_items(space_id, update_request, opts = {})
|
|
1155
|
+
data, _status_code, _headers = update_transaction_line_items_with_http_info(space_id, update_request, opts)
|
|
1209
1156
|
return data
|
|
1210
1157
|
end
|
|
1211
1158
|
|
|
@@ -1215,14 +1162,14 @@ module Wallee
|
|
|
1215
1162
|
# @param update_request
|
|
1216
1163
|
# @param [Hash] opts the optional parameters
|
|
1217
1164
|
# @return [Array<(TransactionLineItemVersion, Fixnum, Hash)>] TransactionLineItemVersion data, response status code and response headers
|
|
1218
|
-
def
|
|
1165
|
+
def update_transaction_line_items_with_http_info(space_id, update_request, opts = {})
|
|
1219
1166
|
if @api_client.config.debugging
|
|
1220
|
-
@api_client.config.logger.debug "Calling API: TransactionService.
|
|
1167
|
+
@api_client.config.logger.debug "Calling API: TransactionService.update_transaction_line_items ..."
|
|
1221
1168
|
end
|
|
1222
1169
|
# verify the required parameter 'space_id' is set
|
|
1223
|
-
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.
|
|
1170
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling TransactionService.update_transaction_line_items" if space_id.nil?
|
|
1224
1171
|
# verify the required parameter 'update_request' is set
|
|
1225
|
-
fail ArgumentError, "Missing the required parameter 'update_request' when calling TransactionService.
|
|
1172
|
+
fail ArgumentError, "Missing the required parameter 'update_request' when calling TransactionService.update_transaction_line_items" if update_request.nil?
|
|
1226
1173
|
# resource path
|
|
1227
1174
|
local_var_path = "/transaction/updateTransactionLineItems".sub('{format}','json')
|
|
1228
1175
|
|
|
@@ -1234,7 +1181,7 @@ module Wallee
|
|
|
1234
1181
|
header_params = {}
|
|
1235
1182
|
|
|
1236
1183
|
# HTTP header 'Accept' (if needed)
|
|
1237
|
-
local_header_accept = []
|
|
1184
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
1238
1185
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1239
1186
|
|
|
1240
1187
|
# HTTP header 'Content-Type'
|
|
@@ -1255,7 +1202,7 @@ module Wallee
|
|
|
1255
1202
|
:auth_names => auth_names,
|
|
1256
1203
|
:return_type => 'TransactionLineItemVersion')
|
|
1257
1204
|
if @api_client.config.debugging
|
|
1258
|
-
@api_client.config.logger.debug "API called: TransactionService#
|
|
1205
|
+
@api_client.config.logger.debug "API called: TransactionService#update_transaction_line_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1259
1206
|
end
|
|
1260
1207
|
return data, status_code, headers
|
|
1261
1208
|
end
|