cybersource_rest_client 0.0.75 → 0.0.77
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/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +6 -17
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +132 -54
- data/lib/AuthenticationSDK/util/Cache.rb +135 -30
- data/lib/AuthenticationSDK/util/CacheValue.rb +18 -0
- data/lib/AuthenticationSDK/util/CertificateUtility.rb +124 -0
- data/lib/AuthenticationSDK/util/Constants.rb +6 -0
- data/lib/AuthenticationSDK/util/JWEUtility.rb +1 -2
- data/lib/AuthenticationSDK/util/MLEUtility.rb +26 -35
- data/lib/AuthenticationSDK/util/Utility.rb +1 -16
- data/lib/cybersource_rest_client/api/batches_api.rb +17 -17
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +6 -6
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +2 -2
- data/lib/cybersource_rest_client/api/capture_api.rb +2 -2
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +2 -2
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
- data/lib/cybersource_rest_client/api/credit_api.rb +2 -2
- data/lib/cybersource_rest_client/api/customer_api.rb +8 -8
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +10 -10
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +10 -10
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +10 -10
- data/lib/cybersource_rest_client/api/device_de_association_api.rb +7 -7
- data/lib/cybersource_rest_client/api/device_search_api.rb +10 -10
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +2 -2
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +2 -2
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +4 -4
- data/lib/cybersource_rest_client/api/flex_api_api.rb +2 -2
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +12 -12
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +4 -4
- data/lib/cybersource_rest_client/api/invoices_api.rb +87 -12
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +18 -17
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +4 -4
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +2 -2
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +2 -2
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +2 -2
- data/lib/cybersource_rest_client/api/orders_api.rb +4 -4
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +6 -6
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +8 -8
- data/lib/cybersource_rest_client/api/payment_links_api.rb +12 -12
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payments_api.rb +12 -12
- data/lib/cybersource_rest_client/api/payouts_api.rb +2 -2
- data/lib/cybersource_rest_client/api/plans_api.rb +16 -16
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/push_funds_api.rb +2 -2
- data/lib/cybersource_rest_client/api/refund_api.rb +4 -4
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +4 -4
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -2
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +10 -10
- data/lib/cybersource_rest_client/api/reports_api.rb +6 -6
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +2 -2
- data/lib/cybersource_rest_client/api/reversal_api.rb +4 -4
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +4 -4
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +4 -4
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +16 -16
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +4 -4
- data/lib/cybersource_rest_client/api/taxes_api.rb +4 -4
- data/lib/cybersource_rest_client/api/token_api.rb +4 -4
- data/lib/cybersource_rest_client/api/tokenized_card_api.rb +6 -6
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +8 -8
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/transient_token_data_api.rb +4 -4
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +2 -2
- data/lib/cybersource_rest_client/api/user_management_api.rb +2 -2
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +2 -2
- data/lib/cybersource_rest_client/api/verification_api.rb +4 -4
- data/lib/cybersource_rest_client/api/void_api.rb +10 -10
- data/lib/cybersource_rest_client/api_client.rb +3 -1
- data/lib/cybersource_rest_client/ethon_extensions.rb +38 -0
- data/lib/cybersource_rest_client/models/create_order_request.rb +269 -269
- data/lib/cybersource_rest_client/models/create_webhook.rb +16 -3
- data/lib/cybersource_rest_client/models/inline_response_200_10.rb +47 -49
- data/lib/cybersource_rest_client/models/{inline_response_200_8__links.rb → inline_response_200_10__links.rb} +18 -17
- data/lib/cybersource_rest_client/models/{inline_response_200_9__links_report.rb → inline_response_200_10__links_report.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_9_billing.rb → inline_response_200_10_billing.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_11.rb +292 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_10_records.rb → inline_response_200_11_records.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_10_response_record.rb → inline_response_200_11_response_record.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_10_response_record_additional_updates.rb → inline_response_200_11_response_record_additional_updates.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_10_source_record.rb → inline_response_200_11_source_record.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +253 -253
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +12 -10
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +129 -51
- data/lib/cybersource_rest_client/models/inline_response_200_6.rb +55 -10
- data/lib/cybersource_rest_client/models/{inline_response_200_5_devices.rb → inline_response_200_6_devices.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_7.rb +10 -55
- data/lib/cybersource_rest_client/models/inline_response_200_8.rb +33 -37
- data/lib/cybersource_rest_client/models/{inline_response_200_7_devices.rb → inline_response_200_8_devices.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_7_payment_processor_to_terminal_map.rb → inline_response_200_8_payment_processor_to_terminal_map.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_9.rb +47 -86
- data/lib/cybersource_rest_client/models/{inline_response_200_8__embedded.rb → inline_response_200_9__embedded.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_8__embedded__links.rb → inline_response_200_9__embedded__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_8__embedded__links_reports.rb → inline_response_200_9__embedded__links_reports.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_8__embedded_batches.rb → inline_response_200_9__embedded_batches.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_8__embedded_totals.rb → inline_response_200_9__embedded_totals.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_9__links.rb +16 -17
- data/lib/cybersource_rest_client/models/inline_response_201.rb +227 -227
- data/lib/cybersource_rest_client/models/inline_response_201_1.rb +218 -218
- data/lib/cybersource_rest_client/models/inline_response_201_2.rb +248 -248
- data/lib/cybersource_rest_client/models/inline_response_201_2_payout_information.rb +216 -216
- data/lib/cybersource_rest_client/models/inline_response_201_2_payout_information_pull_funds.rb +213 -213
- data/lib/cybersource_rest_client/models/inline_response_201_2_payout_information_push_funds.rb +417 -417
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +281 -281
- data/lib/cybersource_rest_client/models/inline_response_201_3_integration_information.rb +192 -192
- data/lib/cybersource_rest_client/models/inline_response_201_3_integration_information_tenant_configurations.rb +253 -253
- data/lib/cybersource_rest_client/models/inline_response_201_3_organization_information.rb +217 -217
- data/lib/cybersource_rest_client/models/inline_response_201_3_product_information_setups.rb +214 -214
- data/lib/cybersource_rest_client/models/inline_response_201_3_registration_information.rb +222 -222
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups.rb +219 -219
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_commerce_solutions.rb +209 -209
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments.rb +369 -369
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments_alternative_payment_methods.rb +221 -221
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments_alternative_payment_methods_configuration_status.rb +200 -200
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments_card_processing.rb +199 -199
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments_card_processing_configuration_status.rb +255 -255
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments_card_processing_subscription_status.rb +234 -234
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments_digital_payments.rb +189 -189
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_risk.rb +199 -199
- data/lib/cybersource_rest_client/models/inline_response_201_3_setups_value_added_services.rb +209 -209
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +222 -222
- data/lib/cybersource_rest_client/models/inline_response_201_4_key_information.rb +300 -300
- data/lib/cybersource_rest_client/models/inline_response_201_4_key_information_error_information.rb +202 -202
- data/lib/cybersource_rest_client/models/inline_response_201_4_key_information_error_information_details.rb +201 -201
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +314 -312
- data/lib/cybersource_rest_client/models/inline_response_201_6.rb +277 -277
- data/lib/cybersource_rest_client/models/inline_response_201_6_payloads.rb +189 -189
- data/lib/cybersource_rest_client/models/inline_response_201_6_payloads_test_payload.rb +190 -190
- data/lib/cybersource_rest_client/models/inline_response_201_7.rb +202 -202
- data/lib/cybersource_rest_client/models/inline_response_201_order_information.rb +189 -189
- data/lib/cybersource_rest_client/models/inline_response_201_order_information_ship_to.rb +315 -315
- data/lib/cybersource_rest_client/models/inline_response_201_payment_information.rb +199 -199
- data/lib/cybersource_rest_client/models/inline_response_201_payment_information_e_wallet.rb +196 -196
- data/lib/cybersource_rest_client/models/inline_response_201_payment_information_tokenized_payment_method.rb +213 -213
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +18 -5
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +18 -5
- data/lib/cybersource_rest_client/models/{notificationsubscriptionsv2webhooks_security_policy_1_config.rb → invoicing_v2_invoices_post201_response_invoice_information_custom_labels.rb} +57 -34
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_publish200_response.rb +268 -0
- data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +18 -5
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_retry_policy.rb +2 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_security_policy.rb +1 -1
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_security_policy_config.rb +16 -17
- data/lib/cybersource_rest_client/models/{notificationsubscriptionsv2webhooks_security_policy_1_config_additional_config.rb → notificationsubscriptionsv2webhooks_security_policy_config_additional_config.rb} +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +609 -609
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +269 -269
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +364 -364
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +309 -309
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_payment_method.rb +213 -213
- data/lib/cybersource_rest_client/models/pts_v2_retrieve_payment_token_get400_response.rb +252 -252
- data/lib/cybersource_rest_client/models/pts_v2_retrieve_payment_token_get502_response.rb +240 -240
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_card.rb +258 -258
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +275 -275
- data/lib/cybersource_rest_client/models/ptsv2intents_event_information.rb +212 -212
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information_ship_to.rb +354 -354
- data/lib/cybersource_rest_client/models/ptsv2intents_payment_information.rb +220 -220
- data/lib/cybersource_rest_client/models/ptsv2intents_payment_information_e_wallet.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2intents_payment_information_tokenized_payment_method.rb +241 -241
- data/lib/cybersource_rest_client/models/ptsv2intents_processing_information.rb +351 -351
- data/lib/cybersource_rest_client/models/ptsv2intents_recipient_information.rb +245 -245
- data/lib/cybersource_rest_client/models/ptsv2intents_sender_information.rb +277 -277
- data/lib/cybersource_rest_client/models/ptsv2intents_sender_information_account.rb +190 -190
- data/lib/cybersource_rest_client/models/ptsv2intents_travel_information.rb +211 -211
- data/lib/cybersource_rest_client/models/ptsv2intents_travel_information_agency.rb +245 -245
- data/lib/cybersource_rest_client/models/ptsv2intentsid_payment_information.rb +189 -189
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_amount_details.rb +417 -417
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_card.rb +275 -275
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +461 -433
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +668 -668
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +716 -716
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +356 -356
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +445 -445
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +377 -377
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_payment_method.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +604 -604
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_payment_type_method.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +377 -377
- data/lib/cybersource_rest_client/models/ptsv2paymenttokens_payment_information.rb +199 -199
- data/lib/cybersource_rest_client/models/ptsv2paymenttokens_processing_information.rb +192 -192
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +258 -258
- data/lib/cybersource_rest_client/models/request.rb +199 -199
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +241 -241
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +258 -258
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +351 -351
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +268 -268
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +299 -299
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +259 -259
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +259 -259
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +224 -224
- data/lib/cybersource_rest_client/models/tms_bin_lookup_issuer_information.rb +264 -264
- data/lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_card.rb +277 -277
- data/lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_card_brands.rb +213 -213
- data/lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_features.rb +430 -430
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +11 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_bank_account_validation.rb +211 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_brands.rb +201 -201
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +365 -365
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +16 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +15 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +218 -218
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processor_information.rb +245 -245
- data/lib/cybersource_rest_client/models/update_order_request.rb +229 -229
- data/lib/cybersource_rest_client/models/update_webhook.rb +19 -19
- data/lib/cybersource_rest_client.rb +20 -18
- metadata +25 -20
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_security_policy_1.rb +0 -201
@@ -15,42 +15,28 @@ module CyberSource
|
|
15
15
|
class InlineResponse2009
|
16
16
|
attr_accessor :_links
|
17
17
|
|
18
|
-
|
19
|
-
attr_accessor :batch_id
|
18
|
+
attr_accessor :object
|
20
19
|
|
21
|
-
|
22
|
-
attr_accessor :batch_created_date
|
20
|
+
attr_accessor :offset
|
23
21
|
|
24
|
-
|
25
|
-
attr_accessor :batch_source
|
22
|
+
attr_accessor :limit
|
26
23
|
|
27
|
-
|
28
|
-
attr_accessor :merchant_reference
|
24
|
+
attr_accessor :count
|
29
25
|
|
30
|
-
attr_accessor :
|
26
|
+
attr_accessor :total
|
31
27
|
|
32
|
-
|
33
|
-
attr_accessor :status
|
34
|
-
|
35
|
-
attr_accessor :totals
|
36
|
-
|
37
|
-
attr_accessor :billing
|
38
|
-
|
39
|
-
attr_accessor :description
|
28
|
+
attr_accessor :_embedded
|
40
29
|
|
41
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
31
|
def self.attribute_map
|
43
32
|
{
|
44
33
|
:'_links' => :'_links',
|
45
|
-
:'
|
46
|
-
:'
|
47
|
-
:'
|
48
|
-
:'
|
49
|
-
:'
|
50
|
-
:'
|
51
|
-
:'totals' => :'totals',
|
52
|
-
:'billing' => :'billing',
|
53
|
-
:'description' => :'description'
|
34
|
+
:'object' => :'object',
|
35
|
+
:'offset' => :'offset',
|
36
|
+
:'limit' => :'limit',
|
37
|
+
:'count' => :'count',
|
38
|
+
:'total' => :'total',
|
39
|
+
:'_embedded' => :'_embedded'
|
54
40
|
}
|
55
41
|
end
|
56
42
|
|
@@ -58,31 +44,25 @@ module CyberSource
|
|
58
44
|
def self.json_map
|
59
45
|
{
|
60
46
|
:'_links' => :'_links',
|
61
|
-
:'
|
62
|
-
:'
|
63
|
-
:'
|
64
|
-
:'
|
65
|
-
:'
|
66
|
-
:'
|
67
|
-
:'totals' => :'totals',
|
68
|
-
:'billing' => :'billing',
|
69
|
-
:'description' => :'description'
|
47
|
+
:'object' => :'object',
|
48
|
+
:'offset' => :'offset',
|
49
|
+
:'limit' => :'limit',
|
50
|
+
:'count' => :'count',
|
51
|
+
:'total' => :'total',
|
52
|
+
:'_embedded' => :'_embedded'
|
70
53
|
}
|
71
54
|
end
|
72
55
|
|
73
56
|
# Attribute type mapping.
|
74
57
|
def self.swagger_types
|
75
58
|
{
|
76
|
-
:'_links' => :'InlineResponse2009Links',
|
77
|
-
:'
|
78
|
-
:'
|
79
|
-
:'
|
80
|
-
:'
|
81
|
-
:'
|
82
|
-
:'
|
83
|
-
:'totals' => :'InlineResponse2008EmbeddedTotals',
|
84
|
-
:'billing' => :'InlineResponse2009Billing',
|
85
|
-
:'description' => :'String'
|
59
|
+
:'_links' => :'Array<InlineResponse2009Links>',
|
60
|
+
:'object' => :'String',
|
61
|
+
:'offset' => :'Integer',
|
62
|
+
:'limit' => :'Integer',
|
63
|
+
:'count' => :'Integer',
|
64
|
+
:'total' => :'Integer',
|
65
|
+
:'_embedded' => :'InlineResponse2009Embedded'
|
86
66
|
}
|
87
67
|
end
|
88
68
|
|
@@ -95,43 +75,33 @@ module CyberSource
|
|
95
75
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
96
76
|
|
97
77
|
if attributes.has_key?(:'_links')
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
if attributes.has_key?(:'batchId')
|
102
|
-
self.batch_id = attributes[:'batchId']
|
103
|
-
end
|
104
|
-
|
105
|
-
if attributes.has_key?(:'batchCreatedDate')
|
106
|
-
self.batch_created_date = attributes[:'batchCreatedDate']
|
107
|
-
end
|
108
|
-
|
109
|
-
if attributes.has_key?(:'batchSource')
|
110
|
-
self.batch_source = attributes[:'batchSource']
|
78
|
+
if (value = attributes[:'_links']).is_a?(Array)
|
79
|
+
self._links = value
|
80
|
+
end
|
111
81
|
end
|
112
82
|
|
113
|
-
if attributes.has_key?(:'
|
114
|
-
self.
|
83
|
+
if attributes.has_key?(:'object')
|
84
|
+
self.object = attributes[:'object']
|
115
85
|
end
|
116
86
|
|
117
|
-
if attributes.has_key?(:'
|
118
|
-
self.
|
87
|
+
if attributes.has_key?(:'offset')
|
88
|
+
self.offset = attributes[:'offset']
|
119
89
|
end
|
120
90
|
|
121
|
-
if attributes.has_key?(:'
|
122
|
-
self.
|
91
|
+
if attributes.has_key?(:'limit')
|
92
|
+
self.limit = attributes[:'limit']
|
123
93
|
end
|
124
94
|
|
125
|
-
if attributes.has_key?(:'
|
126
|
-
self.
|
95
|
+
if attributes.has_key?(:'count')
|
96
|
+
self.count = attributes[:'count']
|
127
97
|
end
|
128
98
|
|
129
|
-
if attributes.has_key?(:'
|
130
|
-
self.
|
99
|
+
if attributes.has_key?(:'total')
|
100
|
+
self.total = attributes[:'total']
|
131
101
|
end
|
132
102
|
|
133
|
-
if attributes.has_key?(:'
|
134
|
-
self.
|
103
|
+
if attributes.has_key?(:'_embedded')
|
104
|
+
self._embedded = attributes[:'_embedded']
|
135
105
|
end
|
136
106
|
end
|
137
107
|
|
@@ -148,27 +118,18 @@ module CyberSource
|
|
148
118
|
true
|
149
119
|
end
|
150
120
|
|
151
|
-
# Custom attribute writer method with validation
|
152
|
-
# @param [Object] merchant_reference Value to be assigned
|
153
|
-
def merchant_reference=(merchant_reference)
|
154
|
-
@merchant_reference = merchant_reference
|
155
|
-
end
|
156
|
-
|
157
121
|
# Checks equality by comparing each attribute.
|
158
122
|
# @param [Object] Object to be compared
|
159
123
|
def ==(o)
|
160
124
|
return true if self.equal?(o)
|
161
125
|
self.class == o.class &&
|
162
126
|
_links == o._links &&
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
totals == o.totals &&
|
170
|
-
billing == o.billing &&
|
171
|
-
description == o.description
|
127
|
+
object == o.object &&
|
128
|
+
offset == o.offset &&
|
129
|
+
limit == o.limit &&
|
130
|
+
count == o.count &&
|
131
|
+
total == o.total &&
|
132
|
+
_embedded == o._embedded
|
172
133
|
end
|
173
134
|
|
174
135
|
# @see the `==` method
|
@@ -180,7 +141,7 @@ module CyberSource
|
|
180
141
|
# Calculates hash code according to all attributes.
|
181
142
|
# @return [Fixnum] Hash code
|
182
143
|
def hash
|
183
|
-
[_links,
|
144
|
+
[_links, object, offset, limit, count, total, _embedded].hash
|
184
145
|
end
|
185
146
|
|
186
147
|
# Builds the object from hash
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
12
12
|
require 'date'
|
13
13
|
|
14
14
|
module CyberSource
|
15
|
-
class
|
15
|
+
class InlineResponse2009Embedded
|
16
16
|
attr_accessor :batches
|
17
17
|
|
18
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -32,7 +32,7 @@ module CyberSource
|
|
32
32
|
# Attribute type mapping.
|
33
33
|
def self.swagger_types
|
34
34
|
{
|
35
|
-
:'batches' => :'Array<
|
35
|
+
:'batches' => :'Array<InlineResponse2009EmbeddedBatches>'
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
12
12
|
require 'date'
|
13
13
|
|
14
14
|
module CyberSource
|
15
|
-
class
|
15
|
+
class InlineResponse2009EmbeddedLinks
|
16
16
|
attr_accessor :reports
|
17
17
|
|
18
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -32,7 +32,7 @@ module CyberSource
|
|
32
32
|
# Attribute type mapping.
|
33
33
|
def self.swagger_types
|
34
34
|
{
|
35
|
-
:'reports' => :'Array<
|
35
|
+
:'reports' => :'Array<InlineResponse2009EmbeddedLinksReports>'
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
@@ -13,7 +13,7 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
# Retrieve the generated report of a batch when available.
|
16
|
-
class
|
16
|
+
class InlineResponse2009EmbeddedLinksReports
|
17
17
|
attr_accessor :href
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
12
12
|
require 'date'
|
13
13
|
|
14
14
|
module CyberSource
|
15
|
-
class
|
15
|
+
class InlineResponse2009EmbeddedBatches
|
16
16
|
attr_accessor :_links
|
17
17
|
|
18
18
|
# Unique identification number assigned to the submitted request.
|
@@ -76,7 +76,7 @@ module CyberSource
|
|
76
76
|
# Attribute type mapping.
|
77
77
|
def self.swagger_types
|
78
78
|
{
|
79
|
-
:'_links' => :'
|
79
|
+
:'_links' => :'InlineResponse2009EmbeddedLinks',
|
80
80
|
:'batch_id' => :'String',
|
81
81
|
:'batch_created_date' => :'String',
|
82
82
|
:'batch_modified_date' => :'String',
|
@@ -85,7 +85,7 @@ module CyberSource
|
|
85
85
|
:'merchant_reference' => :'String',
|
86
86
|
:'batch_ca_endpoints' => :'Array<String>',
|
87
87
|
:'status' => :'String',
|
88
|
-
:'totals' => :'
|
88
|
+
:'totals' => :'InlineResponse2009EmbeddedTotals'
|
89
89
|
}
|
90
90
|
end
|
91
91
|
|
@@ -13,31 +13,32 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
class InlineResponse2009Links
|
16
|
-
|
16
|
+
# Valid Values: * self * first * last * prev * next
|
17
|
+
attr_accessor :rel
|
17
18
|
|
18
|
-
attr_accessor :
|
19
|
+
attr_accessor :href
|
19
20
|
|
20
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
22
|
def self.attribute_map
|
22
23
|
{
|
23
|
-
:'
|
24
|
-
:'
|
24
|
+
:'rel' => :'rel',
|
25
|
+
:'href' => :'href'
|
25
26
|
}
|
26
27
|
end
|
27
28
|
|
28
29
|
# Attribute mapping from JSON key to ruby-style variable name.
|
29
30
|
def self.json_map
|
30
31
|
{
|
31
|
-
:'
|
32
|
-
:'
|
32
|
+
:'rel' => :'rel',
|
33
|
+
:'href' => :'href'
|
33
34
|
}
|
34
35
|
end
|
35
36
|
|
36
37
|
# Attribute type mapping.
|
37
38
|
def self.swagger_types
|
38
39
|
{
|
39
|
-
:'
|
40
|
-
:'
|
40
|
+
:'rel' => :'String',
|
41
|
+
:'href' => :'String'
|
41
42
|
}
|
42
43
|
end
|
43
44
|
|
@@ -49,14 +50,12 @@ module CyberSource
|
|
49
50
|
# convert string to symbol for hash key
|
50
51
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
51
52
|
|
52
|
-
if attributes.has_key?(:'
|
53
|
-
self.
|
53
|
+
if attributes.has_key?(:'rel')
|
54
|
+
self.rel = attributes[:'rel']
|
54
55
|
end
|
55
56
|
|
56
|
-
if attributes.has_key?(:'
|
57
|
-
|
58
|
-
self.report = value
|
59
|
-
end
|
57
|
+
if attributes.has_key?(:'href')
|
58
|
+
self.href = attributes[:'href']
|
60
59
|
end
|
61
60
|
end
|
62
61
|
|
@@ -78,8 +77,8 @@ module CyberSource
|
|
78
77
|
def ==(o)
|
79
78
|
return true if self.equal?(o)
|
80
79
|
self.class == o.class &&
|
81
|
-
|
82
|
-
|
80
|
+
rel == o.rel &&
|
81
|
+
href == o.href
|
83
82
|
end
|
84
83
|
|
85
84
|
# @see the `==` method
|
@@ -91,7 +90,7 @@ module CyberSource
|
|
91
90
|
# Calculates hash code according to all attributes.
|
92
91
|
# @return [Fixnum] Hash code
|
93
92
|
def hash
|
94
|
-
[
|
93
|
+
[rel, href].hash
|
95
94
|
end
|
96
95
|
|
97
96
|
# Builds the object from hash
|