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
@@ -12,46 +12,52 @@ Swagger Codegen version: 2.4.38
|
|
12
12
|
require 'date'
|
13
13
|
|
14
14
|
module CyberSource
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
attr_accessor :o_auth_token_expiry
|
15
|
+
class InvoicingV2InvoicesPost201ResponseInvoiceInformationCustomLabels
|
16
|
+
# The invoice field key. Possible values: - billTo - invoiceNumber - customerId - companyName - description - shipping - partialPayment - discount - tax
|
17
|
+
attr_accessor :key
|
19
18
|
|
20
|
-
#
|
21
|
-
attr_accessor :
|
19
|
+
# The new (overridden) field name
|
20
|
+
attr_accessor :value
|
22
21
|
|
23
|
-
#
|
24
|
-
attr_accessor :
|
22
|
+
# Hides the specified field. This field is applicable for keys: - customerId - companyName - description - shipping - partialPayment
|
23
|
+
attr_accessor :hidden
|
25
24
|
|
26
|
-
|
25
|
+
# Hides the field at invoice level. This field is applicable for keys: - discount - tax
|
26
|
+
attr_accessor :hidden_for_invoice
|
27
|
+
|
28
|
+
# Hides the field at invoice item level. This field is applicable for keys: - discount - tax
|
29
|
+
attr_accessor :hidden_for_item
|
27
30
|
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
31
|
-
:'
|
32
|
-
:'
|
33
|
-
:'
|
34
|
-
:'
|
34
|
+
:'key' => :'key',
|
35
|
+
:'value' => :'value',
|
36
|
+
:'hidden' => :'hidden',
|
37
|
+
:'hidden_for_invoice' => :'hiddenForInvoice',
|
38
|
+
:'hidden_for_item' => :'hiddenForItem'
|
35
39
|
}
|
36
40
|
end
|
37
41
|
|
38
42
|
# Attribute mapping from JSON key to ruby-style variable name.
|
39
43
|
def self.json_map
|
40
44
|
{
|
41
|
-
:'
|
42
|
-
:'
|
43
|
-
:'
|
44
|
-
:'
|
45
|
+
:'key' => :'key',
|
46
|
+
:'value' => :'value',
|
47
|
+
:'hidden' => :'hidden',
|
48
|
+
:'hidden_for_invoice' => :'hidden_for_invoice',
|
49
|
+
:'hidden_for_item' => :'hidden_for_item'
|
45
50
|
}
|
46
51
|
end
|
47
52
|
|
48
53
|
# Attribute type mapping.
|
49
54
|
def self.swagger_types
|
50
55
|
{
|
51
|
-
:'
|
52
|
-
:'
|
53
|
-
:'
|
54
|
-
:'
|
56
|
+
:'key' => :'String',
|
57
|
+
:'value' => :'String',
|
58
|
+
:'hidden' => :'BOOLEAN',
|
59
|
+
:'hidden_for_invoice' => :'BOOLEAN',
|
60
|
+
:'hidden_for_item' => :'BOOLEAN'
|
55
61
|
}
|
56
62
|
end
|
57
63
|
|
@@ -63,20 +69,30 @@ module CyberSource
|
|
63
69
|
# convert string to symbol for hash key
|
64
70
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
65
71
|
|
66
|
-
if attributes.has_key?(:'
|
67
|
-
self.
|
72
|
+
if attributes.has_key?(:'key')
|
73
|
+
self.key = attributes[:'key']
|
74
|
+
end
|
75
|
+
|
76
|
+
if attributes.has_key?(:'value')
|
77
|
+
self.value = attributes[:'value']
|
68
78
|
end
|
69
79
|
|
70
|
-
if attributes.has_key?(:'
|
71
|
-
self.
|
80
|
+
if attributes.has_key?(:'hidden')
|
81
|
+
self.hidden = attributes[:'hidden']
|
82
|
+
else
|
83
|
+
self.hidden = false
|
72
84
|
end
|
73
85
|
|
74
|
-
if attributes.has_key?(:'
|
75
|
-
self.
|
86
|
+
if attributes.has_key?(:'hiddenForInvoice')
|
87
|
+
self.hidden_for_invoice = attributes[:'hiddenForInvoice']
|
88
|
+
else
|
89
|
+
self.hidden_for_invoice = false
|
76
90
|
end
|
77
91
|
|
78
|
-
if attributes.has_key?(:'
|
79
|
-
self.
|
92
|
+
if attributes.has_key?(:'hiddenForItem')
|
93
|
+
self.hidden_for_item = attributes[:'hiddenForItem']
|
94
|
+
else
|
95
|
+
self.hidden_for_item = false
|
80
96
|
end
|
81
97
|
end
|
82
98
|
|
@@ -93,15 +109,22 @@ module CyberSource
|
|
93
109
|
true
|
94
110
|
end
|
95
111
|
|
112
|
+
# Custom attribute writer method with validation
|
113
|
+
# @param [Object] value Value to be assigned
|
114
|
+
def value=(value)
|
115
|
+
@value = value
|
116
|
+
end
|
117
|
+
|
96
118
|
# Checks equality by comparing each attribute.
|
97
119
|
# @param [Object] Object to be compared
|
98
120
|
def ==(o)
|
99
121
|
return true if self.equal?(o)
|
100
122
|
self.class == o.class &&
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
123
|
+
key == o.key &&
|
124
|
+
value == o.value &&
|
125
|
+
hidden == o.hidden &&
|
126
|
+
hidden_for_invoice == o.hidden_for_invoice &&
|
127
|
+
hidden_for_item == o.hidden_for_item
|
105
128
|
end
|
106
129
|
|
107
130
|
# @see the `==` method
|
@@ -113,7 +136,7 @@ module CyberSource
|
|
113
136
|
# Calculates hash code according to all attributes.
|
114
137
|
# @return [Fixnum] Hash code
|
115
138
|
def hash
|
116
|
-
[
|
139
|
+
[key, value, hidden, hidden_for_invoice, hidden_for_item].hash
|
117
140
|
end
|
118
141
|
|
119
142
|
# Builds the object from hash
|
@@ -0,0 +1,268 @@
|
|
1
|
+
=begin
|
2
|
+
#CyberSource Merged Spec
|
3
|
+
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.38
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
module CyberSource
|
15
|
+
class InvoicingV2InvoicesPublish200Response
|
16
|
+
attr_accessor :_links
|
17
|
+
|
18
|
+
# An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.
|
19
|
+
attr_accessor :id
|
20
|
+
|
21
|
+
# Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
|
22
|
+
attr_accessor :submit_time_utc
|
23
|
+
|
24
|
+
# The status of the invoice. Possible values: - DRAFT - CREATED - SENT - PARTIAL - PAID - CANCELED - PENDING
|
25
|
+
attr_accessor :status
|
26
|
+
|
27
|
+
attr_accessor :customer_information
|
28
|
+
|
29
|
+
attr_accessor :processing_information
|
30
|
+
|
31
|
+
attr_accessor :invoice_information
|
32
|
+
|
33
|
+
attr_accessor :order_information
|
34
|
+
|
35
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
36
|
+
def self.attribute_map
|
37
|
+
{
|
38
|
+
:'_links' => :'_links',
|
39
|
+
:'id' => :'id',
|
40
|
+
:'submit_time_utc' => :'submitTimeUtc',
|
41
|
+
:'status' => :'status',
|
42
|
+
:'customer_information' => :'customerInformation',
|
43
|
+
:'processing_information' => :'processingInformation',
|
44
|
+
:'invoice_information' => :'invoiceInformation',
|
45
|
+
:'order_information' => :'orderInformation'
|
46
|
+
}
|
47
|
+
end
|
48
|
+
|
49
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
50
|
+
def self.json_map
|
51
|
+
{
|
52
|
+
:'_links' => :'_links',
|
53
|
+
:'id' => :'id',
|
54
|
+
:'submit_time_utc' => :'submit_time_utc',
|
55
|
+
:'status' => :'status',
|
56
|
+
:'customer_information' => :'customer_information',
|
57
|
+
:'processing_information' => :'processing_information',
|
58
|
+
:'invoice_information' => :'invoice_information',
|
59
|
+
:'order_information' => :'order_information'
|
60
|
+
}
|
61
|
+
end
|
62
|
+
|
63
|
+
# Attribute type mapping.
|
64
|
+
def self.swagger_types
|
65
|
+
{
|
66
|
+
:'_links' => :'InvoicingV2InvoicesAllGet200ResponseLinks',
|
67
|
+
:'id' => :'String',
|
68
|
+
:'submit_time_utc' => :'String',
|
69
|
+
:'status' => :'String',
|
70
|
+
:'customer_information' => :'Invoicingv2invoicesCustomerInformation',
|
71
|
+
:'processing_information' => :'Invoicingv2invoicesProcessingInformation',
|
72
|
+
:'invoice_information' => :'InvoicingV2InvoicesPost201ResponseInvoiceInformation',
|
73
|
+
:'order_information' => :'InvoicingV2InvoicesPost201ResponseOrderInformation'
|
74
|
+
}
|
75
|
+
end
|
76
|
+
|
77
|
+
# Initializes the object
|
78
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
79
|
+
def initialize(attributes = {})
|
80
|
+
return unless attributes.is_a?(Hash)
|
81
|
+
|
82
|
+
# convert string to symbol for hash key
|
83
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
84
|
+
|
85
|
+
if attributes.has_key?(:'_links')
|
86
|
+
self._links = attributes[:'_links']
|
87
|
+
end
|
88
|
+
|
89
|
+
if attributes.has_key?(:'id')
|
90
|
+
self.id = attributes[:'id']
|
91
|
+
end
|
92
|
+
|
93
|
+
if attributes.has_key?(:'submitTimeUtc')
|
94
|
+
self.submit_time_utc = attributes[:'submitTimeUtc']
|
95
|
+
end
|
96
|
+
|
97
|
+
if attributes.has_key?(:'status')
|
98
|
+
self.status = attributes[:'status']
|
99
|
+
end
|
100
|
+
|
101
|
+
if attributes.has_key?(:'customerInformation')
|
102
|
+
self.customer_information = attributes[:'customerInformation']
|
103
|
+
end
|
104
|
+
|
105
|
+
if attributes.has_key?(:'processingInformation')
|
106
|
+
self.processing_information = attributes[:'processingInformation']
|
107
|
+
end
|
108
|
+
|
109
|
+
if attributes.has_key?(:'invoiceInformation')
|
110
|
+
self.invoice_information = attributes[:'invoiceInformation']
|
111
|
+
end
|
112
|
+
|
113
|
+
if attributes.has_key?(:'orderInformation')
|
114
|
+
self.order_information = attributes[:'orderInformation']
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
119
|
+
# @return Array for valid properties with the reasons
|
120
|
+
def list_invalid_properties
|
121
|
+
invalid_properties = Array.new
|
122
|
+
invalid_properties
|
123
|
+
end
|
124
|
+
|
125
|
+
# Check to see if the all the properties in the model are valid
|
126
|
+
# @return true if the model is valid
|
127
|
+
def valid?
|
128
|
+
true
|
129
|
+
end
|
130
|
+
|
131
|
+
# Custom attribute writer method with validation
|
132
|
+
# @param [Object] id Value to be assigned
|
133
|
+
def id=(id)
|
134
|
+
@id = id
|
135
|
+
end
|
136
|
+
|
137
|
+
# Checks equality by comparing each attribute.
|
138
|
+
# @param [Object] Object to be compared
|
139
|
+
def ==(o)
|
140
|
+
return true if self.equal?(o)
|
141
|
+
self.class == o.class &&
|
142
|
+
_links == o._links &&
|
143
|
+
id == o.id &&
|
144
|
+
submit_time_utc == o.submit_time_utc &&
|
145
|
+
status == o.status &&
|
146
|
+
customer_information == o.customer_information &&
|
147
|
+
processing_information == o.processing_information &&
|
148
|
+
invoice_information == o.invoice_information &&
|
149
|
+
order_information == o.order_information
|
150
|
+
end
|
151
|
+
|
152
|
+
# @see the `==` method
|
153
|
+
# @param [Object] Object to be compared
|
154
|
+
def eql?(o)
|
155
|
+
self == o
|
156
|
+
end
|
157
|
+
|
158
|
+
# Calculates hash code according to all attributes.
|
159
|
+
# @return [Fixnum] Hash code
|
160
|
+
def hash
|
161
|
+
[_links, id, submit_time_utc, status, customer_information, processing_information, invoice_information, order_information].hash
|
162
|
+
end
|
163
|
+
|
164
|
+
# Builds the object from hash
|
165
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
166
|
+
# @return [Object] Returns the model itself
|
167
|
+
def build_from_hash(attributes)
|
168
|
+
return nil unless attributes.is_a?(Hash)
|
169
|
+
self.class.swagger_types.each_pair do |key, type|
|
170
|
+
if type =~ /\AArray<(.*)>/i
|
171
|
+
# check to ensure the input is an array given that the the attribute
|
172
|
+
# is documented as an array but the input is not
|
173
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
174
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
175
|
+
end
|
176
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
177
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
178
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
179
|
+
end
|
180
|
+
|
181
|
+
self
|
182
|
+
end
|
183
|
+
|
184
|
+
# Deserializes the data based on type
|
185
|
+
# @param string type Data type
|
186
|
+
# @param string value Value to be deserialized
|
187
|
+
# @return [Object] Deserialized data
|
188
|
+
def _deserialize(type, value)
|
189
|
+
case type.to_sym
|
190
|
+
when :DateTime
|
191
|
+
DateTime.parse(value)
|
192
|
+
when :Date
|
193
|
+
Date.parse(value)
|
194
|
+
when :String
|
195
|
+
value.to_s
|
196
|
+
when :Integer
|
197
|
+
value.to_i
|
198
|
+
when :Float
|
199
|
+
value.to_f
|
200
|
+
when :BOOLEAN
|
201
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
202
|
+
true
|
203
|
+
else
|
204
|
+
false
|
205
|
+
end
|
206
|
+
when :Object
|
207
|
+
# generic object (usually a Hash), return directly
|
208
|
+
value
|
209
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
210
|
+
inner_type = Regexp.last_match[:inner_type]
|
211
|
+
value.map { |v| _deserialize(inner_type, v) }
|
212
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
213
|
+
k_type = Regexp.last_match[:k_type]
|
214
|
+
v_type = Regexp.last_match[:v_type]
|
215
|
+
{}.tap do |hash|
|
216
|
+
value.each do |k, v|
|
217
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
218
|
+
end
|
219
|
+
end
|
220
|
+
else # model
|
221
|
+
temp_model = CyberSource.const_get(type).new
|
222
|
+
temp_model.build_from_hash(value)
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
# Returns the string representation of the object
|
227
|
+
# @return [String] String presentation of the object
|
228
|
+
def to_s
|
229
|
+
to_hash.to_s
|
230
|
+
end
|
231
|
+
|
232
|
+
# to_body is an alias to to_hash (backward compatibility)
|
233
|
+
# @return [Hash] Returns the object in the form of hash
|
234
|
+
def to_body
|
235
|
+
to_hash
|
236
|
+
end
|
237
|
+
|
238
|
+
# Returns the object in the form of hash
|
239
|
+
# @return [Hash] Returns the object in the form of hash
|
240
|
+
def to_hash
|
241
|
+
hash = {}
|
242
|
+
self.class.attribute_map.each_pair do |attr, param|
|
243
|
+
value = self.send(attr)
|
244
|
+
next if value.nil?
|
245
|
+
hash[param] = _to_hash(value)
|
246
|
+
end
|
247
|
+
hash
|
248
|
+
end
|
249
|
+
|
250
|
+
# Outputs non-array value in the form of hash
|
251
|
+
# For object, use to_hash. Otherwise, just return the value
|
252
|
+
# @param [Object] value Any valid value
|
253
|
+
# @return [Hash] Returns the value in the form of hash
|
254
|
+
def _to_hash(value)
|
255
|
+
if value.is_a?(Array)
|
256
|
+
value.compact.map { |v| _to_hash(v) }
|
257
|
+
elsif value.is_a?(Hash)
|
258
|
+
{}.tap do |hash|
|
259
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
260
|
+
end
|
261
|
+
elsif value.respond_to? :to_hash
|
262
|
+
value.to_hash
|
263
|
+
else
|
264
|
+
value
|
265
|
+
end
|
266
|
+
end
|
267
|
+
end
|
268
|
+
end
|
data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb
CHANGED
@@ -54,6 +54,9 @@ module CyberSource
|
|
54
54
|
# Whether you would like to receive payment notification for successful transaction
|
55
55
|
attr_accessor :enable_merchant_email_notifications
|
56
56
|
|
57
|
+
# A list of custom labels that allows you to override (rename) default field names and control the visibility of specific fields on invoices and items. If the list is empty, the labels will not be overwritten.
|
58
|
+
attr_accessor :custom_labels
|
59
|
+
|
57
60
|
# Attribute mapping from ruby-style variable name to JSON key.
|
58
61
|
def self.attribute_map
|
59
62
|
{
|
@@ -70,7 +73,8 @@ module CyberSource
|
|
70
73
|
:'ship_to' => :'shipTo',
|
71
74
|
:'phone_number' => :'phoneNumber',
|
72
75
|
:'email' => :'email',
|
73
|
-
:'enable_merchant_email_notifications' => :'enableMerchantEmailNotifications'
|
76
|
+
:'enable_merchant_email_notifications' => :'enableMerchantEmailNotifications',
|
77
|
+
:'custom_labels' => :'customLabels'
|
74
78
|
}
|
75
79
|
end
|
76
80
|
|
@@ -90,7 +94,8 @@ module CyberSource
|
|
90
94
|
:'ship_to' => :'ship_to',
|
91
95
|
:'phone_number' => :'phone_number',
|
92
96
|
:'email' => :'email',
|
93
|
-
:'enable_merchant_email_notifications' => :'enable_merchant_email_notifications'
|
97
|
+
:'enable_merchant_email_notifications' => :'enable_merchant_email_notifications',
|
98
|
+
:'custom_labels' => :'custom_labels'
|
94
99
|
}
|
95
100
|
end
|
96
101
|
|
@@ -110,7 +115,8 @@ module CyberSource
|
|
110
115
|
:'ship_to' => :'BOOLEAN',
|
111
116
|
:'phone_number' => :'BOOLEAN',
|
112
117
|
:'email' => :'BOOLEAN',
|
113
|
-
:'enable_merchant_email_notifications' => :'BOOLEAN'
|
118
|
+
:'enable_merchant_email_notifications' => :'BOOLEAN',
|
119
|
+
:'custom_labels' => :'Array<InvoicingV2InvoicesPost201ResponseInvoiceInformationCustomLabels>'
|
114
120
|
}
|
115
121
|
end
|
116
122
|
|
@@ -187,6 +193,12 @@ module CyberSource
|
|
187
193
|
else
|
188
194
|
self.enable_merchant_email_notifications = false
|
189
195
|
end
|
196
|
+
|
197
|
+
if attributes.has_key?(:'customLabels')
|
198
|
+
if (value = attributes[:'customLabels']).is_a?(Array)
|
199
|
+
self.custom_labels = value
|
200
|
+
end
|
201
|
+
end
|
190
202
|
end
|
191
203
|
|
192
204
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -262,7 +274,8 @@ module CyberSource
|
|
262
274
|
ship_to == o.ship_to &&
|
263
275
|
phone_number == o.phone_number &&
|
264
276
|
email == o.email &&
|
265
|
-
enable_merchant_email_notifications == o.enable_merchant_email_notifications
|
277
|
+
enable_merchant_email_notifications == o.enable_merchant_email_notifications &&
|
278
|
+
custom_labels == o.custom_labels
|
266
279
|
end
|
267
280
|
|
268
281
|
# @see the `==` method
|
@@ -274,7 +287,7 @@ module CyberSource
|
|
274
287
|
# Calculates hash code according to all attributes.
|
275
288
|
# @return [Fixnum] Hash code
|
276
289
|
def hash
|
277
|
-
[merchant_logo, merchant_display_name, custom_email_message, enable_reminders, header_style, delivery_language, default_currency_code, payer_authentication_in_invoicing, show_vat_number, vat_registration_number, ship_to, phone_number, email, enable_merchant_email_notifications].hash
|
290
|
+
[merchant_logo, merchant_display_name, custom_email_message, enable_reminders, header_style, delivery_language, default_currency_code, payer_authentication_in_invoicing, show_vat_number, vat_registration_number, ship_to, phone_number, email, enable_merchant_email_notifications, custom_labels].hash
|
278
291
|
end
|
279
292
|
|
280
293
|
# Builds the object from hash
|
data/lib/cybersource_rest_client/models/notificationsubscriptionsv2webhooks_security_policy.rb
CHANGED
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
module CyberSource
|
15
15
|
# The security option to authenticate with your API or client server.
|
16
16
|
class Notificationsubscriptionsv2webhooksSecurityPolicy
|
17
|
-
# Security Policy of the client server.
|
17
|
+
# Security Policy of the client server. Possible values: - key - oAuth - oAuth_JWT
|
18
18
|
attr_accessor :security_type
|
19
19
|
|
20
20
|
attr_accessor :config
|
@@ -14,39 +14,38 @@ require 'date'
|
|
14
14
|
module CyberSource
|
15
15
|
# Optional configuration object for if your API or server requires oAuth for an incoming webhook.
|
16
16
|
class Notificationsubscriptionsv2webhooksSecurityPolicyConfig
|
17
|
-
# Token expiration for the oAuth server.
|
18
|
-
attr_accessor :o_auth_token_expiry
|
19
|
-
|
20
17
|
# Client direct endpoint to the oAuth server.
|
21
18
|
attr_accessor :o_auth_url
|
22
19
|
|
23
|
-
# Token type for the oAuth config.
|
20
|
+
# Token type for the oAuth config. Possible values: - Bearer
|
24
21
|
attr_accessor :o_auth_token_type
|
25
22
|
|
23
|
+
attr_accessor :additional_config
|
24
|
+
|
26
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
26
|
def self.attribute_map
|
28
27
|
{
|
29
|
-
:'o_auth_token_expiry' => :'oAuthTokenExpiry',
|
30
28
|
:'o_auth_url' => :'oAuthURL',
|
31
|
-
:'o_auth_token_type' => :'oAuthTokenType'
|
29
|
+
:'o_auth_token_type' => :'oAuthTokenType',
|
30
|
+
:'additional_config' => :'additionalConfig'
|
32
31
|
}
|
33
32
|
end
|
34
33
|
|
35
34
|
# Attribute mapping from JSON key to ruby-style variable name.
|
36
35
|
def self.json_map
|
37
36
|
{
|
38
|
-
:'o_auth_token_expiry' => :'o_auth_token_expiry',
|
39
37
|
:'o_auth_url' => :'o_auth_url',
|
40
|
-
:'o_auth_token_type' => :'o_auth_token_type'
|
38
|
+
:'o_auth_token_type' => :'o_auth_token_type',
|
39
|
+
:'additional_config' => :'additional_config'
|
41
40
|
}
|
42
41
|
end
|
43
42
|
|
44
43
|
# Attribute type mapping.
|
45
44
|
def self.swagger_types
|
46
45
|
{
|
47
|
-
:'o_auth_token_expiry' => :'String',
|
48
46
|
:'o_auth_url' => :'String',
|
49
|
-
:'o_auth_token_type' => :'String'
|
47
|
+
:'o_auth_token_type' => :'String',
|
48
|
+
:'additional_config' => :'Notificationsubscriptionsv2webhooksSecurityPolicyConfigAdditionalConfig'
|
50
49
|
}
|
51
50
|
end
|
52
51
|
|
@@ -58,10 +57,6 @@ module CyberSource
|
|
58
57
|
# convert string to symbol for hash key
|
59
58
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
60
59
|
|
61
|
-
if attributes.has_key?(:'oAuthTokenExpiry')
|
62
|
-
self.o_auth_token_expiry = attributes[:'oAuthTokenExpiry']
|
63
|
-
end
|
64
|
-
|
65
60
|
if attributes.has_key?(:'oAuthURL')
|
66
61
|
self.o_auth_url = attributes[:'oAuthURL']
|
67
62
|
end
|
@@ -69,6 +64,10 @@ module CyberSource
|
|
69
64
|
if attributes.has_key?(:'oAuthTokenType')
|
70
65
|
self.o_auth_token_type = attributes[:'oAuthTokenType']
|
71
66
|
end
|
67
|
+
|
68
|
+
if attributes.has_key?(:'additionalConfig')
|
69
|
+
self.additional_config = attributes[:'additionalConfig']
|
70
|
+
end
|
72
71
|
end
|
73
72
|
|
74
73
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -89,9 +88,9 @@ module CyberSource
|
|
89
88
|
def ==(o)
|
90
89
|
return true if self.equal?(o)
|
91
90
|
self.class == o.class &&
|
92
|
-
o_auth_token_expiry == o.o_auth_token_expiry &&
|
93
91
|
o_auth_url == o.o_auth_url &&
|
94
|
-
o_auth_token_type == o.o_auth_token_type
|
92
|
+
o_auth_token_type == o.o_auth_token_type &&
|
93
|
+
additional_config == o.additional_config
|
95
94
|
end
|
96
95
|
|
97
96
|
# @see the `==` method
|
@@ -103,7 +102,7 @@ module CyberSource
|
|
103
102
|
# Calculates hash code according to all attributes.
|
104
103
|
# @return [Fixnum] Hash code
|
105
104
|
def hash
|
106
|
-
[
|
105
|
+
[o_auth_url, o_auth_token_type, additional_config].hash
|
107
106
|
end
|
108
107
|
|
109
108
|
# Builds the object from hash
|
@@ -13,7 +13,7 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
# Additional, free form configuration data.
|
16
|
-
class
|
16
|
+
class Notificationsubscriptionsv2webhooksSecurityPolicyConfigAdditionalConfig
|
17
17
|
attr_accessor :aud
|
18
18
|
|
19
19
|
attr_accessor :client_id
|