cybersource_rest_client 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +63 -63
- data/lib/AuthenticationSDK/authentication/http/HttpSignatureHeader.rb +52 -52
- data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +61 -61
- data/lib/AuthenticationSDK/authentication/payloadDigest/digest.rb +9 -9
- data/lib/AuthenticationSDK/core/Authorization.rb +24 -24
- data/lib/AuthenticationSDK/core/ITokenGeneration.rb +3 -3
- data/lib/AuthenticationSDK/core/Logger.rb +25 -25
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +180 -180
- data/lib/AuthenticationSDK/resource/TRRReports.json +11 -11
- data/lib/AuthenticationSDK/resource/cybs.yml +30 -30
- data/lib/AuthenticationSDK/resource/request.json +53 -53
- data/lib/AuthenticationSDK/resource/request_capture.json +10 -10
- data/lib/AuthenticationSDK/spec/Authorization_spec.rb +273 -273
- data/lib/AuthenticationSDK/spec/MerchantConfigData.rb +58 -58
- data/lib/AuthenticationSDK/spec/MerchantConfig_spec.rb +115 -115
- data/lib/AuthenticationSDK/spec/PostRequestData.json +53 -53
- data/lib/AuthenticationSDK/spec/PutRequestData.json +11 -11
- data/lib/AuthenticationSDK/spec/ResponseCodeMessage_spec.rb +59 -59
- data/lib/AuthenticationSDK/spec/spec_helper.rb +12 -12
- data/lib/AuthenticationSDK/util/ApiException.rb +18 -18
- data/lib/AuthenticationSDK/util/Cache.rb +35 -35
- data/lib/AuthenticationSDK/util/Constants.rb +137 -137
- data/lib/AuthenticationSDK/util/PropertiesUtil.rb +18 -18
- data/lib/AuthenticationSDK/util/Utility.rb +31 -31
- data/lib/cybersource_rest_client.rb +8 -2
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +1 -1
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +88 -0
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +88 -0
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +1 -1
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +129 -0
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +70 -0
- data/lib/cybersource_rest_client/api_client.rb +459 -459
- data/lib/cybersource_rest_client/api_error.rb +38 -38
- data/lib/cybersource_rest_client/configuration.rb +202 -202
- data/lib/cybersource_rest_client/models/auth_reversal_request.rb +219 -219
- data/lib/cybersource_rest_client/models/authorization_options.rb +183 -183
- data/lib/cybersource_rest_client/models/bill_to.rb +467 -467
- data/lib/cybersource_rest_client/models/buyer_information.rb +278 -278
- data/lib/cybersource_rest_client/models/capture_payment_request.rb +276 -276
- data/lib/cybersource_rest_client/models/card_info.rb +224 -224
- data/lib/cybersource_rest_client/models/create_credit_request.rb +267 -267
- data/lib/cybersource_rest_client/models/create_decision_manager_case_request.rb +266 -266
- data/lib/cybersource_rest_client/models/create_instrument_identifier_request.rb +211 -202
- data/lib/cybersource_rest_client/models/create_payment_instrument_request.rb +285 -285
- data/lib/cybersource_rest_client/models/create_payment_request.rb +303 -303
- data/lib/cybersource_rest_client/models/create_search_request.rb +244 -244
- data/lib/cybersource_rest_client/models/der_public_key.rb +205 -205
- data/lib/cybersource_rest_client/models/detail.rb +194 -194
- data/lib/cybersource_rest_client/models/embedded_instrument_identifier.rb +273 -273
- data/lib/cybersource_rest_client/models/error.rb +192 -202
- data/lib/cybersource_rest_client/models/error_bean.rb +247 -247
- data/lib/cybersource_rest_client/models/error_field_bean.rb +205 -205
- data/lib/cybersource_rest_client/models/error_links.rb +205 -205
- data/lib/cybersource_rest_client/models/error_response.rb +192 -174
- data/lib/cybersource_rest_client/models/error_response_with_hal.rb +174 -174
- data/lib/cybersource_rest_client/models/existing_instrument_identifier_id.rb +175 -175
- data/lib/cybersource_rest_client/models/file_bean.rb +202 -202
- data/lib/cybersource_rest_client/models/file_detail.rb +244 -244
- data/lib/cybersource_rest_client/models/file_details_response.rb +194 -194
- data/lib/cybersource_rest_client/models/flex_v1_keys_post200_response.rb +202 -202
- data/lib/cybersource_rest_client/models/flex_v1_keys_post200_response_der.rb +205 -205
- data/lib/cybersource_rest_client/models/flex_v1_keys_post200_response_jwk.rb +225 -225
- data/lib/cybersource_rest_client/models/flex_v1_tokens_post200_response.rb +255 -255
- data/lib/cybersource_rest_client/models/flexv1tokens_card_info.rb +224 -224
- data/lib/cybersource_rest_client/models/generate_public_key_request.rb +189 -189
- data/lib/cybersource_rest_client/models/initiator.rb +183 -183
- data/lib/cybersource_rest_client/models/inline_response_400.rb +202 -247
- data/lib/cybersource_rest_client/models/inline_response_400_1.rb +247 -202
- data/lib/cybersource_rest_client/models/{inline_response_400_fields.rb → inline_response_400_1_fields.rb} +205 -205
- data/lib/cybersource_rest_client/models/inline_response_default.rb +192 -192
- data/lib/cybersource_rest_client/models/inline_response_default__links.rb +205 -205
- data/lib/cybersource_rest_client/models/inline_response_default__links_next.rb +204 -204
- data/lib/cybersource_rest_client/models/inline_response_default_response_status.rb +225 -225
- data/lib/cybersource_rest_client/models/inline_response_default_response_status_details.rb +194 -194
- data/lib/cybersource_rest_client/models/instrument_identifier.rb +249 -249
- data/lib/cybersource_rest_client/models/instrument_identifier_bank_account.rb +242 -242
- data/lib/cybersource_rest_client/models/instrument_identifier_card.rb +208 -208
- data/lib/cybersource_rest_client/models/instrument_identifier_enrollable_card.rb +211 -202
- data/lib/cybersource_rest_client/models/instrument_identifier_processing_information.rb +183 -183
- data/lib/cybersource_rest_client/models/instrument_identifier_update.rb +183 -183
- data/lib/cybersource_rest_client/models/json_web_key.rb +225 -225
- data/lib/cybersource_rest_client/models/key_parameters.rb +189 -189
- data/lib/cybersource_rest_client/models/key_result.rb +202 -202
- data/lib/cybersource_rest_client/models/link.rb +204 -183
- data/lib/cybersource_rest_client/models/links.rb +205 -201
- data/lib/cybersource_rest_client/models/merchant_information.rb +183 -183
- data/lib/cybersource_rest_client/models/merchant_initiated_transaction.rb +199 -199
- data/lib/cybersource_rest_client/models/metadata.rb +184 -184
- data/lib/cybersource_rest_client/models/model_409_link.rb +183 -183
- data/lib/cybersource_rest_client/models/model_409_links.rb +183 -183
- data/lib/cybersource_rest_client/models/oct_create_payment_request.rb +237 -237
- data/lib/cybersource_rest_client/models/payment_instrument.rb +285 -285
- data/lib/cybersource_rest_client/models/payment_instrument_bank_account.rb +184 -184
- data/lib/cybersource_rest_client/models/payment_instrument_card.rb +369 -369
- data/lib/cybersource_rest_client/models/payment_instrument_for_instrument_identifier_links.rb +219 -219
- data/lib/cybersource_rest_client/models/payment_instruments_array.rb +175 -175
- data/lib/cybersource_rest_client/models/payment_instruments_for_instrument_identifier.rb +242 -242
- data/lib/cybersource_rest_client/models/personal_identification.rb +203 -203
- data/lib/cybersource_rest_client/models/personal_identification_array.rb +174 -174
- data/lib/cybersource_rest_client/models/pi_for_ii_link_first.rb +184 -184
- data/lib/cybersource_rest_client/models/pi_for_ii_link_last.rb +184 -184
- data/lib/cybersource_rest_client/models/pi_for_ii_link_next.rb +184 -184
- data/lib/cybersource_rest_client/models/pi_for_ii_link_prev.rb +184 -184
- data/lib/cybersource_rest_client/models/pi_for_ii_link_self.rb +184 -184
- data/lib/cybersource_rest_client/models/processing_information.rb +195 -195
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response.rb +204 -204
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response__links.rb +183 -183
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response__links_self.rb +192 -192
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response_transaction_batches.rb +277 -277
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response.rb +193 -193
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response_error_information.rb +203 -203
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response_error_information_details.rb +194 -194
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get500_response.rb +193 -193
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get500_response_error_information.rb +194 -194
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response.rb +286 -286
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response__links.rb +185 -185
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response__links_transactions.rb +193 -193
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +307 -307
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +224 -224
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information.rb +183 -183
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information.rb +183 -183
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +199 -199
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +280 -280
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response__links.rb +201 -201
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information.rb +192 -192
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +224 -224
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +199 -199
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb +225 -225
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +334 -334
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response__links.rb +201 -201
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response__links_self.rb +194 -194
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +234 -234
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +205 -205
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information_details.rb +194 -194
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +324 -324
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +249 -249
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information.rb +192 -192
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +249 -249
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +184 -184
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +210 -210
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +599 -599
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +208 -208
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +199 -199
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_card.rb +184 -184
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +334 -334
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +208 -208
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +249 -199
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +183 -183
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +224 -224
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +701 -701
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +224 -224
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +224 -224
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +224 -224
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +224 -224
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb +199 -199
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +474 -474
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +224 -224
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +249 -249
- data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +225 -225
- data/lib/cybersource_rest_client/models/pts_v2_payments_post502_response.rb +214 -214
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +289 -289
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response__links.rb +192 -192
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information.rb +183 -183
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +283 -283
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +224 -224
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb +225 -225
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +307 -307
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response__links.rb +183 -183
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb +249 -249
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +199 -199
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +324 -324
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +249 -249
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post400_response.rb +225 -225
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +246 -246
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +219 -219
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post400_response.rb +225 -225
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +307 -307
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_error_information.rb +205 -205
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information.rb +183 -183
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +234 -234
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information.rb +183 -183
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +274 -274
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +299 -299
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information.rb +183 -183
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +224 -224
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post400_response.rb +225 -225
- data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb +365 -365
- data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb +221 -221
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +417 -392
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +349 -349
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +233 -233
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +424 -424
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +310 -310
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +219 -219
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +228 -228
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +249 -249
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +374 -374
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +249 -249
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +364 -364
- data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +199 -199
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +224 -224
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +367 -367
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +359 -359
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +249 -249
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +249 -224
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +230 -230
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +705 -680
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +224 -224
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +209 -209
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +319 -319
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +634 -634
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +410 -410
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +199 -199
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +774 -774
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +474 -474
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +235 -235
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +219 -219
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +208 -208
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +299 -299
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +484 -484
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +184 -184
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +259 -259
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +409 -409
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +677 -677
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +256 -256
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +457 -432
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +359 -359
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +213 -213
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +424 -424
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +267 -267
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +198 -198
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +249 -249
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +233 -233
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +374 -374
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +224 -224
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +354 -354
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +292 -292
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information.rb +230 -230
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +621 -596
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +449 -449
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +320 -320
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +249 -249
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +199 -199
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information.rb +183 -183
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +208 -208
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +211 -211
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +376 -351
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +249 -249
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options.rb +242 -242
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +283 -283
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information.rb +230 -230
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +639 -639
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +201 -201
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +359 -359
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb +183 -183
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +333 -333
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +186 -186
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +218 -218
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +224 -224
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information.rb +194 -194
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_amount_details.rb +199 -199
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +233 -233
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information.rb +183 -183
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +199 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +308 -308
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb +193 -193
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +224 -224
- data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +199 -199
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +243 -243
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +309 -309
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information.rb +192 -192
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +233 -233
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +199 -199
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +409 -409
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information.rb +192 -192
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +284 -284
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +283 -283
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +274 -274
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +433 -433
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +517 -517
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +233 -233
- data/lib/cybersource_rest_client/models/refund_capture_request.rb +267 -267
- data/lib/cybersource_rest_client/models/refund_payment_request.rb +267 -267
- data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response.rb +213 -213
- data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response_conversion_details.rb +275 -275
- data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response_notes.rb +204 -204
- data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response.rb +266 -266
- data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response_net_funding_summaries.rb +248 -248
- data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response_total_purchases.rb +203 -203
- data/lib/cybersource_rest_client/models/reporting_v3_notificationof_changes_get200_response.rb +186 -186
- data/lib/cybersource_rest_client/models/reporting_v3_notificationof_changes_get200_response_notification_of_changes.rb +255 -255
- data/lib/cybersource_rest_client/models/reporting_v3_payment_batch_summaries_get200_response.rb +203 -0
- data/lib/cybersource_rest_client/models/reporting_v3_payment_batch_summaries_get200_response_payment_batch_summaries.rb +282 -0
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response.rb +273 -273
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_authorizations.rb +255 -255
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_fee_and_funding_details.rb +320 -290
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_others.rb +260 -260
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_request_details.rb +235 -235
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlement_statuses.rb +240 -240
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlements.rb +304 -304
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response.rb +185 -185
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response_report_definitions.rb +222 -222
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response.rb +232 -232
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response_attributes.rb +239 -239
- data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response.rb +185 -185
- data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response_subscriptions.rb +308 -308
- data/lib/cybersource_rest_client/models/reporting_v3_reports_get200_response.rb +185 -185
- data/lib/cybersource_rest_client/models/reporting_v3_reports_get200_response_report_search_results.rb +325 -325
- data/lib/cybersource_rest_client/models/reporting_v3_reports_id_get200_response.rb +318 -318
- data/lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response.rb +237 -237
- data/lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response_details.rb +195 -195
- data/lib/cybersource_rest_client/models/reportingv3reports_report_preferences.rb +195 -195
- data/lib/cybersource_rest_client/models/request_body.rb +382 -382
- data/lib/cybersource_rest_client/models/request_body_1.rb +457 -457
- data/lib/cybersource_rest_client/models/response_status.rb +225 -225
- data/lib/cybersource_rest_client/models/response_status_details.rb +194 -194
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +265 -265
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +300 -300
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information.rb +284 -284
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_info_codes.rb +270 -270
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_ip_address.rb +300 -300
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_profile.rb +249 -249
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_providers.rb +185 -185
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_providers_provider_name.rb +197 -197
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_rules.rb +224 -224
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_score.rb +235 -235
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel.rb +210 -210
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_actual_final_destination.rb +274 -274
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_first_departure.rb +274 -274
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_first_destination.rb +274 -274
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_last_destination.rb +274 -274
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_velocity.rb +197 -197
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_velocity_morphing.rb +234 -234
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post400_response.rb +225 -225
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +261 -261
- data/lib/cybersource_rest_client/models/riskv1decisions_card_verification.rb +199 -199
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +224 -224
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +279 -279
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_defined_information.rb +225 -225
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +233 -233
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +234 -234
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +424 -424
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +377 -377
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_passenger.rb +375 -375
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +400 -400
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +210 -210
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +193 -193
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +285 -285
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +260 -260
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information.rb +184 -184
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_avs.rb +200 -200
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +208 -208
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information_profile.rb +200 -200
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +285 -285
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +249 -249
- data/lib/cybersource_rest_client/models/self_link_bean.rb +192 -192
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_delete409_response.rb +183 -183
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_delete409_response__links.rb +183 -183
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_delete409_response__links_payment_instruments.rb +183 -183
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response.rb +242 -242
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded.rb +186 -186
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_bank_account.rb +184 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_bill_to.rb +467 -467
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_buyer_information.rb +278 -278
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_card.rb +369 -369
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links.rb +219 -219
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_first.rb +184 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_last.rb +184 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_next.rb +184 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_prev.rb +184 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_self.rb +184 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_bank_transfer_options.rb +184 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_buyer_information_issued_by.rb +184 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_instrument_identifier.rb +273 -273
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_merchant_descriptor.rb +184 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_merchant_information.rb +183 -183
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_payment_instruments.rb +285 -285
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_personal_identification.rb +203 -203
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_processing_information.rb +195 -195
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response.rb +249 -249
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response__links.rb +201 -201
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response__links_self.rb +183 -183
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_authorization_options_initiator.rb +183 -183
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_card.rb +208 -208
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_merchant_initiated_transaction.rb +199 -199
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_metadata.rb +184 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_processing_information.rb +183 -183
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_processing_information_authorization_options.rb +183 -183
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response_bank_account.rb → tmsv1instrumentidentifiers_bank_account.rb} +242 -242
- data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_bill_to.rb +234 -234
- data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_card.rb +310 -310
- data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_details.rb +194 -194
- data/lib/cybersource_rest_client/models/tokenize_parameters.rb +198 -198
- data/lib/cybersource_rest_client/models/tokenize_request.rb +198 -198
- data/lib/cybersource_rest_client/models/tokenize_result.rb +255 -255
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +444 -444
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response__links.rb +194 -194
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb +225 -225
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information_applications.rb +254 -254
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +224 -224
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +254 -254
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +259 -259
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +234 -234
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_error_information.rb +205 -205
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_fraud_marking_information.rb +184 -184
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_installment_information.rb +184 -184
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information.rb +183 -183
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb +184 -184
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information.rb +222 -222
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +324 -324
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +524 -524
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +343 -343
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +424 -424
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +209 -209
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb +228 -228
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +249 -249
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +242 -242
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +289 -289
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb +204 -204
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +394 -394
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_invoice.rb +204 -204
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb +223 -223
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type_funding_source.rb +224 -224
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +233 -233
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +252 -252
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +199 -199
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_bank_transfer_options.rb +184 -184
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +359 -359
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +424 -424
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_processor.rb +199 -199
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information.rb +233 -233
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_profile.rb +194 -194
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules.rb +225 -225
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_score.rb +196 -196
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +199 -199
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +327 -327
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded.rb +186 -186
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded__links.rb +183 -183
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +199 -199
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +219 -219
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +209 -209
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +199 -199
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +199 -199
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information.rb +201 -201
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +299 -299
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +299 -299
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information.rb +201 -201
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +219 -219
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_payment_type.rb +194 -194
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +243 -243
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +199 -199
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +209 -209
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processor_information.rb +183 -183
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information.rb +183 -183
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers.rb +183 -183
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +249 -249
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +357 -357
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post400_response.rb +215 -215
- data/lib/cybersource_rest_client/models/ums_v1_users_get200_response.rb +185 -185
- data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_account_information.rb +249 -249
- data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_contact_information.rb +210 -210
- data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_organization_information.rb +183 -183
- data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_users.rb +201 -201
- data/lib/cybersource_rest_client/models/update_instrument_identifier_request.rb +183 -183
- data/lib/cybersource_rest_client/models/update_payment_instrument_request.rb +285 -285
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response.rb +194 -194
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response__links.rb +194 -194
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response__links_files.rb +202 -202
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response__links_self.rb +192 -192
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +244 -244
- data/lib/cybersource_rest_client/models/void_capture_request.rb +183 -183
- data/lib/cybersource_rest_client/models/void_credit_request.rb +183 -183
- data/lib/cybersource_rest_client/models/void_payment_request.rb +183 -183
- data/lib/cybersource_rest_client/models/void_refund_request.rb +183 -183
- data/lib/cybersource_rest_client/version.rb +15 -15
- metadata +29 -24
@@ -1,225 +1,225 @@
|
|
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.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
|
15
|
-
module CyberSource
|
16
|
-
class PtsV2PayoutsPost400Response
|
17
|
-
# Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC.
|
18
|
-
attr_accessor :submit_time_utc
|
19
|
-
|
20
|
-
# The status of the submitted transaction.
|
21
|
-
attr_accessor :status
|
22
|
-
|
23
|
-
# The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - INVALID_MERCHANT_CONFIGURATION - INVALID_AMOUNT - DEBIT_CARD_USEAGE_EXCEEDD_LIMIT
|
24
|
-
attr_accessor :reason
|
25
|
-
|
26
|
-
# The detail message related to the status and reason listed above.
|
27
|
-
attr_accessor :message
|
28
|
-
|
29
|
-
attr_accessor :details
|
30
|
-
|
31
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
32
|
-
def self.attribute_map
|
33
|
-
{
|
34
|
-
:'submit_time_utc' => :'submitTimeUtc',
|
35
|
-
:'status' => :'status',
|
36
|
-
:'reason' => :'reason',
|
37
|
-
:'message' => :'message',
|
38
|
-
:'details' => :'details'
|
39
|
-
}
|
40
|
-
end
|
41
|
-
|
42
|
-
# Attribute type mapping.
|
43
|
-
def self.swagger_types
|
44
|
-
{
|
45
|
-
:'submit_time_utc' => :'String',
|
46
|
-
:'status' => :'String',
|
47
|
-
:'reason' => :'String',
|
48
|
-
:'message' => :'String',
|
49
|
-
:'details' => :'Array<PtsV2PaymentsPost201ResponseErrorInformationDetails>'
|
50
|
-
}
|
51
|
-
end
|
52
|
-
|
53
|
-
# Initializes the object
|
54
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
55
|
-
def initialize(attributes = {})
|
56
|
-
return unless attributes.is_a?(Hash)
|
57
|
-
|
58
|
-
# convert string to symbol for hash key
|
59
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
60
|
-
|
61
|
-
if attributes.has_key?(:'submitTimeUtc')
|
62
|
-
self.submit_time_utc = attributes[:'submitTimeUtc']
|
63
|
-
end
|
64
|
-
|
65
|
-
if attributes.has_key?(:'status')
|
66
|
-
self.status = attributes[:'status']
|
67
|
-
end
|
68
|
-
|
69
|
-
if attributes.has_key?(:'reason')
|
70
|
-
self.reason = attributes[:'reason']
|
71
|
-
end
|
72
|
-
|
73
|
-
if attributes.has_key?(:'message')
|
74
|
-
self.message = attributes[:'message']
|
75
|
-
end
|
76
|
-
|
77
|
-
if attributes.has_key?(:'details')
|
78
|
-
if (value = attributes[:'details']).is_a?(Array)
|
79
|
-
self.details = value
|
80
|
-
end
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
85
|
-
# @return Array for valid properties with the reasons
|
86
|
-
def list_invalid_properties
|
87
|
-
invalid_properties = Array.new
|
88
|
-
invalid_properties
|
89
|
-
end
|
90
|
-
|
91
|
-
# Check to see if the all the properties in the model are valid
|
92
|
-
# @return true if the model is valid
|
93
|
-
def valid?
|
94
|
-
true
|
95
|
-
end
|
96
|
-
|
97
|
-
# Checks equality by comparing each attribute.
|
98
|
-
# @param [Object] Object to be compared
|
99
|
-
def ==(o)
|
100
|
-
return true if self.equal?(o)
|
101
|
-
self.class == o.class &&
|
102
|
-
submit_time_utc == o.submit_time_utc &&
|
103
|
-
status == o.status &&
|
104
|
-
reason == o.reason &&
|
105
|
-
message == o.message &&
|
106
|
-
details == o.details
|
107
|
-
end
|
108
|
-
|
109
|
-
# @see the `==` method
|
110
|
-
# @param [Object] Object to be compared
|
111
|
-
def eql?(o)
|
112
|
-
self == o
|
113
|
-
end
|
114
|
-
|
115
|
-
# Calculates hash code according to all attributes.
|
116
|
-
# @return [Fixnum] Hash code
|
117
|
-
def hash
|
118
|
-
[submit_time_utc, status, reason, message, details].hash
|
119
|
-
end
|
120
|
-
|
121
|
-
# Builds the object from hash
|
122
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
123
|
-
# @return [Object] Returns the model itself
|
124
|
-
def build_from_hash(attributes)
|
125
|
-
return nil unless attributes.is_a?(Hash)
|
126
|
-
self.class.swagger_types.each_pair do |key, type|
|
127
|
-
if type =~ /\AArray<(.*)>/i
|
128
|
-
# check to ensure the input is an array given that the the attribute
|
129
|
-
# is documented as an array but the input is not
|
130
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
131
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
132
|
-
end
|
133
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
134
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
135
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
136
|
-
end
|
137
|
-
|
138
|
-
self
|
139
|
-
end
|
140
|
-
|
141
|
-
# Deserializes the data based on type
|
142
|
-
# @param string type Data type
|
143
|
-
# @param string value Value to be deserialized
|
144
|
-
# @return [Object] Deserialized data
|
145
|
-
def _deserialize(type, value)
|
146
|
-
case type.to_sym
|
147
|
-
when :DateTime
|
148
|
-
DateTime.parse(value)
|
149
|
-
when :Date
|
150
|
-
Date.parse(value)
|
151
|
-
when :String
|
152
|
-
value.to_s
|
153
|
-
when :Integer
|
154
|
-
value.to_i
|
155
|
-
when :Float
|
156
|
-
value.to_f
|
157
|
-
when :BOOLEAN
|
158
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
159
|
-
true
|
160
|
-
else
|
161
|
-
false
|
162
|
-
end
|
163
|
-
when :Object
|
164
|
-
# generic object (usually a Hash), return directly
|
165
|
-
value
|
166
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
167
|
-
inner_type = Regexp.last_match[:inner_type]
|
168
|
-
value.map { |v| _deserialize(inner_type, v) }
|
169
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
170
|
-
k_type = Regexp.last_match[:k_type]
|
171
|
-
v_type = Regexp.last_match[:v_type]
|
172
|
-
{}.tap do |hash|
|
173
|
-
value.each do |k, v|
|
174
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
175
|
-
end
|
176
|
-
end
|
177
|
-
else # model
|
178
|
-
temp_model = CyberSource.const_get(type).new
|
179
|
-
temp_model.build_from_hash(value)
|
180
|
-
end
|
181
|
-
end
|
182
|
-
|
183
|
-
# Returns the string representation of the object
|
184
|
-
# @return [String] String presentation of the object
|
185
|
-
def to_s
|
186
|
-
to_hash.to_s
|
187
|
-
end
|
188
|
-
|
189
|
-
# to_body is an alias to to_hash (backward compatibility)
|
190
|
-
# @return [Hash] Returns the object in the form of hash
|
191
|
-
def to_body
|
192
|
-
to_hash
|
193
|
-
end
|
194
|
-
|
195
|
-
# Returns the object in the form of hash
|
196
|
-
# @return [Hash] Returns the object in the form of hash
|
197
|
-
def to_hash
|
198
|
-
hash = {}
|
199
|
-
self.class.attribute_map.each_pair do |attr, param|
|
200
|
-
value = self.send(attr)
|
201
|
-
next if value.nil?
|
202
|
-
hash[param] = _to_hash(value)
|
203
|
-
end
|
204
|
-
hash
|
205
|
-
end
|
206
|
-
|
207
|
-
# Outputs non-array value in the form of hash
|
208
|
-
# For object, use to_hash. Otherwise, just return the value
|
209
|
-
# @param [Object] value Any valid value
|
210
|
-
# @return [Hash] Returns the value in the form of hash
|
211
|
-
def _to_hash(value)
|
212
|
-
if value.is_a?(Array)
|
213
|
-
value.compact.map { |v| _to_hash(v) }
|
214
|
-
elsif value.is_a?(Hash)
|
215
|
-
{}.tap do |hash|
|
216
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
217
|
-
end
|
218
|
-
elsif value.respond_to? :to_hash
|
219
|
-
value.to_hash
|
220
|
-
else
|
221
|
-
value
|
222
|
-
end
|
223
|
-
end
|
224
|
-
end
|
225
|
-
end
|
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.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module CyberSource
|
16
|
+
class PtsV2PayoutsPost400Response
|
17
|
+
# Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC.
|
18
|
+
attr_accessor :submit_time_utc
|
19
|
+
|
20
|
+
# The status of the submitted transaction.
|
21
|
+
attr_accessor :status
|
22
|
+
|
23
|
+
# The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - INVALID_MERCHANT_CONFIGURATION - INVALID_AMOUNT - DEBIT_CARD_USEAGE_EXCEEDD_LIMIT
|
24
|
+
attr_accessor :reason
|
25
|
+
|
26
|
+
# The detail message related to the status and reason listed above.
|
27
|
+
attr_accessor :message
|
28
|
+
|
29
|
+
attr_accessor :details
|
30
|
+
|
31
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
32
|
+
def self.attribute_map
|
33
|
+
{
|
34
|
+
:'submit_time_utc' => :'submitTimeUtc',
|
35
|
+
:'status' => :'status',
|
36
|
+
:'reason' => :'reason',
|
37
|
+
:'message' => :'message',
|
38
|
+
:'details' => :'details'
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
# Attribute type mapping.
|
43
|
+
def self.swagger_types
|
44
|
+
{
|
45
|
+
:'submit_time_utc' => :'String',
|
46
|
+
:'status' => :'String',
|
47
|
+
:'reason' => :'String',
|
48
|
+
:'message' => :'String',
|
49
|
+
:'details' => :'Array<PtsV2PaymentsPost201ResponseErrorInformationDetails>'
|
50
|
+
}
|
51
|
+
end
|
52
|
+
|
53
|
+
# Initializes the object
|
54
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
55
|
+
def initialize(attributes = {})
|
56
|
+
return unless attributes.is_a?(Hash)
|
57
|
+
|
58
|
+
# convert string to symbol for hash key
|
59
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
60
|
+
|
61
|
+
if attributes.has_key?(:'submitTimeUtc')
|
62
|
+
self.submit_time_utc = attributes[:'submitTimeUtc']
|
63
|
+
end
|
64
|
+
|
65
|
+
if attributes.has_key?(:'status')
|
66
|
+
self.status = attributes[:'status']
|
67
|
+
end
|
68
|
+
|
69
|
+
if attributes.has_key?(:'reason')
|
70
|
+
self.reason = attributes[:'reason']
|
71
|
+
end
|
72
|
+
|
73
|
+
if attributes.has_key?(:'message')
|
74
|
+
self.message = attributes[:'message']
|
75
|
+
end
|
76
|
+
|
77
|
+
if attributes.has_key?(:'details')
|
78
|
+
if (value = attributes[:'details']).is_a?(Array)
|
79
|
+
self.details = value
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
85
|
+
# @return Array for valid properties with the reasons
|
86
|
+
def list_invalid_properties
|
87
|
+
invalid_properties = Array.new
|
88
|
+
invalid_properties
|
89
|
+
end
|
90
|
+
|
91
|
+
# Check to see if the all the properties in the model are valid
|
92
|
+
# @return true if the model is valid
|
93
|
+
def valid?
|
94
|
+
true
|
95
|
+
end
|
96
|
+
|
97
|
+
# Checks equality by comparing each attribute.
|
98
|
+
# @param [Object] Object to be compared
|
99
|
+
def ==(o)
|
100
|
+
return true if self.equal?(o)
|
101
|
+
self.class == o.class &&
|
102
|
+
submit_time_utc == o.submit_time_utc &&
|
103
|
+
status == o.status &&
|
104
|
+
reason == o.reason &&
|
105
|
+
message == o.message &&
|
106
|
+
details == o.details
|
107
|
+
end
|
108
|
+
|
109
|
+
# @see the `==` method
|
110
|
+
# @param [Object] Object to be compared
|
111
|
+
def eql?(o)
|
112
|
+
self == o
|
113
|
+
end
|
114
|
+
|
115
|
+
# Calculates hash code according to all attributes.
|
116
|
+
# @return [Fixnum] Hash code
|
117
|
+
def hash
|
118
|
+
[submit_time_utc, status, reason, message, details].hash
|
119
|
+
end
|
120
|
+
|
121
|
+
# Builds the object from hash
|
122
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
123
|
+
# @return [Object] Returns the model itself
|
124
|
+
def build_from_hash(attributes)
|
125
|
+
return nil unless attributes.is_a?(Hash)
|
126
|
+
self.class.swagger_types.each_pair do |key, type|
|
127
|
+
if type =~ /\AArray<(.*)>/i
|
128
|
+
# check to ensure the input is an array given that the the attribute
|
129
|
+
# is documented as an array but the input is not
|
130
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
131
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
132
|
+
end
|
133
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
134
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
135
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
136
|
+
end
|
137
|
+
|
138
|
+
self
|
139
|
+
end
|
140
|
+
|
141
|
+
# Deserializes the data based on type
|
142
|
+
# @param string type Data type
|
143
|
+
# @param string value Value to be deserialized
|
144
|
+
# @return [Object] Deserialized data
|
145
|
+
def _deserialize(type, value)
|
146
|
+
case type.to_sym
|
147
|
+
when :DateTime
|
148
|
+
DateTime.parse(value)
|
149
|
+
when :Date
|
150
|
+
Date.parse(value)
|
151
|
+
when :String
|
152
|
+
value.to_s
|
153
|
+
when :Integer
|
154
|
+
value.to_i
|
155
|
+
when :Float
|
156
|
+
value.to_f
|
157
|
+
when :BOOLEAN
|
158
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
159
|
+
true
|
160
|
+
else
|
161
|
+
false
|
162
|
+
end
|
163
|
+
when :Object
|
164
|
+
# generic object (usually a Hash), return directly
|
165
|
+
value
|
166
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
167
|
+
inner_type = Regexp.last_match[:inner_type]
|
168
|
+
value.map { |v| _deserialize(inner_type, v) }
|
169
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
170
|
+
k_type = Regexp.last_match[:k_type]
|
171
|
+
v_type = Regexp.last_match[:v_type]
|
172
|
+
{}.tap do |hash|
|
173
|
+
value.each do |k, v|
|
174
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
175
|
+
end
|
176
|
+
end
|
177
|
+
else # model
|
178
|
+
temp_model = CyberSource.const_get(type).new
|
179
|
+
temp_model.build_from_hash(value)
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
# Returns the string representation of the object
|
184
|
+
# @return [String] String presentation of the object
|
185
|
+
def to_s
|
186
|
+
to_hash.to_s
|
187
|
+
end
|
188
|
+
|
189
|
+
# to_body is an alias to to_hash (backward compatibility)
|
190
|
+
# @return [Hash] Returns the object in the form of hash
|
191
|
+
def to_body
|
192
|
+
to_hash
|
193
|
+
end
|
194
|
+
|
195
|
+
# Returns the object in the form of hash
|
196
|
+
# @return [Hash] Returns the object in the form of hash
|
197
|
+
def to_hash
|
198
|
+
hash = {}
|
199
|
+
self.class.attribute_map.each_pair do |attr, param|
|
200
|
+
value = self.send(attr)
|
201
|
+
next if value.nil?
|
202
|
+
hash[param] = _to_hash(value)
|
203
|
+
end
|
204
|
+
hash
|
205
|
+
end
|
206
|
+
|
207
|
+
# Outputs non-array value in the form of hash
|
208
|
+
# For object, use to_hash. Otherwise, just return the value
|
209
|
+
# @param [Object] value Any valid value
|
210
|
+
# @return [Hash] Returns the value in the form of hash
|
211
|
+
def _to_hash(value)
|
212
|
+
if value.is_a?(Array)
|
213
|
+
value.compact.map { |v| _to_hash(v) }
|
214
|
+
elsif value.is_a?(Hash)
|
215
|
+
{}.tap do |hash|
|
216
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
217
|
+
end
|
218
|
+
elsif value.respond_to? :to_hash
|
219
|
+
value.to_hash
|
220
|
+
else
|
221
|
+
value
|
222
|
+
end
|
223
|
+
end
|
224
|
+
end
|
225
|
+
end
|
@@ -1,365 +1,365 @@
|
|
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.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
|
15
|
-
module CyberSource
|
16
|
-
class Ptsv2creditsPointOfSaleInformation
|
17
|
-
attr_accessor :emv
|
18
|
-
|
19
|
-
# Version of the software installed on the POS terminal. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX.
|
20
|
-
attr_accessor :partner_sdk_version
|
21
|
-
|
22
|
-
# When connectivity is unavailable, the client software that is installed on the POS terminal can store a transaction in its memory and send it for authorization when connectivity is restored. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. Possible values: - Y: Transaction was stored and then forwarded. - N (default): Transaction was not stored and then forwarded. This field is supported only on American Express Direct, FDC Nashville Global, and SIX.
|
23
|
-
attr_accessor :store_and_forward_indicator
|
24
|
-
|
25
|
-
attr_accessor :cardholder_verification_method
|
26
|
-
|
27
|
-
attr_accessor :terminal_input_capability
|
28
|
-
|
29
|
-
# Terminal serial number assigned by the hardware manufacturer. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX. For details, see the `terminal_serial_number` field description in [Card-Present Processing Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Retail_SCMP_API/html/wwhelp/wwhimpl/js/html/wwhelp.htm)
|
30
|
-
attr_accessor :terminal_serial_number
|
31
|
-
|
32
|
-
# Indicates whether the terminal can capture the card. Possible values: - 1: Terminal can capture card. - 0: Terminal cannot capture card. This field is supported only on American Express Direct.
|
33
|
-
attr_accessor :terminal_card_capture_capability
|
34
|
-
|
35
|
-
# Indicates whether the terminal can print or display messages. Possible values: - 1: Neither - 2: Print only - 3: Display only - 4: Print and display This field is supported only on American Express Direct.
|
36
|
-
attr_accessor :terminal_output_capability
|
37
|
-
|
38
|
-
# Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported only on American Express Direct and SIX.
|
39
|
-
attr_accessor :terminal_pin_capability
|
40
|
-
|
41
|
-
# Value created by the client software that uniquely identifies the POS device. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX.
|
42
|
-
attr_accessor :device_id
|
43
|
-
|
44
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
45
|
-
def self.attribute_map
|
46
|
-
{
|
47
|
-
:'emv' => :'emv',
|
48
|
-
:'partner_sdk_version' => :'partnerSdkVersion',
|
49
|
-
:'store_and_forward_indicator' => :'storeAndForwardIndicator',
|
50
|
-
:'cardholder_verification_method' => :'cardholderVerificationMethod',
|
51
|
-
:'terminal_input_capability' => :'terminalInputCapability',
|
52
|
-
:'terminal_serial_number' => :'terminalSerialNumber',
|
53
|
-
:'terminal_card_capture_capability' => :'terminalCardCaptureCapability',
|
54
|
-
:'terminal_output_capability' => :'terminalOutputCapability',
|
55
|
-
:'terminal_pin_capability' => :'terminalPinCapability',
|
56
|
-
:'device_id' => :'deviceId'
|
57
|
-
}
|
58
|
-
end
|
59
|
-
|
60
|
-
# Attribute type mapping.
|
61
|
-
def self.swagger_types
|
62
|
-
{
|
63
|
-
:'emv' => :'Ptsv2creditsPointOfSaleInformationEmv',
|
64
|
-
:'partner_sdk_version' => :'String',
|
65
|
-
:'store_and_forward_indicator' => :'String',
|
66
|
-
:'cardholder_verification_method' => :'Array<String>',
|
67
|
-
:'terminal_input_capability' => :'Array<String>',
|
68
|
-
:'terminal_serial_number' => :'String',
|
69
|
-
:'terminal_card_capture_capability' => :'String',
|
70
|
-
:'terminal_output_capability' => :'String',
|
71
|
-
:'terminal_pin_capability' => :'Integer',
|
72
|
-
:'device_id' => :'String'
|
73
|
-
}
|
74
|
-
end
|
75
|
-
|
76
|
-
# Initializes the object
|
77
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
78
|
-
def initialize(attributes = {})
|
79
|
-
return unless attributes.is_a?(Hash)
|
80
|
-
|
81
|
-
# convert string to symbol for hash key
|
82
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
83
|
-
|
84
|
-
if attributes.has_key?(:'emv')
|
85
|
-
self.emv = attributes[:'emv']
|
86
|
-
end
|
87
|
-
|
88
|
-
if attributes.has_key?(:'partnerSdkVersion')
|
89
|
-
self.partner_sdk_version = attributes[:'partnerSdkVersion']
|
90
|
-
end
|
91
|
-
|
92
|
-
if attributes.has_key?(:'storeAndForwardIndicator')
|
93
|
-
self.store_and_forward_indicator = attributes[:'storeAndForwardIndicator']
|
94
|
-
end
|
95
|
-
|
96
|
-
if attributes.has_key?(:'cardholderVerificationMethod')
|
97
|
-
if (value = attributes[:'cardholderVerificationMethod']).is_a?(Array)
|
98
|
-
self.cardholder_verification_method = value
|
99
|
-
end
|
100
|
-
end
|
101
|
-
|
102
|
-
if attributes.has_key?(:'terminalInputCapability')
|
103
|
-
if (value = attributes[:'terminalInputCapability']).is_a?(Array)
|
104
|
-
self.terminal_input_capability = value
|
105
|
-
end
|
106
|
-
end
|
107
|
-
|
108
|
-
if attributes.has_key?(:'terminalSerialNumber')
|
109
|
-
self.terminal_serial_number = attributes[:'terminalSerialNumber']
|
110
|
-
end
|
111
|
-
|
112
|
-
if attributes.has_key?(:'terminalCardCaptureCapability')
|
113
|
-
self.terminal_card_capture_capability = attributes[:'terminalCardCaptureCapability']
|
114
|
-
end
|
115
|
-
|
116
|
-
if attributes.has_key?(:'terminalOutputCapability')
|
117
|
-
self.terminal_output_capability = attributes[:'terminalOutputCapability']
|
118
|
-
end
|
119
|
-
|
120
|
-
if attributes.has_key?(:'terminalPinCapability')
|
121
|
-
self.terminal_pin_capability = attributes[:'terminalPinCapability']
|
122
|
-
end
|
123
|
-
|
124
|
-
if attributes.has_key?(:'deviceId')
|
125
|
-
self.device_id = attributes[:'deviceId']
|
126
|
-
end
|
127
|
-
end
|
128
|
-
|
129
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
130
|
-
# @return Array for valid properties with the reasons
|
131
|
-
def list_invalid_properties
|
132
|
-
invalid_properties = Array.new
|
133
|
-
if !@partner_sdk_version.nil? && @partner_sdk_version.to_s.length > 32
|
134
|
-
invalid_properties.push('invalid value for "partner_sdk_version", the character length must be smaller than or equal to 32.')
|
135
|
-
end
|
136
|
-
|
137
|
-
if !@store_and_forward_indicator.nil? && @store_and_forward_indicator.to_s.length > 1
|
138
|
-
invalid_properties.push('invalid value for "store_and_forward_indicator", the character length must be smaller than or equal to 1.')
|
139
|
-
end
|
140
|
-
|
141
|
-
if !@terminal_serial_number.nil? && @terminal_serial_number.to_s.length > 32
|
142
|
-
invalid_properties.push('invalid value for "terminal_serial_number", the character length must be smaller than or equal to 32.')
|
143
|
-
end
|
144
|
-
|
145
|
-
if !@terminal_card_capture_capability.nil? && @terminal_card_capture_capability.to_s.length > 1
|
146
|
-
invalid_properties.push('invalid value for "terminal_card_capture_capability", the character length must be smaller than or equal to 1.')
|
147
|
-
end
|
148
|
-
|
149
|
-
if !@terminal_output_capability.nil? && @terminal_output_capability.to_s.length > 1
|
150
|
-
invalid_properties.push('invalid value for "terminal_output_capability", the character length must be smaller than or equal to 1.')
|
151
|
-
end
|
152
|
-
|
153
|
-
if !@device_id.nil? && @device_id.to_s.length > 32
|
154
|
-
invalid_properties.push('invalid value for "device_id", the character length must be smaller than or equal to 32.')
|
155
|
-
end
|
156
|
-
|
157
|
-
invalid_properties
|
158
|
-
end
|
159
|
-
|
160
|
-
# Check to see if the all the properties in the model are valid
|
161
|
-
# @return true if the model is valid
|
162
|
-
def valid?
|
163
|
-
return false if !@partner_sdk_version.nil? && @partner_sdk_version.to_s.length > 32
|
164
|
-
return false if !@store_and_forward_indicator.nil? && @store_and_forward_indicator.to_s.length > 1
|
165
|
-
return false if !@terminal_serial_number.nil? && @terminal_serial_number.to_s.length > 32
|
166
|
-
return false if !@terminal_card_capture_capability.nil? && @terminal_card_capture_capability.to_s.length > 1
|
167
|
-
return false if !@terminal_output_capability.nil? && @terminal_output_capability.to_s.length > 1
|
168
|
-
return false if !@device_id.nil? && @device_id.to_s.length > 32
|
169
|
-
true
|
170
|
-
end
|
171
|
-
|
172
|
-
# Custom attribute writer method with validation
|
173
|
-
# @param [Object] partner_sdk_version Value to be assigned
|
174
|
-
def partner_sdk_version=(partner_sdk_version)
|
175
|
-
if !partner_sdk_version.nil? && partner_sdk_version.to_s.length > 32
|
176
|
-
fail ArgumentError, 'invalid value for "partner_sdk_version", the character length must be smaller than or equal to 32.'
|
177
|
-
end
|
178
|
-
|
179
|
-
@partner_sdk_version = partner_sdk_version
|
180
|
-
end
|
181
|
-
|
182
|
-
# Custom attribute writer method with validation
|
183
|
-
# @param [Object] store_and_forward_indicator Value to be assigned
|
184
|
-
def store_and_forward_indicator=(store_and_forward_indicator)
|
185
|
-
if !store_and_forward_indicator.nil? && store_and_forward_indicator.to_s.length > 1
|
186
|
-
fail ArgumentError, 'invalid value for "store_and_forward_indicator", the character length must be smaller than or equal to 1.'
|
187
|
-
end
|
188
|
-
|
189
|
-
@store_and_forward_indicator = store_and_forward_indicator
|
190
|
-
end
|
191
|
-
|
192
|
-
# Custom attribute writer method with validation
|
193
|
-
# @param [Object] terminal_serial_number Value to be assigned
|
194
|
-
def terminal_serial_number=(terminal_serial_number)
|
195
|
-
if !terminal_serial_number.nil? && terminal_serial_number.to_s.length > 32
|
196
|
-
fail ArgumentError, 'invalid value for "terminal_serial_number", the character length must be smaller than or equal to 32.'
|
197
|
-
end
|
198
|
-
|
199
|
-
@terminal_serial_number = terminal_serial_number
|
200
|
-
end
|
201
|
-
|
202
|
-
# Custom attribute writer method with validation
|
203
|
-
# @param [Object] terminal_card_capture_capability Value to be assigned
|
204
|
-
def terminal_card_capture_capability=(terminal_card_capture_capability)
|
205
|
-
if !terminal_card_capture_capability.nil? && terminal_card_capture_capability.to_s.length > 1
|
206
|
-
fail ArgumentError, 'invalid value for "terminal_card_capture_capability", the character length must be smaller than or equal to 1.'
|
207
|
-
end
|
208
|
-
|
209
|
-
@terminal_card_capture_capability = terminal_card_capture_capability
|
210
|
-
end
|
211
|
-
|
212
|
-
# Custom attribute writer method with validation
|
213
|
-
# @param [Object] terminal_output_capability Value to be assigned
|
214
|
-
def terminal_output_capability=(terminal_output_capability)
|
215
|
-
if !terminal_output_capability.nil? && terminal_output_capability.to_s.length > 1
|
216
|
-
fail ArgumentError, 'invalid value for "terminal_output_capability", the character length must be smaller than or equal to 1.'
|
217
|
-
end
|
218
|
-
|
219
|
-
@terminal_output_capability = terminal_output_capability
|
220
|
-
end
|
221
|
-
|
222
|
-
# Custom attribute writer method with validation
|
223
|
-
# @param [Object] device_id Value to be assigned
|
224
|
-
def device_id=(device_id)
|
225
|
-
if !device_id.nil? && device_id.to_s.length > 32
|
226
|
-
fail ArgumentError, 'invalid value for "device_id", the character length must be smaller than or equal to 32.'
|
227
|
-
end
|
228
|
-
|
229
|
-
@device_id = device_id
|
230
|
-
end
|
231
|
-
|
232
|
-
# Checks equality by comparing each attribute.
|
233
|
-
# @param [Object] Object to be compared
|
234
|
-
def ==(o)
|
235
|
-
return true if self.equal?(o)
|
236
|
-
self.class == o.class &&
|
237
|
-
emv == o.emv &&
|
238
|
-
partner_sdk_version == o.partner_sdk_version &&
|
239
|
-
store_and_forward_indicator == o.store_and_forward_indicator &&
|
240
|
-
cardholder_verification_method == o.cardholder_verification_method &&
|
241
|
-
terminal_input_capability == o.terminal_input_capability &&
|
242
|
-
terminal_serial_number == o.terminal_serial_number &&
|
243
|
-
terminal_card_capture_capability == o.terminal_card_capture_capability &&
|
244
|
-
terminal_output_capability == o.terminal_output_capability &&
|
245
|
-
terminal_pin_capability == o.terminal_pin_capability &&
|
246
|
-
device_id == o.device_id
|
247
|
-
end
|
248
|
-
|
249
|
-
# @see the `==` method
|
250
|
-
# @param [Object] Object to be compared
|
251
|
-
def eql?(o)
|
252
|
-
self == o
|
253
|
-
end
|
254
|
-
|
255
|
-
# Calculates hash code according to all attributes.
|
256
|
-
# @return [Fixnum] Hash code
|
257
|
-
def hash
|
258
|
-
[emv, partner_sdk_version, store_and_forward_indicator, cardholder_verification_method, terminal_input_capability, terminal_serial_number, terminal_card_capture_capability, terminal_output_capability, terminal_pin_capability, device_id].hash
|
259
|
-
end
|
260
|
-
|
261
|
-
# Builds the object from hash
|
262
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
263
|
-
# @return [Object] Returns the model itself
|
264
|
-
def build_from_hash(attributes)
|
265
|
-
return nil unless attributes.is_a?(Hash)
|
266
|
-
self.class.swagger_types.each_pair do |key, type|
|
267
|
-
if type =~ /\AArray<(.*)>/i
|
268
|
-
# check to ensure the input is an array given that the the attribute
|
269
|
-
# is documented as an array but the input is not
|
270
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
271
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
272
|
-
end
|
273
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
274
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
275
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
276
|
-
end
|
277
|
-
|
278
|
-
self
|
279
|
-
end
|
280
|
-
|
281
|
-
# Deserializes the data based on type
|
282
|
-
# @param string type Data type
|
283
|
-
# @param string value Value to be deserialized
|
284
|
-
# @return [Object] Deserialized data
|
285
|
-
def _deserialize(type, value)
|
286
|
-
case type.to_sym
|
287
|
-
when :DateTime
|
288
|
-
DateTime.parse(value)
|
289
|
-
when :Date
|
290
|
-
Date.parse(value)
|
291
|
-
when :String
|
292
|
-
value.to_s
|
293
|
-
when :Integer
|
294
|
-
value.to_i
|
295
|
-
when :Float
|
296
|
-
value.to_f
|
297
|
-
when :BOOLEAN
|
298
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
299
|
-
true
|
300
|
-
else
|
301
|
-
false
|
302
|
-
end
|
303
|
-
when :Object
|
304
|
-
# generic object (usually a Hash), return directly
|
305
|
-
value
|
306
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
307
|
-
inner_type = Regexp.last_match[:inner_type]
|
308
|
-
value.map { |v| _deserialize(inner_type, v) }
|
309
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
310
|
-
k_type = Regexp.last_match[:k_type]
|
311
|
-
v_type = Regexp.last_match[:v_type]
|
312
|
-
{}.tap do |hash|
|
313
|
-
value.each do |k, v|
|
314
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
315
|
-
end
|
316
|
-
end
|
317
|
-
else # model
|
318
|
-
temp_model = CyberSource.const_get(type).new
|
319
|
-
temp_model.build_from_hash(value)
|
320
|
-
end
|
321
|
-
end
|
322
|
-
|
323
|
-
# Returns the string representation of the object
|
324
|
-
# @return [String] String presentation of the object
|
325
|
-
def to_s
|
326
|
-
to_hash.to_s
|
327
|
-
end
|
328
|
-
|
329
|
-
# to_body is an alias to to_hash (backward compatibility)
|
330
|
-
# @return [Hash] Returns the object in the form of hash
|
331
|
-
def to_body
|
332
|
-
to_hash
|
333
|
-
end
|
334
|
-
|
335
|
-
# Returns the object in the form of hash
|
336
|
-
# @return [Hash] Returns the object in the form of hash
|
337
|
-
def to_hash
|
338
|
-
hash = {}
|
339
|
-
self.class.attribute_map.each_pair do |attr, param|
|
340
|
-
value = self.send(attr)
|
341
|
-
next if value.nil?
|
342
|
-
hash[param] = _to_hash(value)
|
343
|
-
end
|
344
|
-
hash
|
345
|
-
end
|
346
|
-
|
347
|
-
# Outputs non-array value in the form of hash
|
348
|
-
# For object, use to_hash. Otherwise, just return the value
|
349
|
-
# @param [Object] value Any valid value
|
350
|
-
# @return [Hash] Returns the value in the form of hash
|
351
|
-
def _to_hash(value)
|
352
|
-
if value.is_a?(Array)
|
353
|
-
value.compact.map { |v| _to_hash(v) }
|
354
|
-
elsif value.is_a?(Hash)
|
355
|
-
{}.tap do |hash|
|
356
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
357
|
-
end
|
358
|
-
elsif value.respond_to? :to_hash
|
359
|
-
value.to_hash
|
360
|
-
else
|
361
|
-
value
|
362
|
-
end
|
363
|
-
end
|
364
|
-
end
|
365
|
-
end
|
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.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module CyberSource
|
16
|
+
class Ptsv2creditsPointOfSaleInformation
|
17
|
+
attr_accessor :emv
|
18
|
+
|
19
|
+
# Version of the software installed on the POS terminal. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX.
|
20
|
+
attr_accessor :partner_sdk_version
|
21
|
+
|
22
|
+
# When connectivity is unavailable, the client software that is installed on the POS terminal can store a transaction in its memory and send it for authorization when connectivity is restored. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. Possible values: - Y: Transaction was stored and then forwarded. - N (default): Transaction was not stored and then forwarded. This field is supported only on American Express Direct, FDC Nashville Global, and SIX.
|
23
|
+
attr_accessor :store_and_forward_indicator
|
24
|
+
|
25
|
+
attr_accessor :cardholder_verification_method
|
26
|
+
|
27
|
+
attr_accessor :terminal_input_capability
|
28
|
+
|
29
|
+
# Terminal serial number assigned by the hardware manufacturer. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX. For details, see the `terminal_serial_number` field description in [Card-Present Processing Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Retail_SCMP_API/html/wwhelp/wwhimpl/js/html/wwhelp.htm)
|
30
|
+
attr_accessor :terminal_serial_number
|
31
|
+
|
32
|
+
# Indicates whether the terminal can capture the card. Possible values: - 1: Terminal can capture card. - 0: Terminal cannot capture card. This field is supported only on American Express Direct.
|
33
|
+
attr_accessor :terminal_card_capture_capability
|
34
|
+
|
35
|
+
# Indicates whether the terminal can print or display messages. Possible values: - 1: Neither - 2: Print only - 3: Display only - 4: Print and display This field is supported only on American Express Direct.
|
36
|
+
attr_accessor :terminal_output_capability
|
37
|
+
|
38
|
+
# Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported only on American Express Direct and SIX.
|
39
|
+
attr_accessor :terminal_pin_capability
|
40
|
+
|
41
|
+
# Value created by the client software that uniquely identifies the POS device. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX.
|
42
|
+
attr_accessor :device_id
|
43
|
+
|
44
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
45
|
+
def self.attribute_map
|
46
|
+
{
|
47
|
+
:'emv' => :'emv',
|
48
|
+
:'partner_sdk_version' => :'partnerSdkVersion',
|
49
|
+
:'store_and_forward_indicator' => :'storeAndForwardIndicator',
|
50
|
+
:'cardholder_verification_method' => :'cardholderVerificationMethod',
|
51
|
+
:'terminal_input_capability' => :'terminalInputCapability',
|
52
|
+
:'terminal_serial_number' => :'terminalSerialNumber',
|
53
|
+
:'terminal_card_capture_capability' => :'terminalCardCaptureCapability',
|
54
|
+
:'terminal_output_capability' => :'terminalOutputCapability',
|
55
|
+
:'terminal_pin_capability' => :'terminalPinCapability',
|
56
|
+
:'device_id' => :'deviceId'
|
57
|
+
}
|
58
|
+
end
|
59
|
+
|
60
|
+
# Attribute type mapping.
|
61
|
+
def self.swagger_types
|
62
|
+
{
|
63
|
+
:'emv' => :'Ptsv2creditsPointOfSaleInformationEmv',
|
64
|
+
:'partner_sdk_version' => :'String',
|
65
|
+
:'store_and_forward_indicator' => :'String',
|
66
|
+
:'cardholder_verification_method' => :'Array<String>',
|
67
|
+
:'terminal_input_capability' => :'Array<String>',
|
68
|
+
:'terminal_serial_number' => :'String',
|
69
|
+
:'terminal_card_capture_capability' => :'String',
|
70
|
+
:'terminal_output_capability' => :'String',
|
71
|
+
:'terminal_pin_capability' => :'Integer',
|
72
|
+
:'device_id' => :'String'
|
73
|
+
}
|
74
|
+
end
|
75
|
+
|
76
|
+
# Initializes the object
|
77
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
78
|
+
def initialize(attributes = {})
|
79
|
+
return unless attributes.is_a?(Hash)
|
80
|
+
|
81
|
+
# convert string to symbol for hash key
|
82
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
83
|
+
|
84
|
+
if attributes.has_key?(:'emv')
|
85
|
+
self.emv = attributes[:'emv']
|
86
|
+
end
|
87
|
+
|
88
|
+
if attributes.has_key?(:'partnerSdkVersion')
|
89
|
+
self.partner_sdk_version = attributes[:'partnerSdkVersion']
|
90
|
+
end
|
91
|
+
|
92
|
+
if attributes.has_key?(:'storeAndForwardIndicator')
|
93
|
+
self.store_and_forward_indicator = attributes[:'storeAndForwardIndicator']
|
94
|
+
end
|
95
|
+
|
96
|
+
if attributes.has_key?(:'cardholderVerificationMethod')
|
97
|
+
if (value = attributes[:'cardholderVerificationMethod']).is_a?(Array)
|
98
|
+
self.cardholder_verification_method = value
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
if attributes.has_key?(:'terminalInputCapability')
|
103
|
+
if (value = attributes[:'terminalInputCapability']).is_a?(Array)
|
104
|
+
self.terminal_input_capability = value
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
if attributes.has_key?(:'terminalSerialNumber')
|
109
|
+
self.terminal_serial_number = attributes[:'terminalSerialNumber']
|
110
|
+
end
|
111
|
+
|
112
|
+
if attributes.has_key?(:'terminalCardCaptureCapability')
|
113
|
+
self.terminal_card_capture_capability = attributes[:'terminalCardCaptureCapability']
|
114
|
+
end
|
115
|
+
|
116
|
+
if attributes.has_key?(:'terminalOutputCapability')
|
117
|
+
self.terminal_output_capability = attributes[:'terminalOutputCapability']
|
118
|
+
end
|
119
|
+
|
120
|
+
if attributes.has_key?(:'terminalPinCapability')
|
121
|
+
self.terminal_pin_capability = attributes[:'terminalPinCapability']
|
122
|
+
end
|
123
|
+
|
124
|
+
if attributes.has_key?(:'deviceId')
|
125
|
+
self.device_id = attributes[:'deviceId']
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
130
|
+
# @return Array for valid properties with the reasons
|
131
|
+
def list_invalid_properties
|
132
|
+
invalid_properties = Array.new
|
133
|
+
if !@partner_sdk_version.nil? && @partner_sdk_version.to_s.length > 32
|
134
|
+
invalid_properties.push('invalid value for "partner_sdk_version", the character length must be smaller than or equal to 32.')
|
135
|
+
end
|
136
|
+
|
137
|
+
if !@store_and_forward_indicator.nil? && @store_and_forward_indicator.to_s.length > 1
|
138
|
+
invalid_properties.push('invalid value for "store_and_forward_indicator", the character length must be smaller than or equal to 1.')
|
139
|
+
end
|
140
|
+
|
141
|
+
if !@terminal_serial_number.nil? && @terminal_serial_number.to_s.length > 32
|
142
|
+
invalid_properties.push('invalid value for "terminal_serial_number", the character length must be smaller than or equal to 32.')
|
143
|
+
end
|
144
|
+
|
145
|
+
if !@terminal_card_capture_capability.nil? && @terminal_card_capture_capability.to_s.length > 1
|
146
|
+
invalid_properties.push('invalid value for "terminal_card_capture_capability", the character length must be smaller than or equal to 1.')
|
147
|
+
end
|
148
|
+
|
149
|
+
if !@terminal_output_capability.nil? && @terminal_output_capability.to_s.length > 1
|
150
|
+
invalid_properties.push('invalid value for "terminal_output_capability", the character length must be smaller than or equal to 1.')
|
151
|
+
end
|
152
|
+
|
153
|
+
if !@device_id.nil? && @device_id.to_s.length > 32
|
154
|
+
invalid_properties.push('invalid value for "device_id", the character length must be smaller than or equal to 32.')
|
155
|
+
end
|
156
|
+
|
157
|
+
invalid_properties
|
158
|
+
end
|
159
|
+
|
160
|
+
# Check to see if the all the properties in the model are valid
|
161
|
+
# @return true if the model is valid
|
162
|
+
def valid?
|
163
|
+
return false if !@partner_sdk_version.nil? && @partner_sdk_version.to_s.length > 32
|
164
|
+
return false if !@store_and_forward_indicator.nil? && @store_and_forward_indicator.to_s.length > 1
|
165
|
+
return false if !@terminal_serial_number.nil? && @terminal_serial_number.to_s.length > 32
|
166
|
+
return false if !@terminal_card_capture_capability.nil? && @terminal_card_capture_capability.to_s.length > 1
|
167
|
+
return false if !@terminal_output_capability.nil? && @terminal_output_capability.to_s.length > 1
|
168
|
+
return false if !@device_id.nil? && @device_id.to_s.length > 32
|
169
|
+
true
|
170
|
+
end
|
171
|
+
|
172
|
+
# Custom attribute writer method with validation
|
173
|
+
# @param [Object] partner_sdk_version Value to be assigned
|
174
|
+
def partner_sdk_version=(partner_sdk_version)
|
175
|
+
if !partner_sdk_version.nil? && partner_sdk_version.to_s.length > 32
|
176
|
+
fail ArgumentError, 'invalid value for "partner_sdk_version", the character length must be smaller than or equal to 32.'
|
177
|
+
end
|
178
|
+
|
179
|
+
@partner_sdk_version = partner_sdk_version
|
180
|
+
end
|
181
|
+
|
182
|
+
# Custom attribute writer method with validation
|
183
|
+
# @param [Object] store_and_forward_indicator Value to be assigned
|
184
|
+
def store_and_forward_indicator=(store_and_forward_indicator)
|
185
|
+
if !store_and_forward_indicator.nil? && store_and_forward_indicator.to_s.length > 1
|
186
|
+
fail ArgumentError, 'invalid value for "store_and_forward_indicator", the character length must be smaller than or equal to 1.'
|
187
|
+
end
|
188
|
+
|
189
|
+
@store_and_forward_indicator = store_and_forward_indicator
|
190
|
+
end
|
191
|
+
|
192
|
+
# Custom attribute writer method with validation
|
193
|
+
# @param [Object] terminal_serial_number Value to be assigned
|
194
|
+
def terminal_serial_number=(terminal_serial_number)
|
195
|
+
if !terminal_serial_number.nil? && terminal_serial_number.to_s.length > 32
|
196
|
+
fail ArgumentError, 'invalid value for "terminal_serial_number", the character length must be smaller than or equal to 32.'
|
197
|
+
end
|
198
|
+
|
199
|
+
@terminal_serial_number = terminal_serial_number
|
200
|
+
end
|
201
|
+
|
202
|
+
# Custom attribute writer method with validation
|
203
|
+
# @param [Object] terminal_card_capture_capability Value to be assigned
|
204
|
+
def terminal_card_capture_capability=(terminal_card_capture_capability)
|
205
|
+
if !terminal_card_capture_capability.nil? && terminal_card_capture_capability.to_s.length > 1
|
206
|
+
fail ArgumentError, 'invalid value for "terminal_card_capture_capability", the character length must be smaller than or equal to 1.'
|
207
|
+
end
|
208
|
+
|
209
|
+
@terminal_card_capture_capability = terminal_card_capture_capability
|
210
|
+
end
|
211
|
+
|
212
|
+
# Custom attribute writer method with validation
|
213
|
+
# @param [Object] terminal_output_capability Value to be assigned
|
214
|
+
def terminal_output_capability=(terminal_output_capability)
|
215
|
+
if !terminal_output_capability.nil? && terminal_output_capability.to_s.length > 1
|
216
|
+
fail ArgumentError, 'invalid value for "terminal_output_capability", the character length must be smaller than or equal to 1.'
|
217
|
+
end
|
218
|
+
|
219
|
+
@terminal_output_capability = terminal_output_capability
|
220
|
+
end
|
221
|
+
|
222
|
+
# Custom attribute writer method with validation
|
223
|
+
# @param [Object] device_id Value to be assigned
|
224
|
+
def device_id=(device_id)
|
225
|
+
if !device_id.nil? && device_id.to_s.length > 32
|
226
|
+
fail ArgumentError, 'invalid value for "device_id", the character length must be smaller than or equal to 32.'
|
227
|
+
end
|
228
|
+
|
229
|
+
@device_id = device_id
|
230
|
+
end
|
231
|
+
|
232
|
+
# Checks equality by comparing each attribute.
|
233
|
+
# @param [Object] Object to be compared
|
234
|
+
def ==(o)
|
235
|
+
return true if self.equal?(o)
|
236
|
+
self.class == o.class &&
|
237
|
+
emv == o.emv &&
|
238
|
+
partner_sdk_version == o.partner_sdk_version &&
|
239
|
+
store_and_forward_indicator == o.store_and_forward_indicator &&
|
240
|
+
cardholder_verification_method == o.cardholder_verification_method &&
|
241
|
+
terminal_input_capability == o.terminal_input_capability &&
|
242
|
+
terminal_serial_number == o.terminal_serial_number &&
|
243
|
+
terminal_card_capture_capability == o.terminal_card_capture_capability &&
|
244
|
+
terminal_output_capability == o.terminal_output_capability &&
|
245
|
+
terminal_pin_capability == o.terminal_pin_capability &&
|
246
|
+
device_id == o.device_id
|
247
|
+
end
|
248
|
+
|
249
|
+
# @see the `==` method
|
250
|
+
# @param [Object] Object to be compared
|
251
|
+
def eql?(o)
|
252
|
+
self == o
|
253
|
+
end
|
254
|
+
|
255
|
+
# Calculates hash code according to all attributes.
|
256
|
+
# @return [Fixnum] Hash code
|
257
|
+
def hash
|
258
|
+
[emv, partner_sdk_version, store_and_forward_indicator, cardholder_verification_method, terminal_input_capability, terminal_serial_number, terminal_card_capture_capability, terminal_output_capability, terminal_pin_capability, device_id].hash
|
259
|
+
end
|
260
|
+
|
261
|
+
# Builds the object from hash
|
262
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
263
|
+
# @return [Object] Returns the model itself
|
264
|
+
def build_from_hash(attributes)
|
265
|
+
return nil unless attributes.is_a?(Hash)
|
266
|
+
self.class.swagger_types.each_pair do |key, type|
|
267
|
+
if type =~ /\AArray<(.*)>/i
|
268
|
+
# check to ensure the input is an array given that the the attribute
|
269
|
+
# is documented as an array but the input is not
|
270
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
271
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
272
|
+
end
|
273
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
274
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
275
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
276
|
+
end
|
277
|
+
|
278
|
+
self
|
279
|
+
end
|
280
|
+
|
281
|
+
# Deserializes the data based on type
|
282
|
+
# @param string type Data type
|
283
|
+
# @param string value Value to be deserialized
|
284
|
+
# @return [Object] Deserialized data
|
285
|
+
def _deserialize(type, value)
|
286
|
+
case type.to_sym
|
287
|
+
when :DateTime
|
288
|
+
DateTime.parse(value)
|
289
|
+
when :Date
|
290
|
+
Date.parse(value)
|
291
|
+
when :String
|
292
|
+
value.to_s
|
293
|
+
when :Integer
|
294
|
+
value.to_i
|
295
|
+
when :Float
|
296
|
+
value.to_f
|
297
|
+
when :BOOLEAN
|
298
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
299
|
+
true
|
300
|
+
else
|
301
|
+
false
|
302
|
+
end
|
303
|
+
when :Object
|
304
|
+
# generic object (usually a Hash), return directly
|
305
|
+
value
|
306
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
307
|
+
inner_type = Regexp.last_match[:inner_type]
|
308
|
+
value.map { |v| _deserialize(inner_type, v) }
|
309
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
310
|
+
k_type = Regexp.last_match[:k_type]
|
311
|
+
v_type = Regexp.last_match[:v_type]
|
312
|
+
{}.tap do |hash|
|
313
|
+
value.each do |k, v|
|
314
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
315
|
+
end
|
316
|
+
end
|
317
|
+
else # model
|
318
|
+
temp_model = CyberSource.const_get(type).new
|
319
|
+
temp_model.build_from_hash(value)
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
# Returns the string representation of the object
|
324
|
+
# @return [String] String presentation of the object
|
325
|
+
def to_s
|
326
|
+
to_hash.to_s
|
327
|
+
end
|
328
|
+
|
329
|
+
# to_body is an alias to to_hash (backward compatibility)
|
330
|
+
# @return [Hash] Returns the object in the form of hash
|
331
|
+
def to_body
|
332
|
+
to_hash
|
333
|
+
end
|
334
|
+
|
335
|
+
# Returns the object in the form of hash
|
336
|
+
# @return [Hash] Returns the object in the form of hash
|
337
|
+
def to_hash
|
338
|
+
hash = {}
|
339
|
+
self.class.attribute_map.each_pair do |attr, param|
|
340
|
+
value = self.send(attr)
|
341
|
+
next if value.nil?
|
342
|
+
hash[param] = _to_hash(value)
|
343
|
+
end
|
344
|
+
hash
|
345
|
+
end
|
346
|
+
|
347
|
+
# Outputs non-array value in the form of hash
|
348
|
+
# For object, use to_hash. Otherwise, just return the value
|
349
|
+
# @param [Object] value Any valid value
|
350
|
+
# @return [Hash] Returns the value in the form of hash
|
351
|
+
def _to_hash(value)
|
352
|
+
if value.is_a?(Array)
|
353
|
+
value.compact.map { |v| _to_hash(v) }
|
354
|
+
elsif value.is_a?(Hash)
|
355
|
+
{}.tap do |hash|
|
356
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
357
|
+
end
|
358
|
+
elsif value.respond_to? :to_hash
|
359
|
+
value.to_hash
|
360
|
+
else
|
361
|
+
value
|
362
|
+
end
|
363
|
+
end
|
364
|
+
end
|
365
|
+
end
|