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
|
@@ -24,16 +24,22 @@ require 'date'
|
|
|
24
24
|
require 'time'
|
|
25
25
|
|
|
26
26
|
module VrpaymentRubySdk
|
|
27
|
-
class
|
|
28
|
-
|
|
27
|
+
class WalleejoinPartnershipResponseDtoListResponse
|
|
28
|
+
# An array containing the actual response objects.
|
|
29
|
+
attr_accessor :data
|
|
29
30
|
|
|
30
|
-
|
|
31
|
+
# Whether there are more objects available after this set. If false, there are no more objects to retrieve.
|
|
32
|
+
attr_accessor :has_more
|
|
33
|
+
|
|
34
|
+
# The applied limit on the number of objects returned.
|
|
35
|
+
attr_accessor :limit
|
|
31
36
|
|
|
32
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
38
|
def self.attribute_map
|
|
34
39
|
{
|
|
35
|
-
:'
|
|
36
|
-
:'
|
|
40
|
+
:'data' => :'data',
|
|
41
|
+
:'has_more' => :'hasMore',
|
|
42
|
+
:'limit' => :'limit'
|
|
37
43
|
}
|
|
38
44
|
end
|
|
39
45
|
|
|
@@ -50,8 +56,9 @@ module VrpaymentRubySdk
|
|
|
50
56
|
# Attribute type mapping.
|
|
51
57
|
def self.openapi_types
|
|
52
58
|
{
|
|
53
|
-
:'
|
|
54
|
-
:'
|
|
59
|
+
:'data' => :'Array<WalleejoinPartnershipResponseDto>',
|
|
60
|
+
:'has_more' => :'Boolean',
|
|
61
|
+
:'limit' => :'Integer'
|
|
55
62
|
}
|
|
56
63
|
end
|
|
57
64
|
|
|
@@ -65,26 +72,30 @@ module VrpaymentRubySdk
|
|
|
65
72
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
66
73
|
def initialize(attributes = {})
|
|
67
74
|
if (!attributes.is_a?(Hash))
|
|
68
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `VrpaymentRubySdk::
|
|
75
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `VrpaymentRubySdk::WalleejoinPartnershipResponseDtoListResponse` initialize method"
|
|
69
76
|
end
|
|
70
77
|
|
|
71
78
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
72
79
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
73
80
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
74
81
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
75
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `VrpaymentRubySdk::
|
|
82
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `VrpaymentRubySdk::WalleejoinPartnershipResponseDtoListResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
76
83
|
end
|
|
77
84
|
h[k.to_sym] = v
|
|
78
85
|
}
|
|
79
86
|
|
|
80
|
-
if attributes.key?(:'
|
|
81
|
-
|
|
87
|
+
if attributes.key?(:'data')
|
|
88
|
+
if (value = attributes[:'data']).is_a?(Array)
|
|
89
|
+
self.data = value
|
|
90
|
+
end
|
|
82
91
|
end
|
|
83
92
|
|
|
84
|
-
if attributes.key?(:'
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
93
|
+
if attributes.key?(:'has_more')
|
|
94
|
+
self.has_more = attributes[:'has_more']
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
if attributes.key?(:'limit')
|
|
98
|
+
self.limit = attributes[:'limit']
|
|
88
99
|
end
|
|
89
100
|
end
|
|
90
101
|
|
|
@@ -108,8 +119,9 @@ module VrpaymentRubySdk
|
|
|
108
119
|
def ==(o)
|
|
109
120
|
return true if self.equal?(o)
|
|
110
121
|
self.class == o.class &&
|
|
111
|
-
|
|
112
|
-
|
|
122
|
+
data == o.data &&
|
|
123
|
+
has_more == o.has_more &&
|
|
124
|
+
limit == o.limit
|
|
113
125
|
end
|
|
114
126
|
|
|
115
127
|
# @see the `==` method
|
|
@@ -121,7 +133,7 @@ module VrpaymentRubySdk
|
|
|
121
133
|
# Calculates hash code according to all attributes.
|
|
122
134
|
# @return [Integer] Hash code
|
|
123
135
|
def hash
|
|
124
|
-
[
|
|
136
|
+
[data, has_more, limit].hash
|
|
125
137
|
end
|
|
126
138
|
|
|
127
139
|
# Builds the object from hash
|
|
@@ -24,30 +24,26 @@ require 'date'
|
|
|
24
24
|
require 'time'
|
|
25
25
|
|
|
26
26
|
module VrpaymentRubySdk
|
|
27
|
-
class
|
|
28
|
-
#
|
|
29
|
-
attr_accessor :
|
|
27
|
+
class WalleejoinPartnershipResponseDtoSearchResponse
|
|
28
|
+
# An array containing the actual response objects.
|
|
29
|
+
attr_accessor :data
|
|
30
30
|
|
|
31
|
-
#
|
|
32
|
-
attr_accessor :
|
|
31
|
+
# The number of skipped objects.
|
|
32
|
+
attr_accessor :offset
|
|
33
33
|
|
|
34
|
-
#
|
|
35
|
-
attr_accessor :
|
|
34
|
+
# Whether there are more objects available after this set. If false, there are no more objects to retrieve.
|
|
35
|
+
attr_accessor :has_more
|
|
36
36
|
|
|
37
|
-
# The
|
|
38
|
-
attr_accessor :
|
|
39
|
-
|
|
40
|
-
# The space in which the role is assigned to the user.
|
|
41
|
-
attr_accessor :space
|
|
37
|
+
# The applied limit on the number of objects returned.
|
|
38
|
+
attr_accessor :limit
|
|
42
39
|
|
|
43
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
44
41
|
def self.attribute_map
|
|
45
42
|
{
|
|
46
|
-
:'
|
|
47
|
-
:'
|
|
48
|
-
:'
|
|
49
|
-
:'
|
|
50
|
-
:'space' => :'space'
|
|
43
|
+
:'data' => :'data',
|
|
44
|
+
:'offset' => :'offset',
|
|
45
|
+
:'has_more' => :'hasMore',
|
|
46
|
+
:'limit' => :'limit'
|
|
51
47
|
}
|
|
52
48
|
end
|
|
53
49
|
|
|
@@ -64,11 +60,10 @@ module VrpaymentRubySdk
|
|
|
64
60
|
# Attribute type mapping.
|
|
65
61
|
def self.openapi_types
|
|
66
62
|
{
|
|
67
|
-
:'
|
|
68
|
-
:'
|
|
69
|
-
:'
|
|
70
|
-
:'
|
|
71
|
-
:'space' => :'Integer'
|
|
63
|
+
:'data' => :'Array<WalleejoinPartnershipResponseDto>',
|
|
64
|
+
:'offset' => :'Integer',
|
|
65
|
+
:'has_more' => :'Boolean',
|
|
66
|
+
:'limit' => :'Integer'
|
|
72
67
|
}
|
|
73
68
|
end
|
|
74
69
|
|
|
@@ -82,36 +77,34 @@ module VrpaymentRubySdk
|
|
|
82
77
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
83
78
|
def initialize(attributes = {})
|
|
84
79
|
if (!attributes.is_a?(Hash))
|
|
85
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `VrpaymentRubySdk::
|
|
80
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `VrpaymentRubySdk::WalleejoinPartnershipResponseDtoSearchResponse` initialize method"
|
|
86
81
|
end
|
|
87
82
|
|
|
88
83
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
89
84
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
90
85
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
91
86
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
92
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `VrpaymentRubySdk::
|
|
87
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `VrpaymentRubySdk::WalleejoinPartnershipResponseDtoSearchResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
93
88
|
end
|
|
94
89
|
h[k.to_sym] = v
|
|
95
90
|
}
|
|
96
91
|
|
|
97
|
-
if attributes.key?(:'
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
if attributes.key?(:'id')
|
|
102
|
-
self.id = attributes[:'id']
|
|
92
|
+
if attributes.key?(:'data')
|
|
93
|
+
if (value = attributes[:'data']).is_a?(Array)
|
|
94
|
+
self.data = value
|
|
95
|
+
end
|
|
103
96
|
end
|
|
104
97
|
|
|
105
|
-
if attributes.key?(:'
|
|
106
|
-
self.
|
|
98
|
+
if attributes.key?(:'offset')
|
|
99
|
+
self.offset = attributes[:'offset']
|
|
107
100
|
end
|
|
108
101
|
|
|
109
|
-
if attributes.key?(:'
|
|
110
|
-
self.
|
|
102
|
+
if attributes.key?(:'has_more')
|
|
103
|
+
self.has_more = attributes[:'has_more']
|
|
111
104
|
end
|
|
112
105
|
|
|
113
|
-
if attributes.key?(:'
|
|
114
|
-
self.
|
|
106
|
+
if attributes.key?(:'limit')
|
|
107
|
+
self.limit = attributes[:'limit']
|
|
115
108
|
end
|
|
116
109
|
end
|
|
117
110
|
|
|
@@ -135,11 +128,10 @@ module VrpaymentRubySdk
|
|
|
135
128
|
def ==(o)
|
|
136
129
|
return true if self.equal?(o)
|
|
137
130
|
self.class == o.class &&
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
space == o.space
|
|
131
|
+
data == o.data &&
|
|
132
|
+
offset == o.offset &&
|
|
133
|
+
has_more == o.has_more &&
|
|
134
|
+
limit == o.limit
|
|
143
135
|
end
|
|
144
136
|
|
|
145
137
|
# @see the `==` method
|
|
@@ -151,7 +143,7 @@ module VrpaymentRubySdk
|
|
|
151
143
|
# Calculates hash code according to all attributes.
|
|
152
144
|
# @return [Integer] Hash code
|
|
153
145
|
def hash
|
|
154
|
-
[
|
|
146
|
+
[data, offset, has_more, limit].hash
|
|
155
147
|
end
|
|
156
148
|
|
|
157
149
|
# Builds the object from hash
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
# VR Payment Ruby SDK
|
|
3
|
+
#
|
|
4
|
+
# This library allows to interact with the VR Payment payment service.
|
|
5
|
+
#
|
|
6
|
+
# Copyright owner: Wallee AG
|
|
7
|
+
# Website: https://www.vr-payment.de
|
|
8
|
+
# Developer email: ecosystem-team@wallee.com
|
|
9
|
+
#
|
|
10
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
# you may not use this file except in compliance with the License.
|
|
12
|
+
# You may obtain a copy of the License at
|
|
13
|
+
#
|
|
14
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
#
|
|
16
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
# See the License for the specific language governing permissions and
|
|
20
|
+
# limitations under the License.
|
|
21
|
+
=end
|
|
22
|
+
|
|
23
|
+
require 'date'
|
|
24
|
+
require 'time'
|
|
25
|
+
|
|
26
|
+
module VrpaymentRubySdk
|
|
27
|
+
class WalleejoinPartnershipState
|
|
28
|
+
PENDING = "PENDING".freeze
|
|
29
|
+
ACTIVE = "ACTIVE".freeze
|
|
30
|
+
TERMINATED = "TERMINATED".freeze
|
|
31
|
+
|
|
32
|
+
def self.all_vars
|
|
33
|
+
@all_vars ||= [PENDING, ACTIVE, TERMINATED].freeze
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Builds the enum from string
|
|
37
|
+
# @param [String] The enum value in the form of the string
|
|
38
|
+
# @return [String] The enum value
|
|
39
|
+
def self.build_from_hash(value)
|
|
40
|
+
new.build_from_hash(value)
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Builds the enum from string
|
|
44
|
+
# @param [String] The enum value in the form of the string
|
|
45
|
+
# @return [String] The enum value
|
|
46
|
+
def build_from_hash(value)
|
|
47
|
+
return value if WalleejoinPartnershipState.all_vars.include?(value)
|
|
48
|
+
raise "Invalid ENUM value #{value} for class #WalleejoinPartnershipState"
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
# VR Payment Ruby SDK
|
|
3
|
+
#
|
|
4
|
+
# This library allows to interact with the VR Payment payment service.
|
|
5
|
+
#
|
|
6
|
+
# Copyright owner: Wallee AG
|
|
7
|
+
# Website: https://www.vr-payment.de
|
|
8
|
+
# Developer email: ecosystem-team@wallee.com
|
|
9
|
+
#
|
|
10
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
# you may not use this file except in compliance with the License.
|
|
12
|
+
# You may obtain a copy of the License at
|
|
13
|
+
#
|
|
14
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
#
|
|
16
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
# See the License for the specific language governing permissions and
|
|
20
|
+
# limitations under the License.
|
|
21
|
+
=end
|
|
22
|
+
|
|
23
|
+
require 'date'
|
|
24
|
+
require 'time'
|
|
25
|
+
|
|
26
|
+
module VrpaymentRubySdk
|
|
27
|
+
class WalleejoinPartnershipType
|
|
28
|
+
AFFILIATE = "AFFILIATE".freeze
|
|
29
|
+
ISV = "ISV".freeze
|
|
30
|
+
|
|
31
|
+
def self.all_vars
|
|
32
|
+
@all_vars ||= [AFFILIATE, ISV].freeze
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Builds the enum from string
|
|
36
|
+
# @param [String] The enum value in the form of the string
|
|
37
|
+
# @return [String] The enum value
|
|
38
|
+
def self.build_from_hash(value)
|
|
39
|
+
new.build_from_hash(value)
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Builds the enum from string
|
|
43
|
+
# @param [String] The enum value in the form of the string
|
|
44
|
+
# @return [String] The enum value
|
|
45
|
+
def build_from_hash(value)
|
|
46
|
+
return value if WalleejoinPartnershipType.all_vars.include?(value)
|
|
47
|
+
raise "Invalid ENUM value #{value} for class #WalleejoinPartnershipType"
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|