vrpayment-ruby-sdk 6.4.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +38 -31
- data/README.md +354 -129
- data/lib/vrpayment-ruby-sdk/api_client.rb +1 -1
- data/lib/vrpayment-ruby-sdk/models/abstract_role_update.rb +13 -1
- data/lib/vrpayment-ruby-sdk/models/abstract_walleejoin_partnership.rb +330 -0
- data/lib/vrpayment-ruby-sdk/models/{payment_terminal_preparing.rb → account_create_with_owner.rb} +63 -34
- data/lib/vrpayment-ruby-sdk/models/analytics_query_execution_request.rb +279 -0
- data/lib/vrpayment-ruby-sdk/models/{express_checkout_shipping_method_change_request.rb → analytics_query_execution_response.rb} +11 -11
- data/lib/vrpayment-ruby-sdk/models/authenticated_card_data_create.rb +30 -1
- data/lib/vrpayment-ruby-sdk/models/bank_payment_type.rb +50 -0
- data/lib/vrpayment-ruby-sdk/models/{express_checkout_shipping_address_change_request.rb → boarding_strategy_information_request.rb} +22 -14
- data/lib/vrpayment-ruby-sdk/models/{bogus_express_checkout_payment_data.rb → charge_attempt_lookup_result.rb} +16 -18
- data/lib/vrpayment-ruby-sdk/models/charge_attempt_projection.rb +560 -0
- data/lib/vrpayment-ruby-sdk/models/dunning_case_level.rb +403 -0
- data/lib/vrpayment-ruby-sdk/models/{user_account_role_list_response.rb → dunning_case_level_list_response.rb} +4 -4
- data/lib/vrpayment-ruby-sdk/models/dunning_case_level_search_response.rb +263 -0
- data/lib/vrpayment-ruby-sdk/models/dunning_case_level_state.rb +53 -0
- data/lib/vrpayment-ruby-sdk/models/{express_checkout_session_state.rb → facade_user_friendly_query_status_model.rb} +6 -7
- data/lib/vrpayment-ruby-sdk/models/invoice_processor.rb +51 -0
- data/lib/vrpayment-ruby-sdk/models/invoice_reconciliation_record.rb +633 -0
- data/lib/vrpayment-ruby-sdk/models/{user_account_role.rb → invoice_reconciliation_record_invoice_link.rb} +40 -43
- data/lib/vrpayment-ruby-sdk/models/invoice_reconciliation_record_invoice_link_list_response.rb +253 -0
- data/lib/vrpayment-ruby-sdk/models/invoice_reconciliation_record_invoice_link_search_response.rb +263 -0
- data/lib/vrpayment-ruby-sdk/models/invoice_reconciliation_record_list_response.rb +253 -0
- data/lib/vrpayment-ruby-sdk/models/invoice_reconciliation_record_rejection_status.rb +51 -0
- data/lib/vrpayment-ruby-sdk/models/invoice_reconciliation_record_search_response.rb +263 -0
- data/lib/vrpayment-ruby-sdk/models/invoice_reconciliation_record_state.rb +53 -0
- data/lib/vrpayment-ruby-sdk/models/{express_checkout_wallet_type.rb → invoice_reconciliation_record_type.rb} +3 -3
- data/lib/vrpayment-ruby-sdk/models/invoice_reimbursement.rb +463 -0
- data/lib/vrpayment-ruby-sdk/models/{express_checkout_create_response.rb → invoice_reimbursement_list_response.rb} +27 -22
- data/lib/vrpayment-ruby-sdk/models/invoice_reimbursement_search_response.rb +263 -0
- data/lib/vrpayment-ruby-sdk/models/invoice_reimbursement_state.rb +54 -0
- data/lib/vrpayment-ruby-sdk/models/{bogus_express_checkout_approval_request.rb → payment_facilitator_pricing_profile_dto.rb} +19 -10
- data/lib/vrpayment-ruby-sdk/models/payment_facilitator_pricing_profile_state.rb +53 -0
- data/lib/vrpayment-ruby-sdk/models/{express_checkout_session.rb → payment_initiation_advice_file.rb} +57 -72
- data/lib/vrpayment-ruby-sdk/models/payment_initiation_advice_file_state.rb +55 -0
- data/lib/vrpayment-ruby-sdk/models/payment_terminal.rb +37 -1
- data/lib/vrpayment-ruby-sdk/models/payment_terminal_activation_status.rb +301 -0
- data/lib/vrpayment-ruby-sdk/models/payment_terminal_activation_status_detail_search_response.rb +263 -0
- data/lib/vrpayment-ruby-sdk/models/payment_terminal_address_create.rb +511 -0
- data/lib/vrpayment-ruby-sdk/models/{payment_terminal_create.rb → payment_terminal_creation_request.rb} +88 -62
- data/lib/vrpayment-ruby-sdk/models/payment_terminal_location.rb +1 -0
- data/lib/vrpayment-ruby-sdk/models/payment_terminal_location_crud_model.rb +398 -0
- data/lib/vrpayment-ruby-sdk/models/payment_terminal_location_crud_model_rest_api_create.rb +359 -0
- data/lib/vrpayment-ruby-sdk/models/payment_terminal_location_list_response.rb +253 -0
- data/lib/vrpayment-ruby-sdk/models/payment_terminal_location_version_state.rb +2 -1
- data/lib/vrpayment-ruby-sdk/models/pricing_history_dto.rb +266 -0
- data/lib/vrpayment-ruby-sdk/models/product_metered_fee.rb +11 -1
- data/lib/vrpayment-ruby-sdk/models/product_metered_fee_update.rb +11 -1
- data/lib/vrpayment-ruby-sdk/models/{express_checkout_approval_response.rb → rest_member.rb} +36 -22
- data/lib/vrpayment-ruby-sdk/models/{abstract_payment_terminal_update.rb → result_portion_model.rb} +43 -30
- data/lib/vrpayment-ruby-sdk/models/role.rb +13 -1
- data/lib/vrpayment-ruby-sdk/models/role_create.rb +13 -1
- data/lib/vrpayment-ruby-sdk/models/{express_checkout_shipping_method_change_response.rb → role_ref.rb} +18 -18
- data/lib/vrpayment-ruby-sdk/models/role_update.rb +13 -1
- data/lib/vrpayment-ruby-sdk/models/scope.rb +13 -1
- data/lib/vrpayment-ruby-sdk/models/setter.rb +618 -0
- data/lib/vrpayment-ruby-sdk/models/{user_space_role_list_response.rb → state_list_response.rb} +4 -4
- data/lib/vrpayment-ruby-sdk/models/{express_checkout_shipping_option.rb → store_trial_subscription_request.rb} +38 -56
- data/lib/vrpayment-ruby-sdk/models/store_trial_subscription_request_setter.rb +307 -0
- data/lib/vrpayment-ruby-sdk/models/submitted_analytics_query_execution.rb +342 -0
- data/lib/vrpayment-ruby-sdk/models/{express_checkout_session_create.rb → subscription_component_group_configuration_request.rb} +23 -37
- data/lib/vrpayment-ruby-sdk/models/subscription_component_group_configuration_request_setter.rb +249 -0
- data/lib/vrpayment-ruby-sdk/models/subscription_product_dto.rb +239 -0
- data/lib/vrpayment-ruby-sdk/models/tokenized_card_data_create.rb +30 -1
- data/lib/vrpayment-ruby-sdk/models/transaction_overview.rb +1144 -0
- data/lib/vrpayment-ruby-sdk/models/transaction_projection.rb +1135 -0
- data/lib/vrpayment-ruby-sdk/models/walleejoin_admin_partner_configuration_request_dto.rb +360 -0
- data/lib/vrpayment-ruby-sdk/models/walleejoin_admin_partner_configuration_response_dto.rb +351 -0
- data/lib/vrpayment-ruby-sdk/models/walleejoin_admin_pricing_type.rb +51 -0
- data/lib/vrpayment-ruby-sdk/models/walleejoin_create_partnership_api_request_dto.rb +266 -0
- data/lib/vrpayment-ruby-sdk/models/walleejoin_partnership.rb +357 -0
- data/lib/vrpayment-ruby-sdk/models/walleejoin_partnership_create.rb +337 -0
- data/lib/vrpayment-ruby-sdk/models/walleejoin_partnership_response_dto.rb +342 -0
- data/lib/vrpayment-ruby-sdk/models/{express_checkout_shipping_address_change_response.rb → walleejoin_partnership_response_dto_list_response.rb} +30 -18
- data/lib/vrpayment-ruby-sdk/models/{user_space_role.rb → walleejoin_partnership_response_dto_search_response.rb} +34 -42
- data/lib/vrpayment-ruby-sdk/models/walleejoin_partnership_state.rb +51 -0
- data/lib/vrpayment-ruby-sdk/models/walleejoin_partnership_type.rb +50 -0
- data/lib/vrpayment-ruby-sdk/models/walleejoin_partnership_update.rb +364 -0
- data/lib/vrpayment-ruby-sdk/models/wallet_type.rb +40 -1
- data/lib/vrpayment-ruby-sdk/models/web_ui_account_theme.rb +230 -0
- data/lib/vrpayment-ruby-sdk/service/accounts_service.rb +16 -9
- data/lib/vrpayment-ruby-sdk/service/analytics_queries_service.rb +613 -0
- data/lib/vrpayment-ruby-sdk/service/bank_accounts_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/bank_transactions_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/boarding_subscription_strategy_service.rb +181 -0
- data/lib/vrpayment-ruby-sdk/service/charge_attempts_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/charge_bank_transactions_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/charge_flow_levels_service.rb +4 -4
- data/lib/vrpayment-ruby-sdk/service/charge_flows_level_payment_links_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/charge_flows_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/consumed_resources_service.rb +1 -1
- data/lib/vrpayment-ruby-sdk/service/countries_service.rb +15 -6
- data/lib/vrpayment-ruby-sdk/service/currency_bank_accounts_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/customer_addresses_service.rb +7 -7
- data/lib/vrpayment-ruby-sdk/service/customer_comments_service.rb +8 -8
- data/lib/vrpayment-ruby-sdk/service/customers_service.rb +11 -11
- data/lib/vrpayment-ruby-sdk/service/delivery_indications_service.rb +5 -5
- data/lib/vrpayment-ruby-sdk/service/document_templates_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/dunning_case_levels_service.rb +291 -0
- data/lib/vrpayment-ruby-sdk/service/dunning_cases_service.rb +5 -5
- data/lib/vrpayment-ruby-sdk/service/dunning_flow_levels_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/dunning_flows_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/external_transfer_bank_transactions_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/internal_transfer_bank_transactions_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/invoice_reconciliation_record_invoice_links_service.rb +453 -0
- data/lib/vrpayment-ruby-sdk/service/invoice_reconciliation_records_service.rb +433 -0
- data/lib/vrpayment-ruby-sdk/service/invoice_reimbursements_service.rb +450 -0
- data/lib/vrpayment-ruby-sdk/service/join_admin_partner_configuration_service.rb +306 -0
- data/lib/vrpayment-ruby-sdk/service/join_partnership_service.rb +586 -0
- data/lib/vrpayment-ruby-sdk/service/manual_tasks_service.rb +5 -5
- data/lib/vrpayment-ruby-sdk/service/members_service.rb +215 -0
- data/lib/vrpayment-ruby-sdk/service/payment_connector_configurations_service.rb +6 -6
- data/lib/vrpayment-ruby-sdk/service/payment_links_service.rb +6 -6
- data/lib/vrpayment-ruby-sdk/service/payment_method_configurations_service.rb +6 -6
- data/lib/vrpayment-ruby-sdk/service/payment_processor_configurations_service.rb +85 -6
- data/lib/vrpayment-ruby-sdk/service/payment_terminal_transaction_summaries_service.rb +4 -4
- data/lib/vrpayment-ruby-sdk/service/payment_terminals_service.rb +475 -22
- data/lib/vrpayment-ruby-sdk/service/payment_web_apps_service.rb +11 -11
- data/lib/vrpayment-ruby-sdk/service/refund_bank_transactions_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/refund_comments_service.rb +8 -8
- data/lib/vrpayment-ruby-sdk/service/refund_recovery_bank_transactions_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/refunds_service.rb +7 -7
- data/lib/vrpayment-ruby-sdk/service/spaces_service.rb +10 -3
- data/lib/vrpayment-ruby-sdk/service/subscribers_service.rb +6 -6
- data/lib/vrpayment-ruby-sdk/service/subscription_affiliates_service.rb +6 -6
- data/lib/vrpayment-ruby-sdk/service/subscription_charges_service.rb +5 -5
- data/lib/vrpayment-ruby-sdk/service/subscription_ledger_entries_service.rb +4 -4
- data/lib/vrpayment-ruby-sdk/service/subscription_metric_usage_reports_service.rb +4 -4
- data/lib/vrpayment-ruby-sdk/service/subscription_metrics_service.rb +6 -6
- data/lib/vrpayment-ruby-sdk/service/subscription_period_bills_service.rb +4 -4
- data/lib/vrpayment-ruby-sdk/service/subscription_product_component_groups_service.rb +6 -6
- data/lib/vrpayment-ruby-sdk/service/subscription_product_components_service.rb +6 -6
- data/lib/vrpayment-ruby-sdk/service/subscription_product_metered_fee_tiers_service.rb +6 -6
- data/lib/vrpayment-ruby-sdk/service/subscription_product_metered_fees_service.rb +6 -6
- data/lib/vrpayment-ruby-sdk/service/subscription_product_period_fees_service.rb +6 -6
- data/lib/vrpayment-ruby-sdk/service/subscription_product_retirements_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/subscription_product_setup_fees_service.rb +6 -6
- data/lib/vrpayment-ruby-sdk/service/subscription_product_version_retirements_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/subscription_product_versions_service.rb +7 -7
- data/lib/vrpayment-ruby-sdk/service/subscription_products_service.rb +6 -6
- data/lib/vrpayment-ruby-sdk/service/subscription_suspensions_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/subscription_versions_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/subscriptions_service.rb +13 -13
- data/lib/vrpayment-ruby-sdk/service/terminal_locations_service.rb +276 -0
- data/lib/vrpayment-ruby-sdk/service/token_versions_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/tokens_service.rb +8 -8
- data/lib/vrpayment-ruby-sdk/service/transaction_client_platforms_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/transaction_comments_service.rb +8 -8
- data/lib/vrpayment-ruby-sdk/service/transaction_completions_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/transaction_invoice_comments_service.rb +8 -8
- data/lib/vrpayment-ruby-sdk/service/transaction_invoices_service.rb +86 -8
- data/lib/vrpayment-ruby-sdk/service/transaction_line_item_versions_service.rb +4 -4
- data/lib/vrpayment-ruby-sdk/service/transaction_voids_service.rb +3 -3
- data/lib/vrpayment-ruby-sdk/service/transactions_service.rb +179 -37
- data/lib/vrpayment-ruby-sdk/service/web_apps_service.rb +2 -2
- data/lib/vrpayment-ruby-sdk/service/web_ui_account_theme_service.rb +245 -0
- data/lib/vrpayment-ruby-sdk/service/webhook_listeners_service.rb +9 -9
- data/lib/vrpayment-ruby-sdk/service/webhook_urls_service.rb +9 -9
- data/lib/vrpayment-ruby-sdk/version.rb +1 -1
- data/lib/vrpayment-ruby-sdk.rb +76 -25
- metadata +78 -27
- data/lib/vrpayment-ruby-sdk/service/application_users_roles_service.rb +0 -478
- data/lib/vrpayment-ruby-sdk/service/bogus_express_checkout_service.rb +0 -114
- data/lib/vrpayment-ruby-sdk/service/express_checkout_service.rb +0 -269
- data/lib/vrpayment-ruby-sdk/service/human_users_roles_service.rb +0 -478
- data/lib/vrpayment-ruby-sdk/service/single_sign_on_users_roles_service.rb +0 -478
|
@@ -31,6 +31,9 @@ module VrpaymentRubySdk
|
|
|
31
31
|
# The name used to identify the role.
|
|
32
32
|
attr_accessor :name
|
|
33
33
|
|
|
34
|
+
# Additional information that describes the role.
|
|
35
|
+
attr_accessor :description
|
|
36
|
+
|
|
34
37
|
# Whether users with this role are required to use two-factor authentication.
|
|
35
38
|
attr_accessor :two_factor_required
|
|
36
39
|
|
|
@@ -42,6 +45,7 @@ module VrpaymentRubySdk
|
|
|
42
45
|
{
|
|
43
46
|
:'permissions' => :'permissions',
|
|
44
47
|
:'name' => :'name',
|
|
48
|
+
:'description' => :'description',
|
|
45
49
|
:'two_factor_required' => :'twoFactorRequired',
|
|
46
50
|
:'account' => :'account'
|
|
47
51
|
}
|
|
@@ -62,6 +66,7 @@ module VrpaymentRubySdk
|
|
|
62
66
|
{
|
|
63
67
|
:'permissions' => :'Array<Permission>',
|
|
64
68
|
:'name' => :'Hash<String, String>',
|
|
69
|
+
:'description' => :'Hash<String, String>',
|
|
65
70
|
:'two_factor_required' => :'Boolean',
|
|
66
71
|
:'account' => :'Integer'
|
|
67
72
|
}
|
|
@@ -108,6 +113,12 @@ module VrpaymentRubySdk
|
|
|
108
113
|
end
|
|
109
114
|
end
|
|
110
115
|
|
|
116
|
+
if attributes.key?(:'description')
|
|
117
|
+
if (value = attributes[:'description']).is_a?(Hash)
|
|
118
|
+
self.description = value
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
|
|
111
122
|
if attributes.key?(:'two_factor_required')
|
|
112
123
|
self.two_factor_required = attributes[:'two_factor_required']
|
|
113
124
|
end
|
|
@@ -166,6 +177,7 @@ module VrpaymentRubySdk
|
|
|
166
177
|
self.class == o.class &&
|
|
167
178
|
permissions == o.permissions &&
|
|
168
179
|
name == o.name &&
|
|
180
|
+
description == o.description &&
|
|
169
181
|
two_factor_required == o.two_factor_required &&
|
|
170
182
|
account == o.account
|
|
171
183
|
end
|
|
@@ -179,7 +191,7 @@ module VrpaymentRubySdk
|
|
|
179
191
|
# Calculates hash code according to all attributes.
|
|
180
192
|
# @return [Integer] Hash code
|
|
181
193
|
def hash
|
|
182
|
-
[permissions, name, two_factor_required, account].hash
|
|
194
|
+
[permissions, name, description, two_factor_required, account].hash
|
|
183
195
|
end
|
|
184
196
|
|
|
185
197
|
# Builds the object from hash
|
|
@@ -24,16 +24,18 @@ require 'date'
|
|
|
24
24
|
require 'time'
|
|
25
25
|
|
|
26
26
|
module VrpaymentRubySdk
|
|
27
|
-
class
|
|
28
|
-
|
|
27
|
+
class RoleRef
|
|
28
|
+
# The name used to identify the role.
|
|
29
|
+
attr_accessor :name
|
|
29
30
|
|
|
30
|
-
|
|
31
|
+
# A unique identifier for the object.
|
|
32
|
+
attr_accessor :id
|
|
31
33
|
|
|
32
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
35
|
def self.attribute_map
|
|
34
36
|
{
|
|
35
|
-
:'
|
|
36
|
-
:'
|
|
37
|
+
:'name' => :'name',
|
|
38
|
+
:'id' => :'id'
|
|
37
39
|
}
|
|
38
40
|
end
|
|
39
41
|
|
|
@@ -50,8 +52,8 @@ module VrpaymentRubySdk
|
|
|
50
52
|
# Attribute type mapping.
|
|
51
53
|
def self.openapi_types
|
|
52
54
|
{
|
|
53
|
-
:'
|
|
54
|
-
:'
|
|
55
|
+
:'name' => :'String',
|
|
56
|
+
:'id' => :'Integer'
|
|
55
57
|
}
|
|
56
58
|
end
|
|
57
59
|
|
|
@@ -65,26 +67,24 @@ module VrpaymentRubySdk
|
|
|
65
67
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
66
68
|
def initialize(attributes = {})
|
|
67
69
|
if (!attributes.is_a?(Hash))
|
|
68
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `VrpaymentRubySdk::
|
|
70
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `VrpaymentRubySdk::RoleRef` initialize method"
|
|
69
71
|
end
|
|
70
72
|
|
|
71
73
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
72
74
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
73
75
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
74
76
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
75
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `VrpaymentRubySdk::
|
|
77
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `VrpaymentRubySdk::RoleRef`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
76
78
|
end
|
|
77
79
|
h[k.to_sym] = v
|
|
78
80
|
}
|
|
79
81
|
|
|
80
|
-
if attributes.key?(:'
|
|
81
|
-
|
|
82
|
-
self.line_items = value
|
|
83
|
-
end
|
|
82
|
+
if attributes.key?(:'name')
|
|
83
|
+
self.name = attributes[:'name']
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
-
if attributes.key?(:'
|
|
87
|
-
self.
|
|
86
|
+
if attributes.key?(:'id')
|
|
87
|
+
self.id = attributes[:'id']
|
|
88
88
|
end
|
|
89
89
|
end
|
|
90
90
|
|
|
@@ -108,8 +108,8 @@ module VrpaymentRubySdk
|
|
|
108
108
|
def ==(o)
|
|
109
109
|
return true if self.equal?(o)
|
|
110
110
|
self.class == o.class &&
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
name == o.name &&
|
|
112
|
+
id == o.id
|
|
113
113
|
end
|
|
114
114
|
|
|
115
115
|
# @see the `==` method
|
|
@@ -121,7 +121,7 @@ module VrpaymentRubySdk
|
|
|
121
121
|
# Calculates hash code according to all attributes.
|
|
122
122
|
# @return [Integer] Hash code
|
|
123
123
|
def hash
|
|
124
|
-
[
|
|
124
|
+
[name, id].hash
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
# Builds the object from hash
|
|
@@ -31,6 +31,9 @@ module VrpaymentRubySdk
|
|
|
31
31
|
# The name used to identify the role.
|
|
32
32
|
attr_accessor :name
|
|
33
33
|
|
|
34
|
+
# Additional information that describes the role.
|
|
35
|
+
attr_accessor :description
|
|
36
|
+
|
|
34
37
|
# Whether users with this role are required to use two-factor authentication.
|
|
35
38
|
attr_accessor :two_factor_required
|
|
36
39
|
|
|
@@ -42,6 +45,7 @@ module VrpaymentRubySdk
|
|
|
42
45
|
{
|
|
43
46
|
:'permissions' => :'permissions',
|
|
44
47
|
:'name' => :'name',
|
|
48
|
+
:'description' => :'description',
|
|
45
49
|
:'two_factor_required' => :'twoFactorRequired',
|
|
46
50
|
:'version' => :'version'
|
|
47
51
|
}
|
|
@@ -62,6 +66,7 @@ module VrpaymentRubySdk
|
|
|
62
66
|
{
|
|
63
67
|
:'permissions' => :'Array<Permission>',
|
|
64
68
|
:'name' => :'Hash<String, String>',
|
|
69
|
+
:'description' => :'Hash<String, String>',
|
|
65
70
|
:'two_factor_required' => :'Boolean',
|
|
66
71
|
:'version' => :'Integer'
|
|
67
72
|
}
|
|
@@ -108,6 +113,12 @@ module VrpaymentRubySdk
|
|
|
108
113
|
end
|
|
109
114
|
end
|
|
110
115
|
|
|
116
|
+
if attributes.key?(:'description')
|
|
117
|
+
if (value = attributes[:'description']).is_a?(Hash)
|
|
118
|
+
self.description = value
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
|
|
111
122
|
if attributes.key?(:'two_factor_required')
|
|
112
123
|
self.two_factor_required = attributes[:'two_factor_required']
|
|
113
124
|
end
|
|
@@ -166,6 +177,7 @@ module VrpaymentRubySdk
|
|
|
166
177
|
self.class == o.class &&
|
|
167
178
|
permissions == o.permissions &&
|
|
168
179
|
name == o.name &&
|
|
180
|
+
description == o.description &&
|
|
169
181
|
two_factor_required == o.two_factor_required &&
|
|
170
182
|
version == o.version
|
|
171
183
|
end
|
|
@@ -179,7 +191,7 @@ module VrpaymentRubySdk
|
|
|
179
191
|
# Calculates hash code according to all attributes.
|
|
180
192
|
# @return [Integer] Hash code
|
|
181
193
|
def hash
|
|
182
|
-
[permissions, name, two_factor_required, version].hash
|
|
194
|
+
[permissions, name, description, two_factor_required, version].hash
|
|
183
195
|
end
|
|
184
196
|
|
|
185
197
|
# Builds the object from hash
|
|
@@ -46,6 +46,9 @@ module VrpaymentRubySdk
|
|
|
46
46
|
# The themes that determine the look and feel of the scope's user interface. A fall-through strategy is applied when building the actual theme.
|
|
47
47
|
attr_accessor :themes
|
|
48
48
|
|
|
49
|
+
# Trusted external origins (e.g. merchant shops) for browser API access (CORS on /api/) and absolute target redirect URLs.
|
|
50
|
+
attr_accessor :trusted_external_origins
|
|
51
|
+
|
|
49
52
|
# The port where the scope can be accessed.
|
|
50
53
|
attr_accessor :port
|
|
51
54
|
|
|
@@ -98,6 +101,7 @@ module VrpaymentRubySdk
|
|
|
98
101
|
:'url' => :'url',
|
|
99
102
|
:'features' => :'features',
|
|
100
103
|
:'themes' => :'themes',
|
|
104
|
+
:'trusted_external_origins' => :'trustedExternalOrigins',
|
|
101
105
|
:'port' => :'port',
|
|
102
106
|
:'preprod_domain_name' => :'preprodDomainName',
|
|
103
107
|
:'domain_name' => :'domainName',
|
|
@@ -128,6 +132,7 @@ module VrpaymentRubySdk
|
|
|
128
132
|
:'url' => :'String',
|
|
129
133
|
:'features' => :'Array<Feature>',
|
|
130
134
|
:'themes' => :'Array<String>',
|
|
135
|
+
:'trusted_external_origins' => :'Array<String>',
|
|
131
136
|
:'port' => :'Integer',
|
|
132
137
|
:'preprod_domain_name' => :'String',
|
|
133
138
|
:'domain_name' => :'String',
|
|
@@ -192,6 +197,12 @@ module VrpaymentRubySdk
|
|
|
192
197
|
end
|
|
193
198
|
end
|
|
194
199
|
|
|
200
|
+
if attributes.key?(:'trusted_external_origins')
|
|
201
|
+
if (value = attributes[:'trusted_external_origins']).is_a?(Array)
|
|
202
|
+
self.trusted_external_origins = value
|
|
203
|
+
end
|
|
204
|
+
end
|
|
205
|
+
|
|
195
206
|
if attributes.key?(:'port')
|
|
196
207
|
self.port = attributes[:'port']
|
|
197
208
|
end
|
|
@@ -383,6 +394,7 @@ module VrpaymentRubySdk
|
|
|
383
394
|
url == o.url &&
|
|
384
395
|
features == o.features &&
|
|
385
396
|
themes == o.themes &&
|
|
397
|
+
trusted_external_origins == o.trusted_external_origins &&
|
|
386
398
|
port == o.port &&
|
|
387
399
|
preprod_domain_name == o.preprod_domain_name &&
|
|
388
400
|
domain_name == o.domain_name &&
|
|
@@ -401,7 +413,7 @@ module VrpaymentRubySdk
|
|
|
401
413
|
# Calculates hash code according to all attributes.
|
|
402
414
|
# @return [Integer] Hash code
|
|
403
415
|
def hash
|
|
404
|
-
[planned_purge_date, ssl_active, version, machine_name, url, features, themes, port, preprod_domain_name, domain_name, name, id, state, sandbox_domain_name].hash
|
|
416
|
+
[planned_purge_date, ssl_active, version, machine_name, url, features, themes, trusted_external_origins, port, preprod_domain_name, domain_name, name, id, state, sandbox_domain_name].hash
|
|
405
417
|
end
|
|
406
418
|
|
|
407
419
|
# Builds the object from hash
|