cybersource_rest_client 0.0.85 → 0.0.87
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/util/Cache.rb +9 -6
- data/lib/AuthenticationSDK/util/CertificateUtility.rb +14 -6
- data/lib/AuthenticationSDK/util/Utility.rb +16 -5
- data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +1868 -122
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +1 -1
- data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +146 -0
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +9 -9
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +94 -4
- data/lib/cybersource_rest_client/api/merchant_capabilities_api.rb +1065 -0
- data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +361 -0
- data/lib/cybersource_rest_client/api/network_tokens_api.rb +4 -4
- data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
- data/lib/cybersource_rest_client/api/orders_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +1 -1
- data/lib/cybersource_rest_client/api/plans_api.rb +1 -1
- data/lib/cybersource_rest_client/api/pull_funds_api.rb +3 -3
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +2 -2
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +1 -1
- data/lib/cybersource_rest_client/api/transaction_query_api.rb +158 -0
- data/lib/cybersource_rest_client/api/visa_protect_risk_insights_api.rb +104 -0
- data/lib/cybersource_rest_client/models/acp_checkout_session_response_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_complete_checkout_request.rb +205 -0
- data/lib/cybersource_rest_client/models/acp_complete_checkout_response_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_complete_checkout_session_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_create_checkout_session_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_create_checkout_session_request.rb +217 -0
- data/lib/cybersource_rest_client/models/acp_update_checkout_session_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_update_checkout_session_request.rb +224 -0
- data/lib/cybersource_rest_client/models/activate_merchant_key_response200.rb +356 -0
- data/lib/cybersource_rest_client/models/add_agent_key_response201.rb +356 -0
- data/lib/cybersource_rest_client/models/agent_registration_conflict_response409.rb +196 -0
- data/lib/cybersource_rest_client/models/agent_registration_response201.rb +356 -0
- data/lib/cybersource_rest_client/models/agent_registration_response201_keys.rb +308 -0
- data/lib/cybersource_rest_client/models/agent_registration_validation_error_response422.rb +214 -0
- data/lib/cybersource_rest_client/models/agent_registration_validation_error_response422_errors.rb +212 -0
- data/lib/cybersource_rest_client/models/agent_request.rb +286 -0
- data/lib/cybersource_rest_client/models/agent_update.rb +237 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +1 -1
- data/lib/cybersource_rest_client/models/body_1.rb +189 -0
- data/lib/cybersource_rest_client/models/body_2.rb +224 -0
- data/lib/cybersource_rest_client/models/consumer_authentication_response.rb +196 -0
- data/lib/cybersource_rest_client/models/create_payment_link_request.rb +17 -5
- data/lib/cybersource_rest_client/models/deactivate_merchant_key_response200.rb +196 -0
- data/lib/cybersource_rest_client/models/iccv1agents_keys.rb +239 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessions_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessions_items.rb +222 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_id_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_idcomplete_payment_data.rb +222 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_idcomplete_payment_data_billing_address.rb +344 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts.rb +206 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts_allocations.rb +202 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts_applied.rb +237 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment.rb +193 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_destinations.rb +246 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_groups.rb +228 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_methods.rb +252 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_options.rb +215 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_totals.rb +202 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_item.rb +207 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_line_items.rb +211 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment.rb +217 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_billing_address.rb +235 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_credential.rb +202 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_handlers.rb +259 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_instruments.rb +288 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_discounts.rb +206 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_fulfillment.rb +193 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_payment.rb +217 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_api_integrations.rb +225 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_encryption_key.rb +245 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_protocol_interactions.rb +236 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_web_integrations.rb +225 -0
- data/lib/cybersource_rest_client/models/iccv1productsfeed_products.rb +1368 -0
- data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_17.rb +317 -0
- data/lib/cybersource_rest_client/models/inline_response_200_17_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/inline_response_200_17_order.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_200_18.rb +308 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19.rb +302 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19_errors.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19_google_merchant.rb +237 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19_google_merchant_products.rb +259 -0
- data/lib/cybersource_rest_client/models/inline_response_200_20.rb +259 -0
- data/lib/cybersource_rest_client/models/inline_response_200_20_products.rb +1081 -0
- data/lib/cybersource_rest_client/models/inline_response_200_21.rb +201 -0
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_5_integration_information_tenant_configurations.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_10.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_11.rb +297 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_9_client_reference_information.rb → inline_response_201_11_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9_error_information.rb → inline_response_201_11_error_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information.rb → inline_response_201_11_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information_currency_conversion.rb → inline_response_201_11_order_information_currency_conversion.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information_currency_conversion_offer.rb → inline_response_201_11_order_information_currency_conversion_offer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9_processor_information.rb → inline_response_201_11_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_12.rb +318 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_fulfillment_options.rb +290 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_item.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_line_items.rb +256 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_links.rb +212 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_messages.rb +250 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_payment_provider.rb +204 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_totals.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13.rb +312 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_discounts.rb +206 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_fulfillment.rb +193 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_item.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_line_items.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_order.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_payment.rb +217 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_ucp.rb +204 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_ucp_capabilities.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +57 -35
- data/lib/cybersource_rest_client/models/inline_response_201_3_error_information.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_error_information_details.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_order_information_amount_details.rb +315 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_processing_information.rb +189 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_processing_information_routing.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_processor_information.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +61 -61
- data/lib/cybersource_rest_client/models/{inline_response_401_1__links.rb → inline_response_201_4__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/inline_response_201_4__links_self.rb +201 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_client_reference_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information_details.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_merchant_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +264 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_payment_information.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_payment_information_card.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +240 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information_payouts_options.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +548 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information_card_verification.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_transactions.rb +239 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +44 -18
- data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information.rb → inline_response_201_5_payout_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information_pull_funds.rb → inline_response_201_5_payout_information_pull_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information_push_funds.rb → inline_response_201_5_payout_information_push_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_6.rb +69 -102
- data/lib/cybersource_rest_client/models/{inline_response_201_4_integration_information.rb → inline_response_201_6_integration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_integration_information_tenant_configurations.rb → inline_response_201_6_integration_information_tenant_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_organization_information.rb → inline_response_201_6_organization_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_product_information_setups.rb → inline_response_201_6_product_information_setups.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_registration_information.rb → inline_response_201_6_registration_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups.rb → inline_response_201_6_setups.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_commerce_solutions.rb → inline_response_201_6_setups_commerce_solutions.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_risk.rb → inline_response_201_6_setups_risk.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_value_added_services.rb → inline_response_201_6_setups_value_added_services.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_7.rb +32 -87
- data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information.rb → inline_response_201_7_key_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information_error_information.rb → inline_response_201_7_key_information_error_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information_error_information_details.rb → inline_response_201_7_key_information_error_information_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_8.rb +127 -15
- data/lib/cybersource_rest_client/models/inline_response_201_9.rb +78 -98
- data/lib/cybersource_rest_client/models/{inline_response_201_7_payloads.rb → inline_response_201_9_payloads.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_payloads_test_payload.rb → inline_response_201_9_payloads_test_payload.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_202__links.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_10.rb +58 -36
- data/lib/cybersource_rest_client/models/{inline_response_400_8_fields.rb → inline_response_400_10_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_11.rb +35 -42
- data/lib/cybersource_rest_client/models/{inline_response_400_9_details.rb → inline_response_400_11_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_12.rb +27 -26
- data/lib/cybersource_rest_client/models/inline_response_400_12_details.rb +18 -7
- data/lib/cybersource_rest_client/models/inline_response_400_13.rb +38 -77
- data/lib/cybersource_rest_client/models/inline_response_400_14.rb +235 -0
- data/lib/cybersource_rest_client/models/{inline_response_400_10_details.rb → inline_response_400_14_details.rb} +8 -19
- data/lib/cybersource_rest_client/models/inline_response_400_15.rb +281 -0
- data/lib/cybersource_rest_client/models/inline_response_400_16.rb +235 -0
- data/lib/cybersource_rest_client/models/inline_response_400_3.rb +42 -13
- data/lib/cybersource_rest_client/models/inline_response_400_4.rb +47 -13
- data/lib/cybersource_rest_client/models/inline_response_400_5.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_6.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_7.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_8.rb +37 -60
- data/lib/cybersource_rest_client/models/inline_response_400_9.rb +6 -6
- data/lib/cybersource_rest_client/models/inline_response_401.rb +51 -33
- data/lib/cybersource_rest_client/models/inline_response_401_1.rb +44 -56
- data/lib/cybersource_rest_client/models/inline_response_401_2.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_401_3.rb +253 -0
- data/lib/cybersource_rest_client/models/inline_response_401_3__links.rb +189 -0
- data/lib/cybersource_rest_client/models/{inline_response_401_1__links_self.rb → inline_response_401_3__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_401_1_fields.rb → inline_response_401_3_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_404_3.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_422_1.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_502_2.rb +55 -26
- data/lib/cybersource_rest_client/models/inline_response_502_3.rb +21 -15
- data/lib/cybersource_rest_client/models/inline_response_502_4.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_502_5.rb +251 -0
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +18 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoice_information.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_cancel200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +20 -3
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_merchant_defined_field_values_with_definition.rb +11 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_publish200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_send200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +18 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +20 -3
- data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +20 -3
- data/lib/cybersource_rest_client/models/iplv2paymentlinks_order_information_line_items.rb +26 -9
- data/lib/cybersource_rest_client/models/iplv2paymentlinks_purchase_information.rb +85 -5
- data/lib/cybersource_rest_client/models/iplv2paymentlinksid_purchase_information.rb +85 -5
- data/lib/cybersource_rest_client/models/key_request.rb +239 -0
- data/lib/cybersource_rest_client/models/key_request_1.rb +245 -0
- data/lib/cybersource_rest_client/models/key_update.rb +224 -0
- data/lib/cybersource_rest_client/models/key_update_1.rb +235 -0
- data/lib/cybersource_rest_client/models/list_agent_keys_response200.rb +245 -0
- data/lib/cybersource_rest_client/models/list_agent_keys_response200_pagination.rb +276 -0
- data/lib/cybersource_rest_client/models/list_merchant_keys_response200.rb +262 -0
- data/lib/cybersource_rest_client/models/merchant_defined_field_core_1.rb +315 -0
- data/lib/cybersource_rest_client/models/merchant_defined_field_definition_request_1.rb +315 -0
- data/lib/cybersource_rest_client/models/merchant_registration_response201.rb +395 -0
- data/lib/cybersource_rest_client/models/merchant_registration_response201_keys.rb +324 -0
- data/lib/cybersource_rest_client/models/merchant_registration_validation_error_response422.rb +193 -0
- data/lib/cybersource_rest_client/models/merchant_registration_validation_error_response422_detail.rb +215 -0
- data/lib/cybersource_rest_client/models/merchant_request.rb +317 -0
- data/lib/cybersource_rest_client/models/merchant_update.rb +270 -0
- data/lib/cybersource_rest_client/models/patch_registration_body.rb +234 -0
- data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response.rb +17 -5
- data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response_purchase_information.rb +81 -1
- data/lib/cybersource_rest_client/models/{tms_tokenized_card_delete_request.rb → post_tokenized_card_delete_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/processing_info_authorization_options.rb +14 -1
- data/lib/cybersource_rest_client/models/product_feed_request.rb +230 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +37 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +11 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_card_verification.rb +214 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +0 -14
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_client_reference_information.rb +257 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_client_reference_information_partner.rb +213 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_order_information_amount_details.rb +299 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_processing_information.rb +240 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_processing_information_routing.rb +205 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutstransactionqueryid_client_reference_information.rb +247 -0
- data/lib/cybersource_rest_client/models/{boardingv1registrations_integration_information_tenant_information.rb → tenant_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +12 -1
- data/lib/cybersource_rest_client/models/ucp_checkout_session_response_buyer.rb +202 -0
- data/lib/cybersource_rest_client/models/ucp_complete_checkout_request.rb +201 -0
- data/lib/cybersource_rest_client/models/ucp_create_checkout_session_buyer.rb +202 -0
- data/lib/cybersource_rest_client/models/ucp_create_checkout_session_request.rb +249 -0
- data/lib/cybersource_rest_client/models/ucp_update_checkout_session_buyer.rb +202 -0
- data/lib/cybersource_rest_client/models/ucp_update_checkout_session_request.rb +255 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +16 -5
- data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +11 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +16 -5
- data/lib/cybersource_rest_client/models/unified_risk_post201_response.rb +211 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results.rb +190 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights.rb +291 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_client.rb +208 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_error.rb +202 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages.rb +190 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights.rb +250 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights_insights.rb +219 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_transaction_insights_insights_warnings.rb +214 -0
- data/lib/cybersource_rest_client/models/unified_risk_post400_response.rb +230 -0
- data/lib/cybersource_rest_client/models/unified_risk_post400_response_errors.rb +223 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_account.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer.rb +302 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account.rb +234 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account_security_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authentication.rb +402 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authentication_challenge.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authorization.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_browser.rb +420 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer.rb +403 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer_personal_identification.rb +297 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_device.rb +681 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_device_point_of_sale.rb +344 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_initiating_party.rb +223 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels.rb +230 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_authentication_outcome.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_payment_authorization_decision.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_return.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_transaction_decision.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_transaction_outcome.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant.rb +326 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_address.rb +328 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor.rb +389 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_annual_sales.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_average_ticket_size.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_monthly_sales.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_hierarchy.rb +224 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_limit_value.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_trading_address.rb +301 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order.rb +256 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_billing.rb +360 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_line_items.rb +262 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping.rb +464 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store.rb +251 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store_address.rb +191 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store_store_address.rb +235 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_partner.rb +214 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment.rb +423 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_approvals.rb +193 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account.rb +451 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_balance_before.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_branch_address.rb +328 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_credit_limit.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_financial_institution.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_batch.rb +323 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card.rb +461 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_par_details.rb +196 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_token_details.rb +380 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_check.rb +289 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_check_deposit_location.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty.rb +287 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_branch_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_sdk.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_token.rb +213 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification.rb +230 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_additional.rb +256 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication.rb +232 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_pin.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_three_ds.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security.rb +199 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_avs.rb +218 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_cvv.rb +196 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_digital.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_wallet.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_wire.rb +364 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment.rb +308 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history.rb +276 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_account_history.rb +207 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_customer_account.rb +273 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_customer_account_alertnate_authentication.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_vital4.rb +191 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_session.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal.rb +238 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal_address.rb +301 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal_capabilities.rb +234 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk.rb +708 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk_raw_data.rb +189 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction.rb +489 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_additional_fees.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_amount.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details.rb +220 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_credits_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_debits_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_credits.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_debits.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details_deposited_cash_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_recurring_details.rb +341 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_travel.rb +279 -0
- data/lib/cybersource_rest_client/models/update_payment_link_request.rb +17 -5
- data/lib/cybersource_rest_client/models/vpri_request.rb +505 -0
- data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data.rb +190 -0
- data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data_card_bin_data.rb +357 -0
- data/lib/cybersource_rest_client.rb +2264 -2011
- metadata +286 -33
|
@@ -32,6 +32,8 @@ module CyberSource
|
|
|
32
32
|
|
|
33
33
|
attr_accessor :order_information
|
|
34
34
|
|
|
35
|
+
attr_accessor :merchant_defined_field_values_with_definition
|
|
36
|
+
|
|
35
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
36
38
|
def self.attribute_map
|
|
37
39
|
{
|
|
@@ -42,7 +44,8 @@ module CyberSource
|
|
|
42
44
|
:'customer_information' => :'customerInformation',
|
|
43
45
|
:'processing_information' => :'processingInformation',
|
|
44
46
|
:'invoice_information' => :'invoiceInformation',
|
|
45
|
-
:'order_information' => :'orderInformation'
|
|
47
|
+
:'order_information' => :'orderInformation',
|
|
48
|
+
:'merchant_defined_field_values_with_definition' => :'merchantDefinedFieldValuesWithDefinition'
|
|
46
49
|
}
|
|
47
50
|
end
|
|
48
51
|
|
|
@@ -56,7 +59,8 @@ module CyberSource
|
|
|
56
59
|
:'customer_information' => :'customer_information',
|
|
57
60
|
:'processing_information' => :'processing_information',
|
|
58
61
|
:'invoice_information' => :'invoice_information',
|
|
59
|
-
:'order_information' => :'order_information'
|
|
62
|
+
:'order_information' => :'order_information',
|
|
63
|
+
:'merchant_defined_field_values_with_definition' => :'merchant_defined_field_values_with_definition'
|
|
60
64
|
}
|
|
61
65
|
end
|
|
62
66
|
|
|
@@ -70,7 +74,8 @@ module CyberSource
|
|
|
70
74
|
:'customer_information' => :'Invoicingv2invoicesCustomerInformation',
|
|
71
75
|
:'processing_information' => :'Invoicingv2invoicesProcessingInformation',
|
|
72
76
|
:'invoice_information' => :'InvoicingV2InvoicesPost201ResponseInvoiceInformation',
|
|
73
|
-
:'order_information' => :'InvoicingV2InvoicesPost201ResponseOrderInformation'
|
|
77
|
+
:'order_information' => :'InvoicingV2InvoicesPost201ResponseOrderInformation',
|
|
78
|
+
:'merchant_defined_field_values_with_definition' => :'Array<InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition>'
|
|
74
79
|
}
|
|
75
80
|
end
|
|
76
81
|
|
|
@@ -113,6 +118,12 @@ module CyberSource
|
|
|
113
118
|
if attributes.has_key?(:'orderInformation')
|
|
114
119
|
self.order_information = attributes[:'orderInformation']
|
|
115
120
|
end
|
|
121
|
+
|
|
122
|
+
if attributes.has_key?(:'merchantDefinedFieldValuesWithDefinition')
|
|
123
|
+
if (value = attributes[:'merchantDefinedFieldValuesWithDefinition']).is_a?(Array)
|
|
124
|
+
self.merchant_defined_field_values_with_definition = value
|
|
125
|
+
end
|
|
126
|
+
end
|
|
116
127
|
end
|
|
117
128
|
|
|
118
129
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -146,7 +157,8 @@ module CyberSource
|
|
|
146
157
|
customer_information == o.customer_information &&
|
|
147
158
|
processing_information == o.processing_information &&
|
|
148
159
|
invoice_information == o.invoice_information &&
|
|
149
|
-
order_information == o.order_information
|
|
160
|
+
order_information == o.order_information &&
|
|
161
|
+
merchant_defined_field_values_with_definition == o.merchant_defined_field_values_with_definition
|
|
150
162
|
end
|
|
151
163
|
|
|
152
164
|
# @see the `==` method
|
|
@@ -158,7 +170,7 @@ module CyberSource
|
|
|
158
170
|
# Calculates hash code according to all attributes.
|
|
159
171
|
# @return [Fixnum] Hash code
|
|
160
172
|
def hash
|
|
161
|
-
[_links, id, submit_time_utc, status, customer_information, processing_information, invoice_information, order_information].hash
|
|
173
|
+
[_links, id, submit_time_utc, status, customer_information, processing_information, invoice_information, order_information, merchant_defined_field_values_with_definition].hash
|
|
162
174
|
end
|
|
163
175
|
|
|
164
176
|
# Builds the object from hash
|
|
@@ -17,13 +17,16 @@ module CyberSource
|
|
|
17
17
|
# Invoice Number.
|
|
18
18
|
attr_accessor :invoice_number
|
|
19
19
|
|
|
20
|
+
# The transaction reference number (TRN) is a identifier assigned to each payment transaction that allows merchants, customers, and payment processors to track and reference specific transactions throughout their lifecycle. When provided, this value is passed to the payment processor as the reconciliation ID for the payment. For invoices this is typically the invoice number, and for purchase or donation links it is typically the link identifier. Only letters and numbers are allowed; spaces and other special characters are not permitted.
|
|
21
|
+
attr_accessor :transaction_reference_number
|
|
22
|
+
|
|
20
23
|
# The description included in the invoice.
|
|
21
24
|
attr_accessor :description
|
|
22
25
|
|
|
23
|
-
# The invoice due date. This field is required for creating an invoice. Format: `YYYY-MM-DD`, where `YYYY` = year, `MM` = month, and `DD` = day
|
|
26
|
+
# The invoice due date. This field is required for creating an invoice. Format: `YYYY-MM-DD`, where `YYYY` = year, `MM` = month, and `DD` = day. The invoice link automatically expires 12 months after the due date.
|
|
24
27
|
attr_accessor :due_date
|
|
25
28
|
|
|
26
|
-
# Define an expiration date for the link. Format: `YYYY-MM-DD`, where `YYYY` = year, `MM` = month, and `DD` = day
|
|
29
|
+
# Define an expiration date for the link. The date must be today or in the future. Format: `YYYY-MM-DD`, where `YYYY` = year, `MM` = month, and `DD` = day. The invoice link automatically expires 12 months after the due date.
|
|
27
30
|
attr_accessor :expiration_date
|
|
28
31
|
|
|
29
32
|
# If set to `true`, the payer can make a partial invoice payment.
|
|
@@ -42,6 +45,7 @@ module CyberSource
|
|
|
42
45
|
def self.attribute_map
|
|
43
46
|
{
|
|
44
47
|
:'invoice_number' => :'invoiceNumber',
|
|
48
|
+
:'transaction_reference_number' => :'transactionReferenceNumber',
|
|
45
49
|
:'description' => :'description',
|
|
46
50
|
:'due_date' => :'dueDate',
|
|
47
51
|
:'expiration_date' => :'expirationDate',
|
|
@@ -56,6 +60,7 @@ module CyberSource
|
|
|
56
60
|
def self.json_map
|
|
57
61
|
{
|
|
58
62
|
:'invoice_number' => :'invoice_number',
|
|
63
|
+
:'transaction_reference_number' => :'transaction_reference_number',
|
|
59
64
|
:'description' => :'description',
|
|
60
65
|
:'due_date' => :'due_date',
|
|
61
66
|
:'expiration_date' => :'expiration_date',
|
|
@@ -70,6 +75,7 @@ module CyberSource
|
|
|
70
75
|
def self.swagger_types
|
|
71
76
|
{
|
|
72
77
|
:'invoice_number' => :'String',
|
|
78
|
+
:'transaction_reference_number' => :'String',
|
|
73
79
|
:'description' => :'String',
|
|
74
80
|
:'due_date' => :'Date',
|
|
75
81
|
:'expiration_date' => :'Date',
|
|
@@ -92,6 +98,10 @@ module CyberSource
|
|
|
92
98
|
self.invoice_number = attributes[:'invoiceNumber']
|
|
93
99
|
end
|
|
94
100
|
|
|
101
|
+
if attributes.has_key?(:'transactionReferenceNumber')
|
|
102
|
+
self.transaction_reference_number = attributes[:'transactionReferenceNumber']
|
|
103
|
+
end
|
|
104
|
+
|
|
95
105
|
if attributes.has_key?(:'description')
|
|
96
106
|
self.description = attributes[:'description']
|
|
97
107
|
end
|
|
@@ -138,6 +148,12 @@ module CyberSource
|
|
|
138
148
|
true
|
|
139
149
|
end
|
|
140
150
|
|
|
151
|
+
# Custom attribute writer method with validation
|
|
152
|
+
# @param [Object] transaction_reference_number Value to be assigned
|
|
153
|
+
def transaction_reference_number=(transaction_reference_number)
|
|
154
|
+
@transaction_reference_number = transaction_reference_number
|
|
155
|
+
end
|
|
156
|
+
|
|
141
157
|
# Custom attribute writer method with validation
|
|
142
158
|
# @param [Object] description Value to be assigned
|
|
143
159
|
def description=(description)
|
|
@@ -150,6 +166,7 @@ module CyberSource
|
|
|
150
166
|
return true if self.equal?(o)
|
|
151
167
|
self.class == o.class &&
|
|
152
168
|
invoice_number == o.invoice_number &&
|
|
169
|
+
transaction_reference_number == o.transaction_reference_number &&
|
|
153
170
|
description == o.description &&
|
|
154
171
|
due_date == o.due_date &&
|
|
155
172
|
expiration_date == o.expiration_date &&
|
|
@@ -168,7 +185,7 @@ module CyberSource
|
|
|
168
185
|
# Calculates hash code according to all attributes.
|
|
169
186
|
# @return [Fixnum] Hash code
|
|
170
187
|
def hash
|
|
171
|
-
[invoice_number, description, due_date, expiration_date, allow_partial_payments, payment_link, delivery_mode, custom_labels].hash
|
|
188
|
+
[invoice_number, transaction_reference_number, description, due_date, expiration_date, allow_partial_payments, payment_link, delivery_mode, custom_labels].hash
|
|
172
189
|
end
|
|
173
190
|
|
|
174
191
|
# Builds the object from hash
|
|
@@ -13,6 +13,8 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition
|
|
16
|
+
attr_accessor :mdf_value_id
|
|
17
|
+
|
|
16
18
|
attr_accessor :reference_type
|
|
17
19
|
|
|
18
20
|
attr_accessor :label
|
|
@@ -42,6 +44,7 @@ module CyberSource
|
|
|
42
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
43
45
|
def self.attribute_map
|
|
44
46
|
{
|
|
47
|
+
:'mdf_value_id' => :'mdfValueId',
|
|
45
48
|
:'reference_type' => :'referenceType',
|
|
46
49
|
:'label' => :'label',
|
|
47
50
|
:'field_type' => :'fieldType',
|
|
@@ -61,6 +64,7 @@ module CyberSource
|
|
|
61
64
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
62
65
|
def self.json_map
|
|
63
66
|
{
|
|
67
|
+
:'mdf_value_id' => :'mdf_value_id',
|
|
64
68
|
:'reference_type' => :'reference_type',
|
|
65
69
|
:'label' => :'label',
|
|
66
70
|
:'field_type' => :'field_type',
|
|
@@ -80,6 +84,7 @@ module CyberSource
|
|
|
80
84
|
# Attribute type mapping.
|
|
81
85
|
def self.swagger_types
|
|
82
86
|
{
|
|
87
|
+
:'mdf_value_id' => :'String',
|
|
83
88
|
:'reference_type' => :'String',
|
|
84
89
|
:'label' => :'String',
|
|
85
90
|
:'field_type' => :'String',
|
|
@@ -104,6 +109,10 @@ module CyberSource
|
|
|
104
109
|
# convert string to symbol for hash key
|
|
105
110
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
106
111
|
|
|
112
|
+
if attributes.has_key?(:'mdfValueId')
|
|
113
|
+
self.mdf_value_id = attributes[:'mdfValueId']
|
|
114
|
+
end
|
|
115
|
+
|
|
107
116
|
if attributes.has_key?(:'referenceType')
|
|
108
117
|
self.reference_type = attributes[:'referenceType']
|
|
109
118
|
end
|
|
@@ -175,6 +184,7 @@ module CyberSource
|
|
|
175
184
|
def ==(o)
|
|
176
185
|
return true if self.equal?(o)
|
|
177
186
|
self.class == o.class &&
|
|
187
|
+
mdf_value_id == o.mdf_value_id &&
|
|
178
188
|
reference_type == o.reference_type &&
|
|
179
189
|
label == o.label &&
|
|
180
190
|
field_type == o.field_type &&
|
|
@@ -199,7 +209,7 @@ module CyberSource
|
|
|
199
209
|
# Calculates hash code according to all attributes.
|
|
200
210
|
# @return [Fixnum] Hash code
|
|
201
211
|
def hash
|
|
202
|
-
[reference_type, label, field_type, customer_visible, read_only, text_min_length, text_max_length, text_default_value, possible_values, value, position, definition_id, merchant_defined_data_index].hash
|
|
212
|
+
[mdf_value_id, reference_type, label, field_type, customer_visible, read_only, text_min_length, text_max_length, text_default_value, possible_values, value, position, definition_id, merchant_defined_data_index].hash
|
|
203
213
|
end
|
|
204
214
|
|
|
205
215
|
# Builds the object from hash
|
|
@@ -32,6 +32,8 @@ module CyberSource
|
|
|
32
32
|
|
|
33
33
|
attr_accessor :order_information
|
|
34
34
|
|
|
35
|
+
attr_accessor :merchant_defined_field_values_with_definition
|
|
36
|
+
|
|
35
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
36
38
|
def self.attribute_map
|
|
37
39
|
{
|
|
@@ -42,7 +44,8 @@ module CyberSource
|
|
|
42
44
|
:'customer_information' => :'customerInformation',
|
|
43
45
|
:'processing_information' => :'processingInformation',
|
|
44
46
|
:'invoice_information' => :'invoiceInformation',
|
|
45
|
-
:'order_information' => :'orderInformation'
|
|
47
|
+
:'order_information' => :'orderInformation',
|
|
48
|
+
:'merchant_defined_field_values_with_definition' => :'merchantDefinedFieldValuesWithDefinition'
|
|
46
49
|
}
|
|
47
50
|
end
|
|
48
51
|
|
|
@@ -56,7 +59,8 @@ module CyberSource
|
|
|
56
59
|
:'customer_information' => :'customer_information',
|
|
57
60
|
:'processing_information' => :'processing_information',
|
|
58
61
|
:'invoice_information' => :'invoice_information',
|
|
59
|
-
:'order_information' => :'order_information'
|
|
62
|
+
:'order_information' => :'order_information',
|
|
63
|
+
:'merchant_defined_field_values_with_definition' => :'merchant_defined_field_values_with_definition'
|
|
60
64
|
}
|
|
61
65
|
end
|
|
62
66
|
|
|
@@ -70,7 +74,8 @@ module CyberSource
|
|
|
70
74
|
:'customer_information' => :'Invoicingv2invoicesCustomerInformation',
|
|
71
75
|
:'processing_information' => :'Invoicingv2invoicesProcessingInformation',
|
|
72
76
|
:'invoice_information' => :'InvoicingV2InvoicesPost201ResponseInvoiceInformation',
|
|
73
|
-
:'order_information' => :'InvoicingV2InvoicesPost201ResponseOrderInformation'
|
|
77
|
+
:'order_information' => :'InvoicingV2InvoicesPost201ResponseOrderInformation',
|
|
78
|
+
:'merchant_defined_field_values_with_definition' => :'Array<InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition>'
|
|
74
79
|
}
|
|
75
80
|
end
|
|
76
81
|
|
|
@@ -113,6 +118,12 @@ module CyberSource
|
|
|
113
118
|
if attributes.has_key?(:'orderInformation')
|
|
114
119
|
self.order_information = attributes[:'orderInformation']
|
|
115
120
|
end
|
|
121
|
+
|
|
122
|
+
if attributes.has_key?(:'merchantDefinedFieldValuesWithDefinition')
|
|
123
|
+
if (value = attributes[:'merchantDefinedFieldValuesWithDefinition']).is_a?(Array)
|
|
124
|
+
self.merchant_defined_field_values_with_definition = value
|
|
125
|
+
end
|
|
126
|
+
end
|
|
116
127
|
end
|
|
117
128
|
|
|
118
129
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -146,7 +157,8 @@ module CyberSource
|
|
|
146
157
|
customer_information == o.customer_information &&
|
|
147
158
|
processing_information == o.processing_information &&
|
|
148
159
|
invoice_information == o.invoice_information &&
|
|
149
|
-
order_information == o.order_information
|
|
160
|
+
order_information == o.order_information &&
|
|
161
|
+
merchant_defined_field_values_with_definition == o.merchant_defined_field_values_with_definition
|
|
150
162
|
end
|
|
151
163
|
|
|
152
164
|
# @see the `==` method
|
|
@@ -158,7 +170,7 @@ module CyberSource
|
|
|
158
170
|
# Calculates hash code according to all attributes.
|
|
159
171
|
# @return [Fixnum] Hash code
|
|
160
172
|
def hash
|
|
161
|
-
[_links, id, submit_time_utc, status, customer_information, processing_information, invoice_information, order_information].hash
|
|
173
|
+
[_links, id, submit_time_utc, status, customer_information, processing_information, invoice_information, order_information, merchant_defined_field_values_with_definition].hash
|
|
162
174
|
end
|
|
163
175
|
|
|
164
176
|
# Builds the object from hash
|
|
@@ -32,6 +32,8 @@ module CyberSource
|
|
|
32
32
|
|
|
33
33
|
attr_accessor :order_information
|
|
34
34
|
|
|
35
|
+
attr_accessor :merchant_defined_field_values_with_definition
|
|
36
|
+
|
|
35
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
36
38
|
def self.attribute_map
|
|
37
39
|
{
|
|
@@ -42,7 +44,8 @@ module CyberSource
|
|
|
42
44
|
:'customer_information' => :'customerInformation',
|
|
43
45
|
:'processing_information' => :'processingInformation',
|
|
44
46
|
:'invoice_information' => :'invoiceInformation',
|
|
45
|
-
:'order_information' => :'orderInformation'
|
|
47
|
+
:'order_information' => :'orderInformation',
|
|
48
|
+
:'merchant_defined_field_values_with_definition' => :'merchantDefinedFieldValuesWithDefinition'
|
|
46
49
|
}
|
|
47
50
|
end
|
|
48
51
|
|
|
@@ -56,7 +59,8 @@ module CyberSource
|
|
|
56
59
|
:'customer_information' => :'customer_information',
|
|
57
60
|
:'processing_information' => :'processing_information',
|
|
58
61
|
:'invoice_information' => :'invoice_information',
|
|
59
|
-
:'order_information' => :'order_information'
|
|
62
|
+
:'order_information' => :'order_information',
|
|
63
|
+
:'merchant_defined_field_values_with_definition' => :'merchant_defined_field_values_with_definition'
|
|
60
64
|
}
|
|
61
65
|
end
|
|
62
66
|
|
|
@@ -70,7 +74,8 @@ module CyberSource
|
|
|
70
74
|
:'customer_information' => :'Invoicingv2invoicesCustomerInformation',
|
|
71
75
|
:'processing_information' => :'Invoicingv2invoicesProcessingInformation',
|
|
72
76
|
:'invoice_information' => :'InvoicingV2InvoicesPost201ResponseInvoiceInformation',
|
|
73
|
-
:'order_information' => :'InvoicingV2InvoicesPost201ResponseOrderInformation'
|
|
77
|
+
:'order_information' => :'InvoicingV2InvoicesPost201ResponseOrderInformation',
|
|
78
|
+
:'merchant_defined_field_values_with_definition' => :'Array<InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition>'
|
|
74
79
|
}
|
|
75
80
|
end
|
|
76
81
|
|
|
@@ -113,6 +118,12 @@ module CyberSource
|
|
|
113
118
|
if attributes.has_key?(:'orderInformation')
|
|
114
119
|
self.order_information = attributes[:'orderInformation']
|
|
115
120
|
end
|
|
121
|
+
|
|
122
|
+
if attributes.has_key?(:'merchantDefinedFieldValuesWithDefinition')
|
|
123
|
+
if (value = attributes[:'merchantDefinedFieldValuesWithDefinition']).is_a?(Array)
|
|
124
|
+
self.merchant_defined_field_values_with_definition = value
|
|
125
|
+
end
|
|
126
|
+
end
|
|
116
127
|
end
|
|
117
128
|
|
|
118
129
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -146,7 +157,8 @@ module CyberSource
|
|
|
146
157
|
customer_information == o.customer_information &&
|
|
147
158
|
processing_information == o.processing_information &&
|
|
148
159
|
invoice_information == o.invoice_information &&
|
|
149
|
-
order_information == o.order_information
|
|
160
|
+
order_information == o.order_information &&
|
|
161
|
+
merchant_defined_field_values_with_definition == o.merchant_defined_field_values_with_definition
|
|
150
162
|
end
|
|
151
163
|
|
|
152
164
|
# @see the `==` method
|
|
@@ -158,7 +170,7 @@ module CyberSource
|
|
|
158
170
|
# Calculates hash code according to all attributes.
|
|
159
171
|
# @return [Fixnum] Hash code
|
|
160
172
|
def hash
|
|
161
|
-
[_links, id, submit_time_utc, status, customer_information, processing_information, invoice_information, order_information].hash
|
|
173
|
+
[_links, id, submit_time_utc, status, customer_information, processing_information, invoice_information, order_information, merchant_defined_field_values_with_definition].hash
|
|
162
174
|
end
|
|
163
175
|
|
|
164
176
|
# Builds the object from hash
|
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
|
+
# The merchant's email address for receiving payment notifications.
|
|
58
|
+
attr_accessor :merchant_email
|
|
59
|
+
|
|
57
60
|
# 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
61
|
attr_accessor :custom_labels
|
|
59
62
|
|
|
@@ -76,6 +79,7 @@ module CyberSource
|
|
|
76
79
|
:'phone_number' => :'phoneNumber',
|
|
77
80
|
:'email' => :'email',
|
|
78
81
|
:'enable_merchant_email_notifications' => :'enableMerchantEmailNotifications',
|
|
82
|
+
:'merchant_email' => :'merchantEmail',
|
|
79
83
|
:'custom_labels' => :'customLabels',
|
|
80
84
|
:'custom_redirect_urls' => :'customRedirectUrls'
|
|
81
85
|
}
|
|
@@ -98,6 +102,7 @@ module CyberSource
|
|
|
98
102
|
:'phone_number' => :'phone_number',
|
|
99
103
|
:'email' => :'email',
|
|
100
104
|
:'enable_merchant_email_notifications' => :'enable_merchant_email_notifications',
|
|
105
|
+
:'merchant_email' => :'merchant_email',
|
|
101
106
|
:'custom_labels' => :'custom_labels',
|
|
102
107
|
:'custom_redirect_urls' => :'custom_redirect_urls'
|
|
103
108
|
}
|
|
@@ -120,6 +125,7 @@ module CyberSource
|
|
|
120
125
|
:'phone_number' => :'BOOLEAN',
|
|
121
126
|
:'email' => :'BOOLEAN',
|
|
122
127
|
:'enable_merchant_email_notifications' => :'BOOLEAN',
|
|
128
|
+
:'merchant_email' => :'String',
|
|
123
129
|
:'custom_labels' => :'Array<InvoicingV2InvoicesPost201ResponseInvoiceInformationCustomLabels>',
|
|
124
130
|
:'custom_redirect_urls' => :'InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationCustomRedirectUrls'
|
|
125
131
|
}
|
|
@@ -199,6 +205,10 @@ module CyberSource
|
|
|
199
205
|
self.enable_merchant_email_notifications = false
|
|
200
206
|
end
|
|
201
207
|
|
|
208
|
+
if attributes.has_key?(:'merchantEmail')
|
|
209
|
+
self.merchant_email = attributes[:'merchantEmail']
|
|
210
|
+
end
|
|
211
|
+
|
|
202
212
|
if attributes.has_key?(:'customLabels')
|
|
203
213
|
if (value = attributes[:'customLabels']).is_a?(Array)
|
|
204
214
|
self.custom_labels = value
|
|
@@ -265,6 +275,12 @@ module CyberSource
|
|
|
265
275
|
@vat_registration_number = vat_registration_number
|
|
266
276
|
end
|
|
267
277
|
|
|
278
|
+
# Custom attribute writer method with validation
|
|
279
|
+
# @param [Object] merchant_email Value to be assigned
|
|
280
|
+
def merchant_email=(merchant_email)
|
|
281
|
+
@merchant_email = merchant_email
|
|
282
|
+
end
|
|
283
|
+
|
|
268
284
|
# Checks equality by comparing each attribute.
|
|
269
285
|
# @param [Object] Object to be compared
|
|
270
286
|
def ==(o)
|
|
@@ -284,6 +300,7 @@ module CyberSource
|
|
|
284
300
|
phone_number == o.phone_number &&
|
|
285
301
|
email == o.email &&
|
|
286
302
|
enable_merchant_email_notifications == o.enable_merchant_email_notifications &&
|
|
303
|
+
merchant_email == o.merchant_email &&
|
|
287
304
|
custom_labels == o.custom_labels &&
|
|
288
305
|
custom_redirect_urls == o.custom_redirect_urls
|
|
289
306
|
end
|
|
@@ -297,7 +314,7 @@ module CyberSource
|
|
|
297
314
|
# Calculates hash code according to all attributes.
|
|
298
315
|
# @return [Fixnum] Hash code
|
|
299
316
|
def hash
|
|
300
|
-
[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, custom_redirect_urls].hash
|
|
317
|
+
[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, merchant_email, custom_labels, custom_redirect_urls].hash
|
|
301
318
|
end
|
|
302
319
|
|
|
303
320
|
# Builds the object from hash
|
|
@@ -17,13 +17,16 @@ module CyberSource
|
|
|
17
17
|
# Invoice Number.
|
|
18
18
|
attr_accessor :invoice_number
|
|
19
19
|
|
|
20
|
+
# The transaction reference number (TRN) is a identifier assigned to each payment transaction that allows merchants, customers, and payment processors to track and reference specific transactions throughout their lifecycle. When provided, this value is passed to the payment processor as the reconciliation ID for the payment. For invoices this is typically the invoice number, and for purchase or donation links it is typically the link identifier. Only letters and numbers are allowed; spaces and other special characters are not permitted.
|
|
21
|
+
attr_accessor :transaction_reference_number
|
|
22
|
+
|
|
20
23
|
# The description included in the invoice.
|
|
21
24
|
attr_accessor :description
|
|
22
25
|
|
|
23
|
-
# The invoice due date. This field is required for creating an invoice. Format: `YYYY-MM-DD`, where `YYYY` = year, `MM` = month, and `DD` = day
|
|
26
|
+
# The invoice due date. This field is required for creating an invoice. Format: `YYYY-MM-DD`, where `YYYY` = year, `MM` = month, and `DD` = day. The invoice link automatically expires 12 months after the due date.
|
|
24
27
|
attr_accessor :due_date
|
|
25
28
|
|
|
26
|
-
# Define an expiration date for the link. Format: `YYYY-MM-DD`, where `YYYY` = year, `MM` = month, and `DD` = day
|
|
29
|
+
# Define an expiration date for the link. The date must be today or in the future. Format: `YYYY-MM-DD`, where `YYYY` = year, `MM` = month, and `DD` = day. The invoice link automatically expires 12 months after the due date.
|
|
27
30
|
attr_accessor :expiration_date
|
|
28
31
|
|
|
29
32
|
# If set to `true`, we send the invoice immediately. If set to `false`, the invoice remains in draft mode.
|
|
@@ -39,6 +42,7 @@ module CyberSource
|
|
|
39
42
|
def self.attribute_map
|
|
40
43
|
{
|
|
41
44
|
:'invoice_number' => :'invoiceNumber',
|
|
45
|
+
:'transaction_reference_number' => :'transactionReferenceNumber',
|
|
42
46
|
:'description' => :'description',
|
|
43
47
|
:'due_date' => :'dueDate',
|
|
44
48
|
:'expiration_date' => :'expirationDate',
|
|
@@ -52,6 +56,7 @@ module CyberSource
|
|
|
52
56
|
def self.json_map
|
|
53
57
|
{
|
|
54
58
|
:'invoice_number' => :'invoice_number',
|
|
59
|
+
:'transaction_reference_number' => :'transaction_reference_number',
|
|
55
60
|
:'description' => :'description',
|
|
56
61
|
:'due_date' => :'due_date',
|
|
57
62
|
:'expiration_date' => :'expiration_date',
|
|
@@ -65,6 +70,7 @@ module CyberSource
|
|
|
65
70
|
def self.swagger_types
|
|
66
71
|
{
|
|
67
72
|
:'invoice_number' => :'String',
|
|
73
|
+
:'transaction_reference_number' => :'String',
|
|
68
74
|
:'description' => :'String',
|
|
69
75
|
:'due_date' => :'Date',
|
|
70
76
|
:'expiration_date' => :'Date',
|
|
@@ -86,6 +92,10 @@ module CyberSource
|
|
|
86
92
|
self.invoice_number = attributes[:'invoiceNumber']
|
|
87
93
|
end
|
|
88
94
|
|
|
95
|
+
if attributes.has_key?(:'transactionReferenceNumber')
|
|
96
|
+
self.transaction_reference_number = attributes[:'transactionReferenceNumber']
|
|
97
|
+
end
|
|
98
|
+
|
|
89
99
|
if attributes.has_key?(:'description')
|
|
90
100
|
self.description = attributes[:'description']
|
|
91
101
|
end
|
|
@@ -138,6 +148,12 @@ module CyberSource
|
|
|
138
148
|
true
|
|
139
149
|
end
|
|
140
150
|
|
|
151
|
+
# Custom attribute writer method with validation
|
|
152
|
+
# @param [Object] transaction_reference_number Value to be assigned
|
|
153
|
+
def transaction_reference_number=(transaction_reference_number)
|
|
154
|
+
@transaction_reference_number = transaction_reference_number
|
|
155
|
+
end
|
|
156
|
+
|
|
141
157
|
# Custom attribute writer method with validation
|
|
142
158
|
# @param [Object] description Value to be assigned
|
|
143
159
|
def description=(description)
|
|
@@ -154,6 +170,7 @@ module CyberSource
|
|
|
154
170
|
return true if self.equal?(o)
|
|
155
171
|
self.class == o.class &&
|
|
156
172
|
invoice_number == o.invoice_number &&
|
|
173
|
+
transaction_reference_number == o.transaction_reference_number &&
|
|
157
174
|
description == o.description &&
|
|
158
175
|
due_date == o.due_date &&
|
|
159
176
|
expiration_date == o.expiration_date &&
|
|
@@ -171,7 +188,7 @@ module CyberSource
|
|
|
171
188
|
# Calculates hash code according to all attributes.
|
|
172
189
|
# @return [Fixnum] Hash code
|
|
173
190
|
def hash
|
|
174
|
-
[invoice_number, description, due_date, expiration_date, send_immediately, allow_partial_payments, delivery_mode].hash
|
|
191
|
+
[invoice_number, transaction_reference_number, description, due_date, expiration_date, send_immediately, allow_partial_payments, delivery_mode].hash
|
|
175
192
|
end
|
|
176
193
|
|
|
177
194
|
# Builds the object from hash
|
|
@@ -14,13 +14,16 @@ require 'date'
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
# Contains the updatable invoice information.
|
|
16
16
|
class Invoicingv2invoicesidInvoiceInformation
|
|
17
|
+
# The transaction reference number (TRN) is a identifier assigned to each payment transaction that allows merchants, customers, and payment processors to track and reference specific transactions throughout their lifecycle. When provided, this value is passed to the payment processor as the reconciliation ID for the payment. For invoices this is typically the invoice number, and for purchase or donation links it is typically the link identifier. Only letters and numbers are allowed; spaces and other special characters are not permitted.
|
|
18
|
+
attr_accessor :transaction_reference_number
|
|
19
|
+
|
|
17
20
|
# The description included in the invoice.
|
|
18
21
|
attr_accessor :description
|
|
19
22
|
|
|
20
|
-
# The invoice due date. This field is required for creating an invoice. Format: `YYYY-MM-DD`, where `YYYY` = year, `MM` = month, and `DD` = day
|
|
23
|
+
# The invoice due date. This field is required for creating an invoice. Format: `YYYY-MM-DD`, where `YYYY` = year, `MM` = month, and `DD` = day. The invoice link automatically expires 12 months after the due date.
|
|
21
24
|
attr_accessor :due_date
|
|
22
25
|
|
|
23
|
-
# Define an expiration date for the link. Format: `YYYY-MM-DD`, where `YYYY` = year, `MM` = month, and `DD` = day
|
|
26
|
+
# Define an expiration date for the link. The date must be today or in the future. Format: `YYYY-MM-DD`, where `YYYY` = year, `MM` = month, and `DD` = day. The invoice link automatically expires 12 months after the due date.
|
|
24
27
|
attr_accessor :expiration_date
|
|
25
28
|
|
|
26
29
|
# If set to `true`, we send the invoice immediately. If set to `false`, the invoice remains in draft mode.
|
|
@@ -35,6 +38,7 @@ module CyberSource
|
|
|
35
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
36
39
|
def self.attribute_map
|
|
37
40
|
{
|
|
41
|
+
:'transaction_reference_number' => :'transactionReferenceNumber',
|
|
38
42
|
:'description' => :'description',
|
|
39
43
|
:'due_date' => :'dueDate',
|
|
40
44
|
:'expiration_date' => :'expirationDate',
|
|
@@ -47,6 +51,7 @@ module CyberSource
|
|
|
47
51
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
48
52
|
def self.json_map
|
|
49
53
|
{
|
|
54
|
+
:'transaction_reference_number' => :'transaction_reference_number',
|
|
50
55
|
:'description' => :'description',
|
|
51
56
|
:'due_date' => :'due_date',
|
|
52
57
|
:'expiration_date' => :'expiration_date',
|
|
@@ -59,6 +64,7 @@ module CyberSource
|
|
|
59
64
|
# Attribute type mapping.
|
|
60
65
|
def self.swagger_types
|
|
61
66
|
{
|
|
67
|
+
:'transaction_reference_number' => :'String',
|
|
62
68
|
:'description' => :'String',
|
|
63
69
|
:'due_date' => :'Date',
|
|
64
70
|
:'expiration_date' => :'Date',
|
|
@@ -76,6 +82,10 @@ module CyberSource
|
|
|
76
82
|
# convert string to symbol for hash key
|
|
77
83
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
78
84
|
|
|
85
|
+
if attributes.has_key?(:'transactionReferenceNumber')
|
|
86
|
+
self.transaction_reference_number = attributes[:'transactionReferenceNumber']
|
|
87
|
+
end
|
|
88
|
+
|
|
79
89
|
if attributes.has_key?(:'description')
|
|
80
90
|
self.description = attributes[:'description']
|
|
81
91
|
end
|
|
@@ -128,6 +138,12 @@ module CyberSource
|
|
|
128
138
|
true
|
|
129
139
|
end
|
|
130
140
|
|
|
141
|
+
# Custom attribute writer method with validation
|
|
142
|
+
# @param [Object] transaction_reference_number Value to be assigned
|
|
143
|
+
def transaction_reference_number=(transaction_reference_number)
|
|
144
|
+
@transaction_reference_number = transaction_reference_number
|
|
145
|
+
end
|
|
146
|
+
|
|
131
147
|
# Custom attribute writer method with validation
|
|
132
148
|
# @param [Object] description Value to be assigned
|
|
133
149
|
def description=(description)
|
|
@@ -143,6 +159,7 @@ module CyberSource
|
|
|
143
159
|
def ==(o)
|
|
144
160
|
return true if self.equal?(o)
|
|
145
161
|
self.class == o.class &&
|
|
162
|
+
transaction_reference_number == o.transaction_reference_number &&
|
|
146
163
|
description == o.description &&
|
|
147
164
|
due_date == o.due_date &&
|
|
148
165
|
expiration_date == o.expiration_date &&
|
|
@@ -160,7 +177,7 @@ module CyberSource
|
|
|
160
177
|
# Calculates hash code according to all attributes.
|
|
161
178
|
# @return [Fixnum] Hash code
|
|
162
179
|
def hash
|
|
163
|
-
[description, due_date, expiration_date, send_immediately, allow_partial_payments, delivery_mode].hash
|
|
180
|
+
[transaction_reference_number, description, due_date, expiration_date, send_immediately, allow_partial_payments, delivery_mode].hash
|
|
164
181
|
end
|
|
165
182
|
|
|
166
183
|
# Builds the object from hash
|