wp-sdk 1.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 +7 -0
- data/LICENSE +28 -0
- data/README.md +152 -0
- data/bin/console +15 -0
- data/lib/reporting_settlement_research_api/api_helper.rb +10 -0
- data/lib/reporting_settlement_research_api/apis/base_api.rb +65 -0
- data/lib/reporting_settlement_research_api/apis/settlement_batches_api.rb +67 -0
- data/lib/reporting_settlement_research_api/apis/settlement_daily_totals_api.rb +39 -0
- data/lib/reporting_settlement_research_api/apis/settlement_errors_api.rb +67 -0
- data/lib/reporting_settlement_research_api/apis/settlements_api.rb +40 -0
- data/lib/reporting_settlement_research_api/apis/transaction_status_api.rb +33 -0
- data/lib/reporting_settlement_research_api/apis/transaction_type_api.rb +33 -0
- data/lib/reporting_settlement_research_api/client.rb +105 -0
- data/lib/reporting_settlement_research_api/configuration.rb +164 -0
- data/lib/reporting_settlement_research_api/exceptions/api_exception.rb +21 -0
- data/lib/reporting_settlement_research_api/exceptions/search_date0_error_exception.rb +58 -0
- data/lib/reporting_settlement_research_api/exceptions/search_store0_error_exception.rb +58 -0
- data/lib/reporting_settlement_research_api/exceptions/settlementerrors_pendingsettlementbatches_search0_error_exception.rb +58 -0
- data/lib/reporting_settlement_research_api/exceptions/settlementerrors_settlementfileerrors_search0_error_exception.rb +58 -0
- data/lib/reporting_settlement_research_api/exceptions/settlements_daily_totals_search0_error_exception.rb +58 -0
- data/lib/reporting_settlement_research_api/exceptions/settlements_search0_error_exception.rb +58 -0
- data/lib/reporting_settlement_research_api/exceptions/transaction_statuses0_error_exception.rb +58 -0
- data/lib/reporting_settlement_research_api/exceptions/transaction_types0_error_exception.rb +58 -0
- data/lib/reporting_settlement_research_api/http/api_response.rb +19 -0
- data/lib/reporting_settlement_research_api/http/auth/custom_header_authentication.rb +52 -0
- data/lib/reporting_settlement_research_api/http/http_call_back.rb +10 -0
- data/lib/reporting_settlement_research_api/http/http_method_enum.rb +10 -0
- data/lib/reporting_settlement_research_api/http/http_request.rb +10 -0
- data/lib/reporting_settlement_research_api/http/http_response.rb +10 -0
- data/lib/reporting_settlement_research_api/http/proxy_settings.rb +22 -0
- data/lib/reporting_settlement_research_api/logging/configuration/api_logging_configuration.rb +186 -0
- data/lib/reporting_settlement_research_api/logging/sdk_logger.rb +17 -0
- data/lib/reporting_settlement_research_api/models/account_name_inquiry.rb +98 -0
- data/lib/reporting_settlement_research_api/models/aci.rb +98 -0
- data/lib/reporting_settlement_research_api/models/additional_details.rb +135 -0
- data/lib/reporting_settlement_research_api/models/authorization_currency.rb +98 -0
- data/lib/reporting_settlement_research_api/models/authorization_source.rb +98 -0
- data/lib/reporting_settlement_research_api/models/avs_response_code.rb +98 -0
- data/lib/reporting_settlement_research_api/models/bank_card_rej_real_time_transaction.rb +172 -0
- data/lib/reporting_settlement_research_api/models/bank_card_rejects_search_request.rb +159 -0
- data/lib/reporting_settlement_research_api/models/bank_card_rejects_search_response.rb +94 -0
- data/lib/reporting_settlement_research_api/models/base_model.rb +110 -0
- data/lib/reporting_settlement_research_api/models/batch_card_type.rb +41 -0
- data/lib/reporting_settlement_research_api/models/batch_card_type1.rb +41 -0
- data/lib/reporting_settlement_research_api/models/batch_hold_status.rb +98 -0
- data/lib/reporting_settlement_research_api/models/billing_indicator.rb +98 -0
- data/lib/reporting_settlement_research_api/models/card_account_term.rb +98 -0
- data/lib/reporting_settlement_research_api/models/card_details.rb +381 -0
- data/lib/reporting_settlement_research_api/models/card_details2.rb +381 -0
- data/lib/reporting_settlement_research_api/models/card_network.rb +98 -0
- data/lib/reporting_settlement_research_api/models/card_networks.rb +118 -0
- data/lib/reporting_settlement_research_api/models/card_product_results.rb +98 -0
- data/lib/reporting_settlement_research_api/models/card_product_type.rb +98 -0
- data/lib/reporting_settlement_research_api/models/card_types.rb +49 -0
- data/lib/reporting_settlement_research_api/models/card_types1.rb +44 -0
- data/lib/reporting_settlement_research_api/models/cardholder_id.rb +98 -0
- data/lib/reporting_settlement_research_api/models/code_and_description.rb +98 -0
- data/lib/reporting_settlement_research_api/models/code_and_description1.rb +85 -0
- data/lib/reporting_settlement_research_api/models/country_of_origin.rb +98 -0
- data/lib/reporting_settlement_research_api/models/credit_additional_details.rb +135 -0
- data/lib/reporting_settlement_research_api/models/credit_card_details.rb +230 -0
- data/lib/reporting_settlement_research_api/models/credit_interchange_details.rb +215 -0
- data/lib/reporting_settlement_research_api/models/credit_merchant_hierarchy_details.rb +112 -0
- data/lib/reporting_settlement_research_api/models/credit_other_services_details.rb +157 -0
- data/lib/reporting_settlement_research_api/models/credit_premium_payback_details.rb +120 -0
- data/lib/reporting_settlement_research_api/models/credit_transaction_details.rb +435 -0
- data/lib/reporting_settlement_research_api/models/customer_fields.rb +95 -0
- data/lib/reporting_settlement_research_api/models/customer_fields2.rb +95 -0
- data/lib/reporting_settlement_research_api/models/cvv2_presence_indicator.rb +98 -0
- data/lib/reporting_settlement_research_api/models/cvv2_response_code.rb +98 -0
- data/lib/reporting_settlement_research_api/models/date_range1.rb +85 -0
- data/lib/reporting_settlement_research_api/models/date_type.rb +36 -0
- data/lib/reporting_settlement_research_api/models/daterange.rb +85 -0
- data/lib/reporting_settlement_research_api/models/emv_details.rb +113 -0
- data/lib/reporting_settlement_research_api/models/emv_details2.rb +113 -0
- data/lib/reporting_settlement_research_api/models/entity.rb +99 -0
- data/lib/reporting_settlement_research_api/models/entry_mode.rb +98 -0
- data/lib/reporting_settlement_research_api/models/error.rb +96 -0
- data/lib/reporting_settlement_research_api/models/field_name.rb +93 -0
- data/lib/reporting_settlement_research_api/models/field_name1.rb +69 -0
- data/lib/reporting_settlement_research_api/models/field_name2.rb +57 -0
- data/lib/reporting_settlement_research_api/models/field_name3.rb +57 -0
- data/lib/reporting_settlement_research_api/models/field_name4.rb +61 -0
- data/lib/reporting_settlement_research_api/models/field_name5.rb +49 -0
- data/lib/reporting_settlement_research_api/models/fraud_coverage_type.rb +98 -0
- data/lib/reporting_settlement_research_api/models/fraud_detection_stage.rb +98 -0
- data/lib/reporting_settlement_research_api/models/fraud_fields.rb +99 -0
- data/lib/reporting_settlement_research_api/models/fraud_fields2.rb +99 -0
- data/lib/reporting_settlement_research_api/models/fraud_fields_fraud_score.rb +86 -0
- data/lib/reporting_settlement_research_api/models/fraud_response_code.rb +52 -0
- data/lib/reporting_settlement_research_api/models/fraud_response_code2.rb +98 -0
- data/lib/reporting_settlement_research_api/models/fraud_rule_result.rb +49 -0
- data/lib/reporting_settlement_research_api/models/fraud_rule_result2.rb +98 -0
- data/lib/reporting_settlement_research_api/models/fraud_score.rb +85 -0
- data/lib/reporting_settlement_research_api/models/fraud_sight_details.rb +124 -0
- data/lib/reporting_settlement_research_api/models/fraud_sight_details2.rb +124 -0
- data/lib/reporting_settlement_research_api/models/funded_net_settle.rb +110 -0
- data/lib/reporting_settlement_research_api/models/funded_net_settle2.rb +110 -0
- data/lib/reporting_settlement_research_api/models/hierarchy.rb +99 -0
- data/lib/reporting_settlement_research_api/models/hierarchy1.rb +99 -0
- data/lib/reporting_settlement_research_api/models/hierarchy10.rb +141 -0
- data/lib/reporting_settlement_research_api/models/hierarchy2.rb +85 -0
- data/lib/reporting_settlement_research_api/models/hierarchy4.rb +112 -0
- data/lib/reporting_settlement_research_api/models/hierarchy6.rb +99 -0
- data/lib/reporting_settlement_research_api/models/hierarchy7.rb +131 -0
- data/lib/reporting_settlement_research_api/models/hierarchy9.rb +119 -0
- data/lib/reporting_settlement_research_api/models/hierarchy_level.rb +99 -0
- data/lib/reporting_settlement_research_api/models/hierarchy_levels.rb +99 -0
- data/lib/reporting_settlement_research_api/models/interchange_code.rb +85 -0
- data/lib/reporting_settlement_research_api/models/interchange_data.rb +116 -0
- data/lib/reporting_settlement_research_api/models/interchange_details.rb +215 -0
- data/lib/reporting_settlement_research_api/models/interchange_details1.rb +116 -0
- data/lib/reporting_settlement_research_api/models/international_indicator.rb +98 -0
- data/lib/reporting_settlement_research_api/models/level.rb +45 -0
- data/lib/reporting_settlement_research_api/models/level1.rb +49 -0
- data/lib/reporting_settlement_research_api/models/level2.rb +37 -0
- data/lib/reporting_settlement_research_api/models/level3.rb +67 -0
- data/lib/reporting_settlement_research_api/models/level_indicator.rb +98 -0
- data/lib/reporting_settlement_research_api/models/location_details.rb +199 -0
- data/lib/reporting_settlement_research_api/models/location_details2.rb +198 -0
- data/lib/reporting_settlement_research_api/models/mail_phone_indicator.rb +98 -0
- data/lib/reporting_settlement_research_api/models/market_specific_data_indicator.rb +98 -0
- data/lib/reporting_settlement_research_api/models/mastercard_tic_indicator.rb +98 -0
- data/lib/reporting_settlement_research_api/models/merchant_category.rb +98 -0
- data/lib/reporting_settlement_research_api/models/merchant_hierarchy.rb +119 -0
- data/lib/reporting_settlement_research_api/models/merchant_hierarchy_detail.rb +131 -0
- data/lib/reporting_settlement_research_api/models/merchant_info.rb +141 -0
- data/lib/reporting_settlement_research_api/models/network_group.rb +98 -0
- data/lib/reporting_settlement_research_api/models/order_by.rb +36 -0
- data/lib/reporting_settlement_research_api/models/order_by_for_settled_daily_totals.rb +85 -0
- data/lib/reporting_settlement_research_api/models/order_by_for_settled_transactions_type.rb +85 -0
- data/lib/reporting_settlement_research_api/models/origin_type.rb +98 -0
- data/lib/reporting_settlement_research_api/models/other_services.rb +179 -0
- data/lib/reporting_settlement_research_api/models/other_services2.rb +179 -0
- data/lib/reporting_settlement_research_api/models/pagination.rb +87 -0
- data/lib/reporting_settlement_research_api/models/pagination4.rb +108 -0
- data/lib/reporting_settlement_research_api/models/pagination_response.rb +108 -0
- data/lib/reporting_settlement_research_api/models/paginationtype.rb +87 -0
- data/lib/reporting_settlement_research_api/models/payment_gateway_details.rb +127 -0
- data/lib/reporting_settlement_research_api/models/payment_gateway_details1.rb +127 -0
- data/lib/reporting_settlement_research_api/models/pin_less.rb +98 -0
- data/lib/reporting_settlement_research_api/models/pos_condition_code.rb +98 -0
- data/lib/reporting_settlement_research_api/models/premium_payback.rb +120 -0
- data/lib/reporting_settlement_research_api/models/processdaterange.rb +85 -0
- data/lib/reporting_settlement_research_api/models/rejection_reason.rb +98 -0
- data/lib/reporting_settlement_research_api/models/search_auth_transactions.rb +200 -0
- data/lib/reporting_settlement_research_api/models/search_daily_totals.rb +95 -0
- data/lib/reporting_settlement_research_api/models/search_daily_totals_details.rb +172 -0
- data/lib/reporting_settlement_research_api/models/search_date_request.rb +116 -0
- data/lib/reporting_settlement_research_api/models/search_date_response.rb +94 -0
- data/lib/reporting_settlement_research_api/models/search_requesttransaction_amount_range.rb +105 -0
- data/lib/reporting_settlement_research_api/models/search_settle_daily_totals_request.rb +135 -0
- data/lib/reporting_settlement_research_api/models/search_settle_transactions_request.rb +248 -0
- data/lib/reporting_settlement_research_api/models/search_store_request.rb +116 -0
- data/lib/reporting_settlement_research_api/models/search_store_response.rb +94 -0
- data/lib/reporting_settlement_research_api/models/search_transaction_details_response.rb +95 -0
- data/lib/reporting_settlement_research_api/models/settlement_batches_date_request.rb +116 -0
- data/lib/reporting_settlement_research_api/models/settlement_batches_date_response.rb +94 -0
- data/lib/reporting_settlement_research_api/models/settlement_batches_entity.rb +85 -0
- data/lib/reporting_settlement_research_api/models/settlement_batches_hierarchy.rb +112 -0
- data/lib/reporting_settlement_research_api/models/settlement_batches_sort_store.rb +85 -0
- data/lib/reporting_settlement_research_api/models/settlement_batches_sortbankcarddetails.rb +85 -0
- data/lib/reporting_settlement_research_api/models/settlement_batches_store_request.rb +116 -0
- data/lib/reporting_settlement_research_api/models/settlement_batches_store_response.rb +94 -0
- data/lib/reporting_settlement_research_api/models/settlement_batches_transaction_date.rb +195 -0
- data/lib/reporting_settlement_research_api/models/settlement_batches_transaction_store.rb +195 -0
- data/lib/reporting_settlement_research_api/models/settlement_rej_real_time_transaction.rb +152 -0
- data/lib/reporting_settlement_research_api/models/settlement_rejects_search_request.rb +104 -0
- data/lib/reporting_settlement_research_api/models/settlement_rejects_search_response.rb +94 -0
- data/lib/reporting_settlement_research_api/models/settlementerrors_pendingsettlementbatches_search_request.rb +159 -0
- data/lib/reporting_settlement_research_api/models/settlementerrors_pendingsettlementbatches_search_response.rb +94 -0
- data/lib/reporting_settlement_research_api/models/settlementerrors_settlementfileerrors_search_request.rb +104 -0
- data/lib/reporting_settlement_research_api/models/settlementerrors_settlementfileerrors_search_response.rb +94 -0
- data/lib/reporting_settlement_research_api/models/settlements_daily_totals_search_request.rb +135 -0
- data/lib/reporting_settlement_research_api/models/settlements_daily_totals_search_response.rb +94 -0
- data/lib/reporting_settlement_research_api/models/settlements_search_request.rb +248 -0
- data/lib/reporting_settlement_research_api/models/settlements_search_response.rb +95 -0
- data/lib/reporting_settlement_research_api/models/signature_capabilities_indicator.rb +98 -0
- data/lib/reporting_settlement_research_api/models/signature_compression.rb +98 -0
- data/lib/reporting_settlement_research_api/models/signature_pen.rb +98 -0
- data/lib/reporting_settlement_research_api/models/signify_details.rb +103 -0
- data/lib/reporting_settlement_research_api/models/signifyd_detail.rb +103 -0
- data/lib/reporting_settlement_research_api/models/sort_results_by.rb +85 -0
- data/lib/reporting_settlement_research_api/models/sort_results_by1.rb +85 -0
- data/lib/reporting_settlement_research_api/models/sort_results_by2.rb +85 -0
- data/lib/reporting_settlement_research_api/models/sort_results_by3.rb +85 -0
- data/lib/reporting_settlement_research_api/models/sort_results_by4.rb +85 -0
- data/lib/reporting_settlement_research_api/models/sort_results_by5.rb +85 -0
- data/lib/reporting_settlement_research_api/models/sortbankcarddetails.rb +85 -0
- data/lib/reporting_settlement_research_api/models/sortsettlementfiledetails.rb +85 -0
- data/lib/reporting_settlement_research_api/models/stand_in_indicator.rb +98 -0
- data/lib/reporting_settlement_research_api/models/stand_in_level.rb +98 -0
- data/lib/reporting_settlement_research_api/models/surcharge_reason.rb +85 -0
- data/lib/reporting_settlement_research_api/models/terminal.rb +109 -0
- data/lib/reporting_settlement_research_api/models/terminal_capability.rb +98 -0
- data/lib/reporting_settlement_research_api/models/terminal_details.rb +109 -0
- data/lib/reporting_settlement_research_api/models/transaction_amount_range.rb +105 -0
- data/lib/reporting_settlement_research_api/models/transaction_details.rb +723 -0
- data/lib/reporting_settlement_research_api/models/transaction_details2.rb +723 -0
- data/lib/reporting_settlement_research_api/models/transaction_status.rb +98 -0
- data/lib/reporting_settlement_research_api/models/transaction_status_code.rb +98 -0
- data/lib/reporting_settlement_research_api/models/transaction_status_code1.rb +1029 -0
- data/lib/reporting_settlement_research_api/models/transaction_summary.rb +182 -0
- data/lib/reporting_settlement_research_api/models/transaction_summary_data.rb +182 -0
- data/lib/reporting_settlement_research_api/models/transaction_type.rb +98 -0
- data/lib/reporting_settlement_research_api/models/transaction_type_code.rb +98 -0
- data/lib/reporting_settlement_research_api/models/transaction_type_code1.rb +221 -0
- data/lib/reporting_settlement_research_api/utilities/date_time_helper.rb +11 -0
- data/lib/reporting_settlement_research_api/utilities/file_wrapper.rb +28 -0
- data/lib/reporting_settlement_research_api.rb +302 -0
- metadata +294 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# reporting_settlement_research_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated
|
|
4
|
+
# by APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ReportingSettlementResearchApi
|
|
7
|
+
# Display the results in ascending or decending order.
|
|
8
|
+
class OrderBy
|
|
9
|
+
ORDER_BY = [
|
|
10
|
+
# TODO: Write general description for ASC
|
|
11
|
+
ASC = 'ASC'.freeze,
|
|
12
|
+
|
|
13
|
+
# TODO: Write general description for DESC
|
|
14
|
+
DESC = 'DESC'.freeze
|
|
15
|
+
].freeze
|
|
16
|
+
|
|
17
|
+
def self.validate(value)
|
|
18
|
+
return false if value.nil?
|
|
19
|
+
|
|
20
|
+
true
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def self.from_value(value, default_value = ASC)
|
|
24
|
+
return default_value if value.nil?
|
|
25
|
+
|
|
26
|
+
str = value.to_s.strip
|
|
27
|
+
|
|
28
|
+
case str.downcase
|
|
29
|
+
when 'asc' then ASC
|
|
30
|
+
when 'desc' then DESC
|
|
31
|
+
else
|
|
32
|
+
default_value
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# reporting_settlement_research_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated
|
|
4
|
+
# by APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ReportingSettlementResearchApi
|
|
7
|
+
# The fields for sorting the settled daily totals.
|
|
8
|
+
class OrderByForSettledDailyTotals < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [FieldName1]
|
|
14
|
+
attr_accessor :field_name
|
|
15
|
+
|
|
16
|
+
# TODO: Write general description for this method
|
|
17
|
+
# @return [OrderBy]
|
|
18
|
+
attr_accessor :order_by
|
|
19
|
+
|
|
20
|
+
# A mapping from model property names to API property names.
|
|
21
|
+
def self.names
|
|
22
|
+
@_hash = {} if @_hash.nil?
|
|
23
|
+
@_hash['field_name'] = 'fieldName'
|
|
24
|
+
@_hash['order_by'] = 'orderBy'
|
|
25
|
+
@_hash
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# An array for optional fields
|
|
29
|
+
def self.optionals
|
|
30
|
+
%w[
|
|
31
|
+
field_name
|
|
32
|
+
order_by
|
|
33
|
+
]
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# An array for nullable fields
|
|
37
|
+
def self.nullables
|
|
38
|
+
[]
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def initialize(field_name: SKIP, order_by: SKIP, additional_properties: nil)
|
|
42
|
+
# Add additional model properties to the instance
|
|
43
|
+
additional_properties = {} if additional_properties.nil?
|
|
44
|
+
|
|
45
|
+
@field_name = field_name unless field_name == SKIP
|
|
46
|
+
@order_by = order_by unless order_by == SKIP
|
|
47
|
+
@additional_properties = additional_properties
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Creates an instance of the object from a hash.
|
|
51
|
+
def self.from_hash(hash)
|
|
52
|
+
return nil unless hash
|
|
53
|
+
|
|
54
|
+
# Extract variables from the hash.
|
|
55
|
+
field_name = hash.key?('fieldName') ? hash['fieldName'] : SKIP
|
|
56
|
+
order_by = hash.key?('orderBy') ? hash['orderBy'] : SKIP
|
|
57
|
+
|
|
58
|
+
# Create a new hash for additional properties, removing known properties.
|
|
59
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
60
|
+
|
|
61
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
62
|
+
new_hash, proc { |value| value }
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
# Create object from extracted values.
|
|
66
|
+
OrderByForSettledDailyTotals.new(field_name: field_name,
|
|
67
|
+
order_by: order_by,
|
|
68
|
+
additional_properties: additional_properties)
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Provides a human-readable string representation of the object.
|
|
72
|
+
def to_s
|
|
73
|
+
class_name = self.class.name.split('::').last
|
|
74
|
+
"<#{class_name} field_name: #{@field_name}, order_by: #{@order_by}, additional_properties:"\
|
|
75
|
+
" #{@additional_properties}>"
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
79
|
+
def inspect
|
|
80
|
+
class_name = self.class.name.split('::').last
|
|
81
|
+
"<#{class_name} field_name: #{@field_name.inspect}, order_by: #{@order_by.inspect},"\
|
|
82
|
+
" additional_properties: #{@additional_properties}>"
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# reporting_settlement_research_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated
|
|
4
|
+
# by APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ReportingSettlementResearchApi
|
|
7
|
+
# The fields for sorting the settled transactions type.
|
|
8
|
+
class OrderByForSettledTransactionsType < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [FieldName]
|
|
14
|
+
attr_accessor :field_name
|
|
15
|
+
|
|
16
|
+
# TODO: Write general description for this method
|
|
17
|
+
# @return [OrderBy]
|
|
18
|
+
attr_accessor :order_by
|
|
19
|
+
|
|
20
|
+
# A mapping from model property names to API property names.
|
|
21
|
+
def self.names
|
|
22
|
+
@_hash = {} if @_hash.nil?
|
|
23
|
+
@_hash['field_name'] = 'fieldName'
|
|
24
|
+
@_hash['order_by'] = 'orderBy'
|
|
25
|
+
@_hash
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# An array for optional fields
|
|
29
|
+
def self.optionals
|
|
30
|
+
%w[
|
|
31
|
+
field_name
|
|
32
|
+
order_by
|
|
33
|
+
]
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# An array for nullable fields
|
|
37
|
+
def self.nullables
|
|
38
|
+
[]
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def initialize(field_name: SKIP, order_by: SKIP, additional_properties: nil)
|
|
42
|
+
# Add additional model properties to the instance
|
|
43
|
+
additional_properties = {} if additional_properties.nil?
|
|
44
|
+
|
|
45
|
+
@field_name = field_name unless field_name == SKIP
|
|
46
|
+
@order_by = order_by unless order_by == SKIP
|
|
47
|
+
@additional_properties = additional_properties
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Creates an instance of the object from a hash.
|
|
51
|
+
def self.from_hash(hash)
|
|
52
|
+
return nil unless hash
|
|
53
|
+
|
|
54
|
+
# Extract variables from the hash.
|
|
55
|
+
field_name = hash.key?('fieldName') ? hash['fieldName'] : SKIP
|
|
56
|
+
order_by = hash.key?('orderBy') ? hash['orderBy'] : SKIP
|
|
57
|
+
|
|
58
|
+
# Create a new hash for additional properties, removing known properties.
|
|
59
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
60
|
+
|
|
61
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
62
|
+
new_hash, proc { |value| value }
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
# Create object from extracted values.
|
|
66
|
+
OrderByForSettledTransactionsType.new(field_name: field_name,
|
|
67
|
+
order_by: order_by,
|
|
68
|
+
additional_properties: additional_properties)
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Provides a human-readable string representation of the object.
|
|
72
|
+
def to_s
|
|
73
|
+
class_name = self.class.name.split('::').last
|
|
74
|
+
"<#{class_name} field_name: #{@field_name}, order_by: #{@order_by}, additional_properties:"\
|
|
75
|
+
" #{@additional_properties}>"
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
79
|
+
def inspect
|
|
80
|
+
class_name = self.class.name.split('::').last
|
|
81
|
+
"<#{class_name} field_name: #{@field_name.inspect}, order_by: #{@order_by.inspect},"\
|
|
82
|
+
" additional_properties: #{@additional_properties}>"
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# reporting_settlement_research_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated
|
|
4
|
+
# by APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ReportingSettlementResearchApi
|
|
7
|
+
# OriginType Model.
|
|
8
|
+
class OriginType < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# The identifier code.
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :code
|
|
15
|
+
|
|
16
|
+
# The short description of the code.
|
|
17
|
+
# @return [String]
|
|
18
|
+
attr_accessor :short_description
|
|
19
|
+
|
|
20
|
+
# The long description of the code.
|
|
21
|
+
# @return [String]
|
|
22
|
+
attr_accessor :long_description
|
|
23
|
+
|
|
24
|
+
# A mapping from model property names to API property names.
|
|
25
|
+
def self.names
|
|
26
|
+
@_hash = {} if @_hash.nil?
|
|
27
|
+
@_hash['code'] = 'code'
|
|
28
|
+
@_hash['short_description'] = 'shortDescription'
|
|
29
|
+
@_hash['long_description'] = 'longDescription'
|
|
30
|
+
@_hash
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# An array for optional fields
|
|
34
|
+
def self.optionals
|
|
35
|
+
%w[
|
|
36
|
+
code
|
|
37
|
+
short_description
|
|
38
|
+
long_description
|
|
39
|
+
]
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# An array for nullable fields
|
|
43
|
+
def self.nullables
|
|
44
|
+
[]
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def initialize(code: SKIP, short_description: SKIP, long_description: SKIP,
|
|
48
|
+
additional_properties: nil)
|
|
49
|
+
# Add additional model properties to the instance
|
|
50
|
+
additional_properties = {} if additional_properties.nil?
|
|
51
|
+
|
|
52
|
+
@code = code unless code == SKIP
|
|
53
|
+
@short_description = short_description unless short_description == SKIP
|
|
54
|
+
@long_description = long_description unless long_description == SKIP
|
|
55
|
+
@additional_properties = additional_properties
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Creates an instance of the object from a hash.
|
|
59
|
+
def self.from_hash(hash)
|
|
60
|
+
return nil unless hash
|
|
61
|
+
|
|
62
|
+
# Extract variables from the hash.
|
|
63
|
+
code = hash.key?('code') ? hash['code'] : SKIP
|
|
64
|
+
short_description =
|
|
65
|
+
hash.key?('shortDescription') ? hash['shortDescription'] : SKIP
|
|
66
|
+
long_description =
|
|
67
|
+
hash.key?('longDescription') ? hash['longDescription'] : SKIP
|
|
68
|
+
|
|
69
|
+
# Create a new hash for additional properties, removing known properties.
|
|
70
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
71
|
+
|
|
72
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
73
|
+
new_hash, proc { |value| value }
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
# Create object from extracted values.
|
|
77
|
+
OriginType.new(code: code,
|
|
78
|
+
short_description: short_description,
|
|
79
|
+
long_description: long_description,
|
|
80
|
+
additional_properties: additional_properties)
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Provides a human-readable string representation of the object.
|
|
84
|
+
def to_s
|
|
85
|
+
class_name = self.class.name.split('::').last
|
|
86
|
+
"<#{class_name} code: #{@code}, short_description: #{@short_description}, long_description:"\
|
|
87
|
+
" #{@long_description}, additional_properties: #{@additional_properties}>"
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
91
|
+
def inspect
|
|
92
|
+
class_name = self.class.name.split('::').last
|
|
93
|
+
"<#{class_name} code: #{@code.inspect}, short_description: #{@short_description.inspect},"\
|
|
94
|
+
" long_description: #{@long_description.inspect}, additional_properties:"\
|
|
95
|
+
" #{@additional_properties}>"
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
# reporting_settlement_research_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated
|
|
4
|
+
# by APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ReportingSettlementResearchApi
|
|
7
|
+
# Provides information on the other services related details.
|
|
8
|
+
class OtherServices < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [LevelIndicator]
|
|
14
|
+
attr_accessor :level_indicator
|
|
15
|
+
|
|
16
|
+
# The number of times reauthorization has been attempted.
|
|
17
|
+
# @return [String]
|
|
18
|
+
attr_accessor :re_authorization_attempts_count
|
|
19
|
+
|
|
20
|
+
# The number of times reauthorization has been attempted.
|
|
21
|
+
# @return [SignatureCapabilitiesIndicator]
|
|
22
|
+
attr_accessor :signature_capabilities_indicator
|
|
23
|
+
|
|
24
|
+
# The number of times reauthorization has been attempted.
|
|
25
|
+
# @return [SignatureCompression]
|
|
26
|
+
attr_accessor :signature_compression
|
|
27
|
+
|
|
28
|
+
# Indicates the encryption key of the signature.
|
|
29
|
+
# @return [String]
|
|
30
|
+
attr_accessor :signature_encrypt_key
|
|
31
|
+
|
|
32
|
+
# Used to verify the encryption method.
|
|
33
|
+
# @return [String]
|
|
34
|
+
attr_accessor :signature_encrypt_method
|
|
35
|
+
|
|
36
|
+
# Used to verify the encryption method.
|
|
37
|
+
# @return [SignaturePen]
|
|
38
|
+
attr_accessor :signature_pen
|
|
39
|
+
|
|
40
|
+
# Used to verify the encryption method.
|
|
41
|
+
# @return [StandInIndicator]
|
|
42
|
+
attr_accessor :stand_in_indicator
|
|
43
|
+
|
|
44
|
+
# Used to verify the encryption method.
|
|
45
|
+
# @return [StandInLevel]
|
|
46
|
+
attr_accessor :stand_in_level
|
|
47
|
+
|
|
48
|
+
# A mapping from model property names to API property names.
|
|
49
|
+
def self.names
|
|
50
|
+
@_hash = {} if @_hash.nil?
|
|
51
|
+
@_hash['level_indicator'] = 'levelIndicator'
|
|
52
|
+
@_hash['re_authorization_attempts_count'] =
|
|
53
|
+
'reAuthorizationAttemptsCount'
|
|
54
|
+
@_hash['signature_capabilities_indicator'] =
|
|
55
|
+
'signatureCapabilitiesIndicator'
|
|
56
|
+
@_hash['signature_compression'] = 'signatureCompression'
|
|
57
|
+
@_hash['signature_encrypt_key'] = 'signatureEncryptKey'
|
|
58
|
+
@_hash['signature_encrypt_method'] = 'signatureEncryptMethod'
|
|
59
|
+
@_hash['signature_pen'] = 'signaturePen'
|
|
60
|
+
@_hash['stand_in_indicator'] = 'standInIndicator'
|
|
61
|
+
@_hash['stand_in_level'] = 'standInLevel'
|
|
62
|
+
@_hash
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# An array for optional fields
|
|
66
|
+
def self.optionals
|
|
67
|
+
%w[
|
|
68
|
+
level_indicator
|
|
69
|
+
re_authorization_attempts_count
|
|
70
|
+
signature_capabilities_indicator
|
|
71
|
+
signature_compression
|
|
72
|
+
signature_encrypt_key
|
|
73
|
+
signature_encrypt_method
|
|
74
|
+
signature_pen
|
|
75
|
+
stand_in_indicator
|
|
76
|
+
stand_in_level
|
|
77
|
+
]
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# An array for nullable fields
|
|
81
|
+
def self.nullables
|
|
82
|
+
[]
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
def initialize(level_indicator: SKIP, re_authorization_attempts_count: SKIP,
|
|
86
|
+
signature_capabilities_indicator: SKIP,
|
|
87
|
+
signature_compression: SKIP, signature_encrypt_key: SKIP,
|
|
88
|
+
signature_encrypt_method: SKIP, signature_pen: SKIP,
|
|
89
|
+
stand_in_indicator: SKIP, stand_in_level: SKIP,
|
|
90
|
+
additional_properties: nil)
|
|
91
|
+
# Add additional model properties to the instance
|
|
92
|
+
additional_properties = {} if additional_properties.nil?
|
|
93
|
+
|
|
94
|
+
@level_indicator = level_indicator unless level_indicator == SKIP
|
|
95
|
+
unless re_authorization_attempts_count == SKIP
|
|
96
|
+
@re_authorization_attempts_count =
|
|
97
|
+
re_authorization_attempts_count
|
|
98
|
+
end
|
|
99
|
+
unless signature_capabilities_indicator == SKIP
|
|
100
|
+
@signature_capabilities_indicator =
|
|
101
|
+
signature_capabilities_indicator
|
|
102
|
+
end
|
|
103
|
+
@signature_compression = signature_compression unless signature_compression == SKIP
|
|
104
|
+
@signature_encrypt_key = signature_encrypt_key unless signature_encrypt_key == SKIP
|
|
105
|
+
@signature_encrypt_method = signature_encrypt_method unless signature_encrypt_method == SKIP
|
|
106
|
+
@signature_pen = signature_pen unless signature_pen == SKIP
|
|
107
|
+
@stand_in_indicator = stand_in_indicator unless stand_in_indicator == SKIP
|
|
108
|
+
@stand_in_level = stand_in_level unless stand_in_level == SKIP
|
|
109
|
+
@additional_properties = additional_properties
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# Creates an instance of the object from a hash.
|
|
113
|
+
def self.from_hash(hash)
|
|
114
|
+
return nil unless hash
|
|
115
|
+
|
|
116
|
+
# Extract variables from the hash.
|
|
117
|
+
level_indicator = LevelIndicator.from_hash(hash['levelIndicator']) if hash['levelIndicator']
|
|
118
|
+
re_authorization_attempts_count =
|
|
119
|
+
hash.key?('reAuthorizationAttemptsCount') ? hash['reAuthorizationAttemptsCount'] : SKIP
|
|
120
|
+
if hash['signatureCapabilitiesIndicator']
|
|
121
|
+
signature_capabilities_indicator = SignatureCapabilitiesIndicator.from_hash(hash['signatureCapabilitiesIndicator'])
|
|
122
|
+
end
|
|
123
|
+
signature_compression = SignatureCompression.from_hash(hash['signatureCompression']) if
|
|
124
|
+
hash['signatureCompression']
|
|
125
|
+
signature_encrypt_key =
|
|
126
|
+
hash.key?('signatureEncryptKey') ? hash['signatureEncryptKey'] : SKIP
|
|
127
|
+
signature_encrypt_method =
|
|
128
|
+
hash.key?('signatureEncryptMethod') ? hash['signatureEncryptMethod'] : SKIP
|
|
129
|
+
signature_pen = SignaturePen.from_hash(hash['signaturePen']) if hash['signaturePen']
|
|
130
|
+
stand_in_indicator = StandInIndicator.from_hash(hash['standInIndicator']) if
|
|
131
|
+
hash['standInIndicator']
|
|
132
|
+
stand_in_level = StandInLevel.from_hash(hash['standInLevel']) if hash['standInLevel']
|
|
133
|
+
|
|
134
|
+
# Create a new hash for additional properties, removing known properties.
|
|
135
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
136
|
+
|
|
137
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
138
|
+
new_hash, proc { |value| value }
|
|
139
|
+
)
|
|
140
|
+
|
|
141
|
+
# Create object from extracted values.
|
|
142
|
+
OtherServices.new(level_indicator: level_indicator,
|
|
143
|
+
re_authorization_attempts_count: re_authorization_attempts_count,
|
|
144
|
+
signature_capabilities_indicator: signature_capabilities_indicator,
|
|
145
|
+
signature_compression: signature_compression,
|
|
146
|
+
signature_encrypt_key: signature_encrypt_key,
|
|
147
|
+
signature_encrypt_method: signature_encrypt_method,
|
|
148
|
+
signature_pen: signature_pen,
|
|
149
|
+
stand_in_indicator: stand_in_indicator,
|
|
150
|
+
stand_in_level: stand_in_level,
|
|
151
|
+
additional_properties: additional_properties)
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
# Provides a human-readable string representation of the object.
|
|
155
|
+
def to_s
|
|
156
|
+
class_name = self.class.name.split('::').last
|
|
157
|
+
"<#{class_name} level_indicator: #{@level_indicator}, re_authorization_attempts_count:"\
|
|
158
|
+
" #{@re_authorization_attempts_count}, signature_capabilities_indicator:"\
|
|
159
|
+
" #{@signature_capabilities_indicator}, signature_compression: #{@signature_compression},"\
|
|
160
|
+
" signature_encrypt_key: #{@signature_encrypt_key}, signature_encrypt_method:"\
|
|
161
|
+
" #{@signature_encrypt_method}, signature_pen: #{@signature_pen}, stand_in_indicator:"\
|
|
162
|
+
" #{@stand_in_indicator}, stand_in_level: #{@stand_in_level}, additional_properties:"\
|
|
163
|
+
" #{@additional_properties}>"
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
167
|
+
def inspect
|
|
168
|
+
class_name = self.class.name.split('::').last
|
|
169
|
+
"<#{class_name} level_indicator: #{@level_indicator.inspect},"\
|
|
170
|
+
" re_authorization_attempts_count: #{@re_authorization_attempts_count.inspect},"\
|
|
171
|
+
" signature_capabilities_indicator: #{@signature_capabilities_indicator.inspect},"\
|
|
172
|
+
" signature_compression: #{@signature_compression.inspect}, signature_encrypt_key:"\
|
|
173
|
+
" #{@signature_encrypt_key.inspect}, signature_encrypt_method:"\
|
|
174
|
+
" #{@signature_encrypt_method.inspect}, signature_pen: #{@signature_pen.inspect},"\
|
|
175
|
+
" stand_in_indicator: #{@stand_in_indicator.inspect}, stand_in_level:"\
|
|
176
|
+
" #{@stand_in_level.inspect}, additional_properties: #{@additional_properties}>"
|
|
177
|
+
end
|
|
178
|
+
end
|
|
179
|
+
end
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
# reporting_settlement_research_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated
|
|
4
|
+
# by APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ReportingSettlementResearchApi
|
|
7
|
+
# OtherServices2 Model.
|
|
8
|
+
class OtherServices2 < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [LevelIndicator]
|
|
14
|
+
attr_accessor :level_indicator
|
|
15
|
+
|
|
16
|
+
# The number of times reauthorization has been attempted.
|
|
17
|
+
# @return [String]
|
|
18
|
+
attr_accessor :re_authorization_attempts_count
|
|
19
|
+
|
|
20
|
+
# The number of times reauthorization has been attempted.
|
|
21
|
+
# @return [SignatureCapabilitiesIndicator]
|
|
22
|
+
attr_accessor :signature_capabilities_indicator
|
|
23
|
+
|
|
24
|
+
# The number of times reauthorization has been attempted.
|
|
25
|
+
# @return [SignatureCompression]
|
|
26
|
+
attr_accessor :signature_compression
|
|
27
|
+
|
|
28
|
+
# Indicates the encryption key of the signature.
|
|
29
|
+
# @return [String]
|
|
30
|
+
attr_accessor :signature_encrypt_key
|
|
31
|
+
|
|
32
|
+
# Used to verify the encryption method.
|
|
33
|
+
# @return [String]
|
|
34
|
+
attr_accessor :signature_encrypt_method
|
|
35
|
+
|
|
36
|
+
# Used to verify the encryption method.
|
|
37
|
+
# @return [SignaturePen]
|
|
38
|
+
attr_accessor :signature_pen
|
|
39
|
+
|
|
40
|
+
# Used to verify the encryption method.
|
|
41
|
+
# @return [StandInIndicator]
|
|
42
|
+
attr_accessor :stand_in_indicator
|
|
43
|
+
|
|
44
|
+
# Used to verify the encryption method.
|
|
45
|
+
# @return [StandInLevel]
|
|
46
|
+
attr_accessor :stand_in_level
|
|
47
|
+
|
|
48
|
+
# A mapping from model property names to API property names.
|
|
49
|
+
def self.names
|
|
50
|
+
@_hash = {} if @_hash.nil?
|
|
51
|
+
@_hash['level_indicator'] = 'levelIndicator'
|
|
52
|
+
@_hash['re_authorization_attempts_count'] =
|
|
53
|
+
'reAuthorizationAttemptsCount'
|
|
54
|
+
@_hash['signature_capabilities_indicator'] =
|
|
55
|
+
'signatureCapabilitiesIndicator'
|
|
56
|
+
@_hash['signature_compression'] = 'signatureCompression'
|
|
57
|
+
@_hash['signature_encrypt_key'] = 'signatureEncryptKey'
|
|
58
|
+
@_hash['signature_encrypt_method'] = 'signatureEncryptMethod'
|
|
59
|
+
@_hash['signature_pen'] = 'signaturePen'
|
|
60
|
+
@_hash['stand_in_indicator'] = 'standInIndicator'
|
|
61
|
+
@_hash['stand_in_level'] = 'standInLevel'
|
|
62
|
+
@_hash
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# An array for optional fields
|
|
66
|
+
def self.optionals
|
|
67
|
+
%w[
|
|
68
|
+
level_indicator
|
|
69
|
+
re_authorization_attempts_count
|
|
70
|
+
signature_capabilities_indicator
|
|
71
|
+
signature_compression
|
|
72
|
+
signature_encrypt_key
|
|
73
|
+
signature_encrypt_method
|
|
74
|
+
signature_pen
|
|
75
|
+
stand_in_indicator
|
|
76
|
+
stand_in_level
|
|
77
|
+
]
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# An array for nullable fields
|
|
81
|
+
def self.nullables
|
|
82
|
+
[]
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
def initialize(level_indicator: SKIP, re_authorization_attempts_count: SKIP,
|
|
86
|
+
signature_capabilities_indicator: SKIP,
|
|
87
|
+
signature_compression: SKIP, signature_encrypt_key: SKIP,
|
|
88
|
+
signature_encrypt_method: SKIP, signature_pen: SKIP,
|
|
89
|
+
stand_in_indicator: SKIP, stand_in_level: SKIP,
|
|
90
|
+
additional_properties: nil)
|
|
91
|
+
# Add additional model properties to the instance
|
|
92
|
+
additional_properties = {} if additional_properties.nil?
|
|
93
|
+
|
|
94
|
+
@level_indicator = level_indicator unless level_indicator == SKIP
|
|
95
|
+
unless re_authorization_attempts_count == SKIP
|
|
96
|
+
@re_authorization_attempts_count =
|
|
97
|
+
re_authorization_attempts_count
|
|
98
|
+
end
|
|
99
|
+
unless signature_capabilities_indicator == SKIP
|
|
100
|
+
@signature_capabilities_indicator =
|
|
101
|
+
signature_capabilities_indicator
|
|
102
|
+
end
|
|
103
|
+
@signature_compression = signature_compression unless signature_compression == SKIP
|
|
104
|
+
@signature_encrypt_key = signature_encrypt_key unless signature_encrypt_key == SKIP
|
|
105
|
+
@signature_encrypt_method = signature_encrypt_method unless signature_encrypt_method == SKIP
|
|
106
|
+
@signature_pen = signature_pen unless signature_pen == SKIP
|
|
107
|
+
@stand_in_indicator = stand_in_indicator unless stand_in_indicator == SKIP
|
|
108
|
+
@stand_in_level = stand_in_level unless stand_in_level == SKIP
|
|
109
|
+
@additional_properties = additional_properties
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# Creates an instance of the object from a hash.
|
|
113
|
+
def self.from_hash(hash)
|
|
114
|
+
return nil unless hash
|
|
115
|
+
|
|
116
|
+
# Extract variables from the hash.
|
|
117
|
+
level_indicator = LevelIndicator.from_hash(hash['levelIndicator']) if hash['levelIndicator']
|
|
118
|
+
re_authorization_attempts_count =
|
|
119
|
+
hash.key?('reAuthorizationAttemptsCount') ? hash['reAuthorizationAttemptsCount'] : SKIP
|
|
120
|
+
if hash['signatureCapabilitiesIndicator']
|
|
121
|
+
signature_capabilities_indicator = SignatureCapabilitiesIndicator.from_hash(hash['signatureCapabilitiesIndicator'])
|
|
122
|
+
end
|
|
123
|
+
signature_compression = SignatureCompression.from_hash(hash['signatureCompression']) if
|
|
124
|
+
hash['signatureCompression']
|
|
125
|
+
signature_encrypt_key =
|
|
126
|
+
hash.key?('signatureEncryptKey') ? hash['signatureEncryptKey'] : SKIP
|
|
127
|
+
signature_encrypt_method =
|
|
128
|
+
hash.key?('signatureEncryptMethod') ? hash['signatureEncryptMethod'] : SKIP
|
|
129
|
+
signature_pen = SignaturePen.from_hash(hash['signaturePen']) if hash['signaturePen']
|
|
130
|
+
stand_in_indicator = StandInIndicator.from_hash(hash['standInIndicator']) if
|
|
131
|
+
hash['standInIndicator']
|
|
132
|
+
stand_in_level = StandInLevel.from_hash(hash['standInLevel']) if hash['standInLevel']
|
|
133
|
+
|
|
134
|
+
# Create a new hash for additional properties, removing known properties.
|
|
135
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
136
|
+
|
|
137
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
138
|
+
new_hash, proc { |value| value }
|
|
139
|
+
)
|
|
140
|
+
|
|
141
|
+
# Create object from extracted values.
|
|
142
|
+
OtherServices2.new(level_indicator: level_indicator,
|
|
143
|
+
re_authorization_attempts_count: re_authorization_attempts_count,
|
|
144
|
+
signature_capabilities_indicator: signature_capabilities_indicator,
|
|
145
|
+
signature_compression: signature_compression,
|
|
146
|
+
signature_encrypt_key: signature_encrypt_key,
|
|
147
|
+
signature_encrypt_method: signature_encrypt_method,
|
|
148
|
+
signature_pen: signature_pen,
|
|
149
|
+
stand_in_indicator: stand_in_indicator,
|
|
150
|
+
stand_in_level: stand_in_level,
|
|
151
|
+
additional_properties: additional_properties)
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
# Provides a human-readable string representation of the object.
|
|
155
|
+
def to_s
|
|
156
|
+
class_name = self.class.name.split('::').last
|
|
157
|
+
"<#{class_name} level_indicator: #{@level_indicator}, re_authorization_attempts_count:"\
|
|
158
|
+
" #{@re_authorization_attempts_count}, signature_capabilities_indicator:"\
|
|
159
|
+
" #{@signature_capabilities_indicator}, signature_compression: #{@signature_compression},"\
|
|
160
|
+
" signature_encrypt_key: #{@signature_encrypt_key}, signature_encrypt_method:"\
|
|
161
|
+
" #{@signature_encrypt_method}, signature_pen: #{@signature_pen}, stand_in_indicator:"\
|
|
162
|
+
" #{@stand_in_indicator}, stand_in_level: #{@stand_in_level}, additional_properties:"\
|
|
163
|
+
" #{@additional_properties}>"
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
167
|
+
def inspect
|
|
168
|
+
class_name = self.class.name.split('::').last
|
|
169
|
+
"<#{class_name} level_indicator: #{@level_indicator.inspect},"\
|
|
170
|
+
" re_authorization_attempts_count: #{@re_authorization_attempts_count.inspect},"\
|
|
171
|
+
" signature_capabilities_indicator: #{@signature_capabilities_indicator.inspect},"\
|
|
172
|
+
" signature_compression: #{@signature_compression.inspect}, signature_encrypt_key:"\
|
|
173
|
+
" #{@signature_encrypt_key.inspect}, signature_encrypt_method:"\
|
|
174
|
+
" #{@signature_encrypt_method.inspect}, signature_pen: #{@signature_pen.inspect},"\
|
|
175
|
+
" stand_in_indicator: #{@stand_in_indicator.inspect}, stand_in_level:"\
|
|
176
|
+
" #{@stand_in_level.inspect}, additional_properties: #{@additional_properties}>"
|
|
177
|
+
end
|
|
178
|
+
end
|
|
179
|
+
end
|