cybersource_rest_client 0.0.80 → 0.0.81
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 +17 -7
- data/lib/AuthenticationSDK/core/Authorization.rb +2 -2
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +277 -23
- data/lib/AuthenticationSDK/util/Cache.rb +144 -8
- data/lib/AuthenticationSDK/util/CachedMLEKId.rb +17 -0
- data/lib/AuthenticationSDK/util/CertificateUtility.rb +109 -29
- data/lib/AuthenticationSDK/util/Constants.rb +4 -0
- data/lib/AuthenticationSDK/util/MLEUtility.rb +167 -11
- data/lib/AuthenticationSDK/util/Utility.rb +37 -1
- data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +6 -2
- data/lib/cybersource_rest_client/api/batches_api.rb +24 -8
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +18 -6
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +6 -2
- data/lib/cybersource_rest_client/api/capture_api.rb +6 -2
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +6 -2
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +18 -6
- data/lib/cybersource_rest_client/api/credit_api.rb +6 -2
- data/lib/cybersource_rest_client/api/customer_api.rb +24 -8
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +30 -10
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +30 -10
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +30 -10
- data/lib/cybersource_rest_client/api/device_de_association_api.rb +12 -4
- data/lib/cybersource_rest_client/api/device_search_api.rb +12 -4
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +6 -2
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +6 -2
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +12 -4
- data/lib/cybersource_rest_client/api/enrollment_api.rb +104 -0
- data/lib/cybersource_rest_client/api/flex_api_api.rb +6 -2
- data/lib/cybersource_rest_client/api/instructions_api.rb +452 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +36 -12
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +12 -4
- data/lib/cybersource_rest_client/api/invoices_api.rb +42 -14
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +42 -14
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +12 -4
- data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +24 -8
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +6 -2
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +6 -2
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +6 -2
- data/lib/cybersource_rest_client/api/offers_api.rb +12 -4
- data/lib/cybersource_rest_client/api/orders_api.rb +12 -4
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +18 -6
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +6 -2
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +24 -8
- data/lib/cybersource_rest_client/api/payment_links_api.rb +24 -8
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +6 -2
- data/lib/cybersource_rest_client/api/payments_api.rb +36 -12
- data/lib/cybersource_rest_client/api/payouts_api.rb +6 -2
- data/lib/cybersource_rest_client/api/plans_api.rb +48 -16
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/push_funds_api.rb +6 -2
- data/lib/cybersource_rest_client/api/refund_api.rb +12 -4
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +12 -4
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +6 -2
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +30 -10
- data/lib/cybersource_rest_client/api/reports_api.rb +18 -6
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +6 -2
- data/lib/cybersource_rest_client/api/reversal_api.rb +12 -4
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +12 -4
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +12 -4
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +48 -16
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +12 -4
- data/lib/cybersource_rest_client/api/taxes_api.rb +12 -4
- data/lib/cybersource_rest_client/api/token_api.rb +12 -4
- data/lib/cybersource_rest_client/api/tokenize_api.rb +6 -2
- data/lib/cybersource_rest_client/api/tokenized_card_api.rb +24 -8
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +24 -8
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/transient_token_data_api.rb +12 -4
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +6 -2
- data/lib/cybersource_rest_client/api/user_management_api.rb +6 -2
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +6 -2
- data/lib/cybersource_rest_client/api/verification_api.rb +12 -4
- data/lib/cybersource_rest_client/api/void_api.rb +30 -10
- data/lib/cybersource_rest_client/api_client.rb +20 -3
- data/lib/cybersource_rest_client/models/acpv1instructions_decline_threshold.rb +232 -0
- data/lib/cybersource_rest_client/models/acpv1instructions_mandates.rb +405 -0
- data/lib/cybersource_rest_client/models/acpv1instructions_recurring_payment_information.rb +191 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconf_processor_info_payment_instrument_verifi_results.rb +213 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_confirmation_data.rb +229 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_merchant_information.rb +258 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_order_information.rb +377 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_order_information_shipping_details.rb +206 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information.rb +425 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb +190 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_attachments.rb +258 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_client_reference_information.rb +215 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_mandate_reference_data.rb +205 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_merchant_information.rb +334 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_merchant_information_merchant_descriptor.rb +250 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information.rb +228 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb +354 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items.rb +367 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items_additional_info.rb +231 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items_policies.rb +346 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_line_items.rb +190 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_ship_to.rb +686 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_payment_options.rb +217 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_transaction_data.rb +348 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_assurance_data.rb +313 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_authenticated_identities.rb +237 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_authentication_context.rb +191 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_bill_to.rb +400 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information.rb +229 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information_personal_identification.rb +212 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_consent_data.rb +297 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_consumer_identity.rb +268 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_device_information.rb +378 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_device_information_device_data.rb +302 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_enrollment_reference_data.rb +207 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information.rb +215 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_customer.rb +197 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_instrument_identifier.rb +206 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_payment_instrument.rb +197 -0
- data/lib/cybersource_rest_client/models/agentic_cancel_purchase_intent_request.rb +257 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400.rb +189 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400_error.rb +238 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400_error_detail.rb +224 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_request.rb +325 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_response200.rb +206 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_response202.rb +219 -0
- data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_request.rb +247 -0
- data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_response202.rb +195 -0
- data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_request.rb +327 -0
- data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_response200.rb +222 -0
- data/lib/cybersource_rest_client/models/agentic_pending_purchase_intent_response202.rb +241 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_request.rb +247 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200.rb +200 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200_transaction_response_complete.rb +244 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200_transaction_response_with_pending_events.rb +235 -0
- data/lib/cybersource_rest_client/models/agentic_update_purchase_intent_request.rb +315 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +36 -1
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_localized_names.rb +254 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +39 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information.rb +246 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit.rb +189 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline.rb +889 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information.rb +259 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information_service.rb +213 -0
- data/lib/cybersource_rest_client/models/refund_capture_request.rb +1 -1
- data/lib/cybersource_rest_client/models/refund_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data.rb +4 -2
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_merchant_defined_information.rb +3 -2
- data/lib/cybersource_rest_client/utilities/jwe_utility.rb +1 -1
- data/lib/cybersource_rest_client.rb +64 -0
- metadata +68 -3
- /data/lib/AuthenticationSDK/util/{JWEUtility.rb → AuthJWEUtility.rb} +0 -0
|
@@ -0,0 +1,259 @@
|
|
|
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 Ptsv2paymentsidrefundsTravelInformationTransitAirlineAncillaryInformation
|
|
16
|
+
# Ticket number, which consists of the carrier code, form, and serial number, without the check digit. **Important** This field is required in the U.S. in order for you to qualify for either the custom payment service (CPS) or the electronic interchange reimbursement fee (EIRF) program. Format: English characters only. Optional field for ancillary services.
|
|
17
|
+
attr_accessor :ticket_number
|
|
18
|
+
|
|
19
|
+
# Name of the passenger. If the passenger's name is not available, this value is the cardholder's name. If neither the passenger's name nor the cardholder's name is available, this value is a description of the ancillary purchase. **Important** This field is required in the U.S. in order for you to qualify for either the custom payment service (CPS) or the electronic interchange reimbursement fee (EIRF) program. Format: English characters only. Optional field for ancillary service.
|
|
20
|
+
attr_accessor :passenger_name
|
|
21
|
+
|
|
22
|
+
# Number for the airline ticket to which the ancillary purchase is connected. If this purchase has a connection or relationship to another purchase such as a baggage fee for a passenger transport ticket, this field must contain the ticket number for the other purchase. For a stand-alone purchase, the value for this field must be the same as the value for the `travelInformation.transit.airline.ancillaryInformation.ticketNumber` field. **Important** This field is required in the U.S. in order for you to qualify for either the custom payment service (CPS) or the electronic interchange reimbursement fee (EIRF) program. Format: English characters only. Optional request field for ancillary services.
|
|
23
|
+
attr_accessor :connected_ticket_number
|
|
24
|
+
|
|
25
|
+
# Reason for the credit. Possible values: - `A`: Cancellation of the ancillary passenger transport purchase. - `B`: Cancellation of the airline ticket and the passenger transport ancillary purchase. - `C`: Cancellation of the airline ticket. - `O`: Other. - `P`: Partial refund of the airline ticket. Format: English characters only. Optional field for ancillary services.
|
|
26
|
+
attr_accessor :credit_reason_indicator
|
|
27
|
+
|
|
28
|
+
attr_accessor :service
|
|
29
|
+
|
|
30
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
|
+
def self.attribute_map
|
|
32
|
+
{
|
|
33
|
+
:'ticket_number' => :'ticketNumber',
|
|
34
|
+
:'passenger_name' => :'passengerName',
|
|
35
|
+
:'connected_ticket_number' => :'connectedTicketNumber',
|
|
36
|
+
:'credit_reason_indicator' => :'creditReasonIndicator',
|
|
37
|
+
:'service' => :'service'
|
|
38
|
+
}
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
42
|
+
def self.json_map
|
|
43
|
+
{
|
|
44
|
+
:'ticket_number' => :'ticket_number',
|
|
45
|
+
:'passenger_name' => :'passenger_name',
|
|
46
|
+
:'connected_ticket_number' => :'connected_ticket_number',
|
|
47
|
+
:'credit_reason_indicator' => :'credit_reason_indicator',
|
|
48
|
+
:'service' => :'service'
|
|
49
|
+
}
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# Attribute type mapping.
|
|
53
|
+
def self.swagger_types
|
|
54
|
+
{
|
|
55
|
+
:'ticket_number' => :'String',
|
|
56
|
+
:'passenger_name' => :'String',
|
|
57
|
+
:'connected_ticket_number' => :'String',
|
|
58
|
+
:'credit_reason_indicator' => :'String',
|
|
59
|
+
:'service' => :'Array<Ptsv2paymentsidrefundsTravelInformationTransitAirlineAncillaryInformationService>'
|
|
60
|
+
}
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# Initializes the object
|
|
64
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
65
|
+
def initialize(attributes = {})
|
|
66
|
+
return unless attributes.is_a?(Hash)
|
|
67
|
+
|
|
68
|
+
# convert string to symbol for hash key
|
|
69
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
70
|
+
|
|
71
|
+
if attributes.has_key?(:'ticketNumber')
|
|
72
|
+
self.ticket_number = attributes[:'ticketNumber']
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
if attributes.has_key?(:'passengerName')
|
|
76
|
+
self.passenger_name = attributes[:'passengerName']
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
if attributes.has_key?(:'connectedTicketNumber')
|
|
80
|
+
self.connected_ticket_number = attributes[:'connectedTicketNumber']
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
if attributes.has_key?(:'creditReasonIndicator')
|
|
84
|
+
self.credit_reason_indicator = attributes[:'creditReasonIndicator']
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
if attributes.has_key?(:'service')
|
|
88
|
+
if (value = attributes[:'service']).is_a?(Array)
|
|
89
|
+
self.service = value
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
95
|
+
# @return Array for valid properties with the reasons
|
|
96
|
+
def list_invalid_properties
|
|
97
|
+
invalid_properties = Array.new
|
|
98
|
+
invalid_properties
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Check to see if the all the properties in the model are valid
|
|
102
|
+
# @return true if the model is valid
|
|
103
|
+
def valid?
|
|
104
|
+
true
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# Custom attribute writer method with validation
|
|
108
|
+
# @param [Object] ticket_number Value to be assigned
|
|
109
|
+
def ticket_number=(ticket_number)
|
|
110
|
+
@ticket_number = ticket_number
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Custom attribute writer method with validation
|
|
114
|
+
# @param [Object] passenger_name Value to be assigned
|
|
115
|
+
def passenger_name=(passenger_name)
|
|
116
|
+
@passenger_name = passenger_name
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Custom attribute writer method with validation
|
|
120
|
+
# @param [Object] connected_ticket_number Value to be assigned
|
|
121
|
+
def connected_ticket_number=(connected_ticket_number)
|
|
122
|
+
@connected_ticket_number = connected_ticket_number
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# Custom attribute writer method with validation
|
|
126
|
+
# @param [Object] credit_reason_indicator Value to be assigned
|
|
127
|
+
def credit_reason_indicator=(credit_reason_indicator)
|
|
128
|
+
@credit_reason_indicator = credit_reason_indicator
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# Checks equality by comparing each attribute.
|
|
132
|
+
# @param [Object] Object to be compared
|
|
133
|
+
def ==(o)
|
|
134
|
+
return true if self.equal?(o)
|
|
135
|
+
self.class == o.class &&
|
|
136
|
+
ticket_number == o.ticket_number &&
|
|
137
|
+
passenger_name == o.passenger_name &&
|
|
138
|
+
connected_ticket_number == o.connected_ticket_number &&
|
|
139
|
+
credit_reason_indicator == o.credit_reason_indicator &&
|
|
140
|
+
service == o.service
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# @see the `==` method
|
|
144
|
+
# @param [Object] Object to be compared
|
|
145
|
+
def eql?(o)
|
|
146
|
+
self == o
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# Calculates hash code according to all attributes.
|
|
150
|
+
# @return [Fixnum] Hash code
|
|
151
|
+
def hash
|
|
152
|
+
[ticket_number, passenger_name, connected_ticket_number, credit_reason_indicator, service].hash
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# Builds the object from hash
|
|
156
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
157
|
+
# @return [Object] Returns the model itself
|
|
158
|
+
def build_from_hash(attributes)
|
|
159
|
+
return nil unless attributes.is_a?(Hash)
|
|
160
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
161
|
+
if type =~ /\AArray<(.*)>/i
|
|
162
|
+
# check to ensure the input is an array given that the the attribute
|
|
163
|
+
# is documented as an array but the input is not
|
|
164
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
165
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
166
|
+
end
|
|
167
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
168
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
169
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
self
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Deserializes the data based on type
|
|
176
|
+
# @param string type Data type
|
|
177
|
+
# @param string value Value to be deserialized
|
|
178
|
+
# @return [Object] Deserialized data
|
|
179
|
+
def _deserialize(type, value)
|
|
180
|
+
case type.to_sym
|
|
181
|
+
when :DateTime
|
|
182
|
+
DateTime.parse(value)
|
|
183
|
+
when :Date
|
|
184
|
+
Date.parse(value)
|
|
185
|
+
when :String
|
|
186
|
+
value.to_s
|
|
187
|
+
when :Integer
|
|
188
|
+
value.to_i
|
|
189
|
+
when :Float
|
|
190
|
+
value.to_f
|
|
191
|
+
when :BOOLEAN
|
|
192
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
193
|
+
true
|
|
194
|
+
else
|
|
195
|
+
false
|
|
196
|
+
end
|
|
197
|
+
when :Object
|
|
198
|
+
# generic object (usually a Hash), return directly
|
|
199
|
+
value
|
|
200
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
201
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
202
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
203
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
204
|
+
k_type = Regexp.last_match[:k_type]
|
|
205
|
+
v_type = Regexp.last_match[:v_type]
|
|
206
|
+
{}.tap do |hash|
|
|
207
|
+
value.each do |k, v|
|
|
208
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
209
|
+
end
|
|
210
|
+
end
|
|
211
|
+
else # model
|
|
212
|
+
temp_model = CyberSource.const_get(type).new
|
|
213
|
+
temp_model.build_from_hash(value)
|
|
214
|
+
end
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
# Returns the string representation of the object
|
|
218
|
+
# @return [String] String presentation of the object
|
|
219
|
+
def to_s
|
|
220
|
+
to_hash.to_s
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
224
|
+
# @return [Hash] Returns the object in the form of hash
|
|
225
|
+
def to_body
|
|
226
|
+
to_hash
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
# Returns the object in the form of hash
|
|
230
|
+
# @return [Hash] Returns the object in the form of hash
|
|
231
|
+
def to_hash
|
|
232
|
+
hash = {}
|
|
233
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
234
|
+
value = self.send(attr)
|
|
235
|
+
next if value.nil?
|
|
236
|
+
hash[param] = _to_hash(value)
|
|
237
|
+
end
|
|
238
|
+
hash
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
# Outputs non-array value in the form of hash
|
|
242
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
243
|
+
# @param [Object] value Any valid value
|
|
244
|
+
# @return [Hash] Returns the value in the form of hash
|
|
245
|
+
def _to_hash(value)
|
|
246
|
+
if value.is_a?(Array)
|
|
247
|
+
value.compact.map { |v| _to_hash(v) }
|
|
248
|
+
elsif value.is_a?(Hash)
|
|
249
|
+
{}.tap do |hash|
|
|
250
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
251
|
+
end
|
|
252
|
+
elsif value.respond_to? :to_hash
|
|
253
|
+
value.to_hash
|
|
254
|
+
else
|
|
255
|
+
value
|
|
256
|
+
end
|
|
257
|
+
end
|
|
258
|
+
end
|
|
259
|
+
end
|
|
@@ -0,0 +1,213 @@
|
|
|
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 Ptsv2paymentsidrefundsTravelInformationTransitAirlineAncillaryInformationService
|
|
16
|
+
# Category code for the ancillary service that is provided. Obtain the codes from the International Air Transport Association (IATA). **Note** `#` is either 0, 1, 2, or 3. **Important** This field is required in the U.S. in order for you to qualify for either the custom payment service (CPS) or the electronic interchange reimbursement fee (EIRF)program. Format: English characters only. Optional request field for ancillary services.
|
|
17
|
+
attr_accessor :category_code
|
|
18
|
+
|
|
19
|
+
# Subcategory code for the ancillary service category. Obtain the codes from the International Air Transport Association (IATA). **Note** `#` is either 0, 1, 2, or 3. Format English characters only. Optional request field for ancillary services.
|
|
20
|
+
attr_accessor :sub_category_code
|
|
21
|
+
|
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
|
+
def self.attribute_map
|
|
24
|
+
{
|
|
25
|
+
:'category_code' => :'categoryCode',
|
|
26
|
+
:'sub_category_code' => :'subCategoryCode'
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
31
|
+
def self.json_map
|
|
32
|
+
{
|
|
33
|
+
:'category_code' => :'category_code',
|
|
34
|
+
:'sub_category_code' => :'sub_category_code'
|
|
35
|
+
}
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Attribute type mapping.
|
|
39
|
+
def self.swagger_types
|
|
40
|
+
{
|
|
41
|
+
:'category_code' => :'String',
|
|
42
|
+
:'sub_category_code' => :'String'
|
|
43
|
+
}
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Initializes the object
|
|
47
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
48
|
+
def initialize(attributes = {})
|
|
49
|
+
return unless attributes.is_a?(Hash)
|
|
50
|
+
|
|
51
|
+
# convert string to symbol for hash key
|
|
52
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
53
|
+
|
|
54
|
+
if attributes.has_key?(:'categoryCode')
|
|
55
|
+
self.category_code = attributes[:'categoryCode']
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
if attributes.has_key?(:'subCategoryCode')
|
|
59
|
+
self.sub_category_code = attributes[:'subCategoryCode']
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
64
|
+
# @return Array for valid properties with the reasons
|
|
65
|
+
def list_invalid_properties
|
|
66
|
+
invalid_properties = Array.new
|
|
67
|
+
invalid_properties
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Check to see if the all the properties in the model are valid
|
|
71
|
+
# @return true if the model is valid
|
|
72
|
+
def valid?
|
|
73
|
+
true
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# Custom attribute writer method with validation
|
|
77
|
+
# @param [Object] category_code Value to be assigned
|
|
78
|
+
def category_code=(category_code)
|
|
79
|
+
@category_code = category_code
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Custom attribute writer method with validation
|
|
83
|
+
# @param [Object] sub_category_code Value to be assigned
|
|
84
|
+
def sub_category_code=(sub_category_code)
|
|
85
|
+
@sub_category_code = sub_category_code
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Checks equality by comparing each attribute.
|
|
89
|
+
# @param [Object] Object to be compared
|
|
90
|
+
def ==(o)
|
|
91
|
+
return true if self.equal?(o)
|
|
92
|
+
self.class == o.class &&
|
|
93
|
+
category_code == o.category_code &&
|
|
94
|
+
sub_category_code == o.sub_category_code
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# @see the `==` method
|
|
98
|
+
# @param [Object] Object to be compared
|
|
99
|
+
def eql?(o)
|
|
100
|
+
self == o
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Calculates hash code according to all attributes.
|
|
104
|
+
# @return [Fixnum] Hash code
|
|
105
|
+
def hash
|
|
106
|
+
[category_code, sub_category_code].hash
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# Builds the object from hash
|
|
110
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
111
|
+
# @return [Object] Returns the model itself
|
|
112
|
+
def build_from_hash(attributes)
|
|
113
|
+
return nil unless attributes.is_a?(Hash)
|
|
114
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
115
|
+
if type =~ /\AArray<(.*)>/i
|
|
116
|
+
# check to ensure the input is an array given that the the attribute
|
|
117
|
+
# is documented as an array but the input is not
|
|
118
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
119
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
120
|
+
end
|
|
121
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
122
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
123
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
self
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# Deserializes the data based on type
|
|
130
|
+
# @param string type Data type
|
|
131
|
+
# @param string value Value to be deserialized
|
|
132
|
+
# @return [Object] Deserialized data
|
|
133
|
+
def _deserialize(type, value)
|
|
134
|
+
case type.to_sym
|
|
135
|
+
when :DateTime
|
|
136
|
+
DateTime.parse(value)
|
|
137
|
+
when :Date
|
|
138
|
+
Date.parse(value)
|
|
139
|
+
when :String
|
|
140
|
+
value.to_s
|
|
141
|
+
when :Integer
|
|
142
|
+
value.to_i
|
|
143
|
+
when :Float
|
|
144
|
+
value.to_f
|
|
145
|
+
when :BOOLEAN
|
|
146
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
147
|
+
true
|
|
148
|
+
else
|
|
149
|
+
false
|
|
150
|
+
end
|
|
151
|
+
when :Object
|
|
152
|
+
# generic object (usually a Hash), return directly
|
|
153
|
+
value
|
|
154
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
155
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
156
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
157
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
158
|
+
k_type = Regexp.last_match[:k_type]
|
|
159
|
+
v_type = Regexp.last_match[:v_type]
|
|
160
|
+
{}.tap do |hash|
|
|
161
|
+
value.each do |k, v|
|
|
162
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
else # model
|
|
166
|
+
temp_model = CyberSource.const_get(type).new
|
|
167
|
+
temp_model.build_from_hash(value)
|
|
168
|
+
end
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# Returns the string representation of the object
|
|
172
|
+
# @return [String] String presentation of the object
|
|
173
|
+
def to_s
|
|
174
|
+
to_hash.to_s
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
178
|
+
# @return [Hash] Returns the object in the form of hash
|
|
179
|
+
def to_body
|
|
180
|
+
to_hash
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# Returns the object in the form of hash
|
|
184
|
+
# @return [Hash] Returns the object in the form of hash
|
|
185
|
+
def to_hash
|
|
186
|
+
hash = {}
|
|
187
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
188
|
+
value = self.send(attr)
|
|
189
|
+
next if value.nil?
|
|
190
|
+
hash[param] = _to_hash(value)
|
|
191
|
+
end
|
|
192
|
+
hash
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# Outputs non-array value in the form of hash
|
|
196
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
197
|
+
# @param [Object] value Any valid value
|
|
198
|
+
# @return [Hash] Returns the value in the form of hash
|
|
199
|
+
def _to_hash(value)
|
|
200
|
+
if value.is_a?(Array)
|
|
201
|
+
value.compact.map { |v| _to_hash(v) }
|
|
202
|
+
elsif value.is_a?(Hash)
|
|
203
|
+
{}.tap do |hash|
|
|
204
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
205
|
+
end
|
|
206
|
+
elsif value.respond_to? :to_hash
|
|
207
|
+
value.to_hash
|
|
208
|
+
else
|
|
209
|
+
value
|
|
210
|
+
end
|
|
211
|
+
end
|
|
212
|
+
end
|
|
213
|
+
end
|
|
@@ -91,7 +91,7 @@ module CyberSource
|
|
|
91
91
|
:'aggregator_information' => :'Ptsv2paymentsidcapturesAggregatorInformation',
|
|
92
92
|
:'point_of_sale_information' => :'Ptsv2paymentsidrefundsPointOfSaleInformation',
|
|
93
93
|
:'merchant_defined_information' => :'Array<Ptsv2paymentsMerchantDefinedInformation>',
|
|
94
|
-
:'travel_information' => :'
|
|
94
|
+
:'travel_information' => :'Ptsv2paymentsidrefundsTravelInformation',
|
|
95
95
|
:'promotion_information' => :'Ptsv2paymentsPromotionInformation',
|
|
96
96
|
:'processor_information' => :'Ptsv2reversalsProcessorInformation'
|
|
97
97
|
}
|
|
@@ -91,7 +91,7 @@ module CyberSource
|
|
|
91
91
|
:'aggregator_information' => :'Ptsv2paymentsidcapturesAggregatorInformation',
|
|
92
92
|
:'point_of_sale_information' => :'Ptsv2paymentsidrefundsPointOfSaleInformation',
|
|
93
93
|
:'merchant_defined_information' => :'Array<Ptsv2paymentsMerchantDefinedInformation>',
|
|
94
|
-
:'travel_information' => :'
|
|
94
|
+
:'travel_information' => :'Ptsv2paymentsidrefundsTravelInformation',
|
|
95
95
|
:'promotion_information' => :'Ptsv2paymentsPromotionInformation',
|
|
96
96
|
:'processor_information' => :'Ptsv2reversalsProcessorInformation'
|
|
97
97
|
}
|
|
@@ -75,7 +75,7 @@ module CyberSource
|
|
|
75
75
|
:'merchant_information' => :'Upv1capturecontextsDataMerchantInformation',
|
|
76
76
|
:'processing_information' => :'Upv1capturecontextsDataProcessingInformation',
|
|
77
77
|
:'recipient_information' => :'Upv1capturecontextsDataRecipientInformation',
|
|
78
|
-
:'merchant_defined_information' => :'Upv1capturecontextsDataMerchantDefinedInformation',
|
|
78
|
+
:'merchant_defined_information' => :'Array<Upv1capturecontextsDataMerchantDefinedInformation>',
|
|
79
79
|
:'device_information' => :'Upv1capturecontextsDataDeviceInformation',
|
|
80
80
|
:'payment_information' => :'Upv1capturecontextsDataPaymentInformation'
|
|
81
81
|
}
|
|
@@ -118,7 +118,9 @@ module CyberSource
|
|
|
118
118
|
end
|
|
119
119
|
|
|
120
120
|
if attributes.has_key?(:'merchantDefinedInformation')
|
|
121
|
-
|
|
121
|
+
if (value = attributes[:'merchantDefinedInformation']).is_a?(Array)
|
|
122
|
+
self.merchant_defined_information = value
|
|
123
|
+
end
|
|
122
124
|
end
|
|
123
125
|
|
|
124
126
|
if attributes.has_key?(:'deviceInformation')
|
data/lib/cybersource_rest_client/models/upv1capturecontexts_data_merchant_defined_information.rb
CHANGED
|
@@ -12,11 +12,12 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
+
# Contains merchant-defined key-value pairs
|
|
15
16
|
class Upv1capturecontextsDataMerchantDefinedInformation
|
|
16
|
-
# The key or identifier for the merchant-defined data field
|
|
17
|
+
# The key or identifier for the merchant-defined data field. Valid values are 1 to 100.
|
|
17
18
|
attr_accessor :key
|
|
18
19
|
|
|
19
|
-
# The value
|
|
20
|
+
# The value you assign for your merchant-defined data field.
|
|
20
21
|
attr_accessor :value
|
|
21
22
|
|
|
22
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -41,10 +41,66 @@ require 'cybersource_rest_client/models/create_access_token_request'
|
|
|
41
41
|
require 'cybersource_rest_client/models/account_validations_request'
|
|
42
42
|
require 'cybersource_rest_client/models/accountupdaterv1batches_included'
|
|
43
43
|
require 'cybersource_rest_client/models/accountupdaterv1batches_included_tokens'
|
|
44
|
+
require 'cybersource_rest_client/models/acpv1instructions_decline_threshold'
|
|
45
|
+
require 'cybersource_rest_client/models/acpv1instructions_mandates'
|
|
46
|
+
require 'cybersource_rest_client/models/acpv1instructions_recurring_payment_information'
|
|
47
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_confirmation_data'
|
|
48
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_merchant_information'
|
|
49
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_order_information'
|
|
50
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_order_information_shipping_details'
|
|
51
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information'
|
|
52
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument'
|
|
53
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idconf_processor_info_payment_instrument_verifi_results'
|
|
54
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_attachments'
|
|
55
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_client_reference_information'
|
|
56
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_mandate_reference_data'
|
|
57
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_merchant_information'
|
|
58
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_merchant_information_merchant_descriptor'
|
|
59
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information'
|
|
60
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_amount_detail'
|
|
61
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items'
|
|
62
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items_additional_info'
|
|
63
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items_policies'
|
|
64
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_line_items'
|
|
65
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_ship_to'
|
|
66
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_payment_options'
|
|
67
|
+
require 'cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_transaction_data'
|
|
68
|
+
require 'cybersource_rest_client/models/acpv1tokens_assurance_data'
|
|
69
|
+
require 'cybersource_rest_client/models/acpv1tokens_authenticated_identities'
|
|
70
|
+
require 'cybersource_rest_client/models/acpv1tokens_authentication_context'
|
|
71
|
+
require 'cybersource_rest_client/models/acpv1tokens_bill_to'
|
|
72
|
+
require 'cybersource_rest_client/models/acpv1tokens_buyer_information'
|
|
73
|
+
require 'cybersource_rest_client/models/acpv1tokens_buyer_information_personal_identification'
|
|
74
|
+
require 'cybersource_rest_client/models/acpv1tokens_consent_data'
|
|
75
|
+
require 'cybersource_rest_client/models/acpv1tokens_consumer_identity'
|
|
76
|
+
require 'cybersource_rest_client/models/acpv1tokens_device_information'
|
|
77
|
+
require 'cybersource_rest_client/models/acpv1tokens_device_information_device_data'
|
|
78
|
+
require 'cybersource_rest_client/models/acpv1tokens_enrollment_reference_data'
|
|
79
|
+
require 'cybersource_rest_client/models/acpv1tokens_payment_information'
|
|
80
|
+
require 'cybersource_rest_client/models/acpv1tokens_payment_information_customer'
|
|
81
|
+
require 'cybersource_rest_client/models/acpv1tokens_payment_information_instrument_identifier'
|
|
82
|
+
require 'cybersource_rest_client/models/acpv1tokens_payment_information_payment_instrument'
|
|
44
83
|
require 'cybersource_rest_client/models/activate_deactivate_plan_response'
|
|
45
84
|
require 'cybersource_rest_client/models/activate_subscription_response'
|
|
46
85
|
require 'cybersource_rest_client/models/activate_subscription_response_subscription_information'
|
|
47
86
|
require 'cybersource_rest_client/models/add_negative_list_request'
|
|
87
|
+
require 'cybersource_rest_client/models/agentic_cancel_purchase_intent_request'
|
|
88
|
+
require 'cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400'
|
|
89
|
+
require 'cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400_error'
|
|
90
|
+
require 'cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400_error_detail'
|
|
91
|
+
require 'cybersource_rest_client/models/agentic_card_enrollment_request'
|
|
92
|
+
require 'cybersource_rest_client/models/agentic_card_enrollment_response200'
|
|
93
|
+
require 'cybersource_rest_client/models/agentic_card_enrollment_response202'
|
|
94
|
+
require 'cybersource_rest_client/models/agentic_confirm_transaction_events_request'
|
|
95
|
+
require 'cybersource_rest_client/models/agentic_confirm_transaction_events_response202'
|
|
96
|
+
require 'cybersource_rest_client/models/agentic_create_purchase_intent_request'
|
|
97
|
+
require 'cybersource_rest_client/models/agentic_create_purchase_intent_response200'
|
|
98
|
+
require 'cybersource_rest_client/models/agentic_pending_purchase_intent_response202'
|
|
99
|
+
require 'cybersource_rest_client/models/agentic_retrieve_payment_credentials_request'
|
|
100
|
+
require 'cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200'
|
|
101
|
+
require 'cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200_transaction_response_complete'
|
|
102
|
+
require 'cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200_transaction_response_with_pending_events'
|
|
103
|
+
require 'cybersource_rest_client/models/agentic_update_purchase_intent_request'
|
|
48
104
|
require 'cybersource_rest_client/models/auth_reversal_request'
|
|
49
105
|
require 'cybersource_rest_client/models/bavsv1accountvalidations_client_reference_information'
|
|
50
106
|
require 'cybersource_rest_client/models/bavsv1accountvalidations_payment_information'
|
|
@@ -67,6 +123,7 @@ require 'cybersource_rest_client/models/boardingv1registrations_organization_inf
|
|
|
67
123
|
require 'cybersource_rest_client/models/boardingv1registrations_organization_information_business_information'
|
|
68
124
|
require 'cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_address'
|
|
69
125
|
require 'cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_business_contact'
|
|
126
|
+
require 'cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_localized_names'
|
|
70
127
|
require 'cybersource_rest_client/models/boardingv1registrations_organization_information_kyc'
|
|
71
128
|
require 'cybersource_rest_client/models/boardingv1registrations_organization_information_kyc_deposit_bank_account'
|
|
72
129
|
require 'cybersource_rest_client/models/boardingv1registrations_organization_information_owners'
|
|
@@ -1032,6 +1089,11 @@ require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_inf
|
|
|
1032
1089
|
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information'
|
|
1033
1090
|
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options'
|
|
1034
1091
|
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_refund_options'
|
|
1092
|
+
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information'
|
|
1093
|
+
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit'
|
|
1094
|
+
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline'
|
|
1095
|
+
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information'
|
|
1096
|
+
require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information_service'
|
|
1035
1097
|
require 'cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information'
|
|
1036
1098
|
require 'cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner'
|
|
1037
1099
|
require 'cybersource_rest_client/models/ptsv2paymentsidreversals_order_information'
|
|
@@ -1661,7 +1723,9 @@ require 'cybersource_rest_client/api/device_search_api'
|
|
|
1661
1723
|
require 'cybersource_rest_client/api/download_dtd_api'
|
|
1662
1724
|
require 'cybersource_rest_client/api/download_xsd_api'
|
|
1663
1725
|
require 'cybersource_rest_client/api/emv_tag_details_api'
|
|
1726
|
+
require 'cybersource_rest_client/api/enrollment_api'
|
|
1664
1727
|
require 'cybersource_rest_client/api/flex_api_api'
|
|
1728
|
+
require 'cybersource_rest_client/api/instructions_api'
|
|
1665
1729
|
require 'cybersource_rest_client/api/instrument_identifier_api'
|
|
1666
1730
|
require 'cybersource_rest_client/api/interchange_clearing_level_details_api'
|
|
1667
1731
|
require 'cybersource_rest_client/api/invoice_settings_api'
|