cybersource_rest_client 0.0.29 → 0.0.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/oauth/OAuthToken.rb +15 -0
  3. data/lib/AuthenticationSDK/core/Authorization.rb +4 -1
  4. data/lib/AuthenticationSDK/core/MerchantConfig.rb +93 -19
  5. data/lib/AuthenticationSDK/util/Constants.rb +78 -76
  6. data/lib/cybersource_rest_client.rb +19 -9
  7. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
  8. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +3 -3
  9. data/lib/cybersource_rest_client/api/o_auth_api.rb +104 -0
  10. data/lib/cybersource_rest_client/api/payments_api.rb +2 -2
  11. data/lib/cybersource_rest_client/api/refund_api.rb +4 -4
  12. data/lib/cybersource_rest_client/api/void_api.rb +4 -4
  13. data/lib/cybersource_rest_client/api_client.rb +31 -8
  14. data/lib/cybersource_rest_client/configuration.rb +2 -2
  15. data/lib/cybersource_rest_client/models/access_token_response.rb +244 -0
  16. data/lib/cybersource_rest_client/models/add_negative_list_request.rb +1 -1
  17. data/lib/cybersource_rest_client/models/bad_request_error.rb +192 -0
  18. data/lib/cybersource_rest_client/models/create_access_token_request.rb +254 -0
  19. data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +1 -1
  20. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +20 -4
  21. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +20 -4
  22. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer.rb → payment_instrument_list.rb} +3 -3
  23. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__embedded.rb → payment_instrument_list__embedded.rb} +1 -1
  24. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links.rb → payment_instrument_list__links.rb} +6 -6
  25. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_first.rb → payment_instrument_list__links_first.rb} +1 -1
  26. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_last.rb → payment_instrument_list__links_last.rb} +1 -1
  27. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_next.rb → payment_instrument_list__links_next.rb} +1 -1
  28. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_prev.rb → payment_instrument_list__links_prev.rb} +1 -1
  29. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_self.rb → payment_instrument_list__links_self.rb} +1 -1
  30. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +10 -1
  31. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +11 -1
  32. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information.rb +13 -4
  33. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_reward_points_details.rb +270 -0
  34. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information.rb +183 -0
  35. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +242 -0
  36. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +1 -1
  37. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -1
  38. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +1 -1
  39. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +17 -1
  40. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +3 -3
  41. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +6 -0
  42. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +1 -1
  43. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +1 -1
  44. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +1 -1
  45. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +60 -2
  46. data/lib/cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details.rb +1 -1
  47. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +6 -0
  48. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +4 -4
  49. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +3 -3
  50. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -1
  51. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +36 -38
  52. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +15 -5
  53. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +7 -7
  54. data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +24 -4
  55. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb +15 -4
  56. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_auxiliary_data.rb +207 -0
  57. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +1 -1
  58. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +15 -5
  59. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +4 -4
  60. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +1 -1
  61. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +17 -1
  62. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +1 -1
  63. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +6 -0
  64. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +4 -4
  65. data/lib/cybersource_rest_client/models/resource_not_found_error.rb +192 -0
  66. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +1 -1
  67. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +3 -3
  68. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -1
  69. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +3 -3
  70. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -1
  71. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +3 -3
  72. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +3 -3
  73. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -1
  74. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +1 -1
  75. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +17 -1
  76. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
  77. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +1 -11
  78. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +3 -3
  79. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -1
  80. data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +15 -4
  81. data/lib/cybersource_rest_client/models/riskv1liststypeentries_client_reference_information.rb +224 -0
  82. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -1
  83. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +5 -5
  84. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +13 -4
  85. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +3 -3
  86. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -1
  87. data/lib/cybersource_rest_client/models/unauthorized_client_error.rb +192 -0
  88. data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +1 -1
  89. data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +1 -1
  90. metadata +120 -101
  91. data/lib/AuthenticationSDK/resource/TRRReports.json +0 -12
  92. data/lib/AuthenticationSDK/resource/cybs.yml +0 -31
  93. data/lib/AuthenticationSDK/resource/request.json +0 -54
  94. data/lib/AuthenticationSDK/resource/request_capture.json +0 -11
  95. data/lib/AuthenticationSDK/resource/testrest.p12 +0 -0
  96. data/lib/AuthenticationSDK/spec/Authorization_spec.rb +0 -274
  97. data/lib/AuthenticationSDK/spec/MerchantConfigData.rb +0 -59
  98. data/lib/AuthenticationSDK/spec/MerchantConfig_spec.rb +0 -116
  99. data/lib/AuthenticationSDK/spec/PostRequestData.json +0 -54
  100. data/lib/AuthenticationSDK/spec/PutRequestData.json +0 -12
  101. data/lib/AuthenticationSDK/spec/ResponseCodeMessage_spec.rb +0 -60
  102. data/lib/AuthenticationSDK/spec/spec_helper.rb +0 -12
  103. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_card.rb +0 -184
@@ -17,7 +17,7 @@ module CyberSource
17
17
  # The customer’s payment card number, also known as the Primary Account Number (PAN). You can also use this field for encoded account numbers. #### FDMS Nashville Required. String (19) #### GPX Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.
18
18
  attr_accessor :number
19
19
 
20
- # Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
20
+ # Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
21
21
  attr_accessor :type
22
22
 
23
23
  # description: The BIN is the first six digits of the card's Primary Account Number (PAN).
@@ -14,16 +14,16 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class TssV2TransactionsGet200ResponsePaymentInformationCard
17
- # Last four digits of the cardholder’s account number. This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. #### PIN debit This field is returned only for tokenized transactions. You can use this value on the receipt that you give to the cardholder. Returned by PIN debit credit and PIN debit purchase. This field is supported only by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX
17
+ # Last four digits of the cardholder’s account number. This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### PIN debit This field is returned only for tokenized transactions. You can use this value on the receipt that you give to the cardholder. Returned by PIN debit credit and PIN debit purchase. This field is supported only by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX
18
18
  attr_accessor :suffix
19
19
 
20
- # Bank Identification Number (BIN). This is the initial four to six numbers on a credit card account number.
20
+ # Bank Identification Number (BIN). This is the initial four to six numbers on a credit card account number. #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response.
21
21
  attr_accessor :prefix
22
22
 
23
- # Two-digit month in which the payment card expires. Format: `MM`. Valid values: `01` through `12`. Leading 0 is required. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (_type_=039), if there is no expiration date on the card, use `12`. #### FDMS Nashville Required field. #### GPX Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.
23
+ # Two-digit month in which the payment card expires. Format: `MM`. Valid values: `01` through `12`. Leading 0 is required. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (_type_=039), if there is no expiration date on the card, use `12`. #### FDMS Nashville Required field. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response.
24
24
  attr_accessor :expiration_month
25
25
 
26
- # Four-digit year in which the payment card expires. Format: `YYYY`. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`1900` through `3000`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (**_type_**`=039`), if there is no expiration date on the card, use `2021`. #### FDMS Nashville Required field. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. If you send in 2 digits, they must be the last 2 digits of the year. #### GPX Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.
26
+ # Four-digit year in which the payment card expires. Format: `YYYY`. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`1900` through `3000`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (**_type_**`=039`), if there is no expiration date on the card, use `2021`. #### FDMS Nashville Required field. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. If you send in 2 digits, they must be the last 2 digits of the year. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response.
27
27
  attr_accessor :expiration_year
28
28
 
29
29
  # Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`. Possible values: 01 through 12. **Note** The start date is not required for Maestro (UK Domestic) transactions.
@@ -35,7 +35,7 @@ module CyberSource
35
35
  # Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. **Note** The issue number is not required for Maestro (UK Domestic) transactions.
36
36
  attr_accessor :issue_number
37
37
 
38
- # Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
38
+ # Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
39
39
  attr_accessor :type
40
40
 
41
41
  # Identifier for the issuing bank that provided the customer’s encoded account number. Contact your processor for the bank’s ID.
@@ -17,17 +17,21 @@ module CyberSource
17
17
  # Authorization type. Possible values: - `AUTOCAPTURE`: automatic capture. - `STANDARDCAPTURE`: standard capture. - `VERBAL`: forced capture. Include it in the payment request for a forced capture. Include it in the capture request for a verbal payment. #### Asia, Middle East, and Africa Gateway; Cielo; Comercio Latino; and CyberSource Latin American Processing Set this field to `AUTOCAPTURE` and include it in a bundled request to indicate that you are requesting an automatic capture. If your account is configured to enable automatic captures, set this field to `STANDARDCAPTURE` and include it in a standard authorization or bundled request to indicate that you are overriding an automatic capture. For more information, see the `auth_type` field description in [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### Forced Capture Set this field to `VERBAL` and include it in the authorization request to indicate that you are performing a forced capture; therefore, you receive the authorization code outside the CyberSource system. #### Verbal Authorization Set this field to `VERBAL` and include it in the capture request to indicate that the request is for a verbal authorization. For more information, see \"Verbal Authorizations\" in [Credit Card Services Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html).
18
18
  attr_accessor :auth_type
19
19
 
20
+ attr_accessor :initiator
21
+
20
22
  # Attribute mapping from ruby-style variable name to JSON key.
21
23
  def self.attribute_map
22
24
  {
23
- :'auth_type' => :'authType'
25
+ :'auth_type' => :'authType',
26
+ :'initiator' => :'initiator'
24
27
  }
25
28
  end
26
29
 
27
30
  # Attribute type mapping.
28
31
  def self.swagger_types
29
32
  {
30
- :'auth_type' => :'String'
33
+ :'auth_type' => :'String',
34
+ :'initiator' => :'Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator'
31
35
  }
32
36
  end
33
37
 
@@ -42,6 +46,10 @@ module CyberSource
42
46
  if attributes.has_key?(:'authType')
43
47
  self.auth_type = attributes[:'authType']
44
48
  end
49
+
50
+ if attributes.has_key?(:'initiator')
51
+ self.initiator = attributes[:'initiator']
52
+ end
45
53
  end
46
54
 
47
55
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -68,7 +76,8 @@ module CyberSource
68
76
  def ==(o)
69
77
  return true if self.equal?(o)
70
78
  self.class == o.class &&
71
- auth_type == o.auth_type
79
+ auth_type == o.auth_type &&
80
+ initiator == o.initiator
72
81
  end
73
82
 
74
83
  # @see the `==` method
@@ -80,7 +89,7 @@ module CyberSource
80
89
  # Calculates hash code according to all attributes.
81
90
  # @return [Fixnum] Hash code
82
91
  def hash
83
- [auth_type].hash
92
+ [auth_type, initiator].hash
84
93
  end
85
94
 
86
95
  # Builds the object from hash
@@ -14,13 +14,13 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCard
17
- # Last four digits of the cardholder’s account number. This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. #### PIN debit This field is returned only for tokenized transactions. You can use this value on the receipt that you give to the cardholder. Returned by PIN debit credit and PIN debit purchase. This field is supported only by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX
17
+ # Last four digits of the cardholder’s account number. This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### PIN debit This field is returned only for tokenized transactions. You can use this value on the receipt that you give to the cardholder. Returned by PIN debit credit and PIN debit purchase. This field is supported only by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX
18
18
  attr_accessor :suffix
19
19
 
20
- # Bank Identification Number (BIN). This is the initial four to six numbers on a credit card account number.
20
+ # Bank Identification Number (BIN). This is the initial four to six numbers on a credit card account number. #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response.
21
21
  attr_accessor :prefix
22
22
 
23
- # Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
23
+ # Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
24
24
  attr_accessor :type
25
25
 
26
26
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class TssV2TransactionsPost201ResponseEmbeddedProcessingInformation
17
- # Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay. - `014`: Mastercard credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `015`: Visa credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token.
17
+ # Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay. - `013`: Cybersource P2PE Decryption - `014`: Mastercard credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `015`: Visa credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `027`: Click to Pay.
18
18
  attr_accessor :payment_solution
19
19
 
20
20
  # Payouts transaction type. Required for OCT transactions. This field is a pass-through, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. **Note** When the request includes this field, this value overrides the information in your CyberSource account. For valid values, see the `invoiceHeader_businessApplicationID` field description in [Payouts Using the Simple Order API.](http://apps.cybersource.com/library/documentation/dev_guides/payouts_SO/Payouts_SO_API.pdf)
@@ -0,0 +1,192 @@
1
+ =begin
2
+ #OAuth2 API
3
+
4
+ #OAuth2 Token Service (OAuth2)
5
+
6
+ OpenAPI spec version: v3
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 UnauthorizedClientError
17
+ attr_accessor :error
18
+
19
+ attr_accessor :error_description
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'error' => :'error',
25
+ :'error_description' => :'error_description'
26
+ }
27
+ end
28
+
29
+ # Attribute type mapping.
30
+ def self.swagger_types
31
+ {
32
+ :'error' => :'String',
33
+ :'error_description' => :'String'
34
+ }
35
+ end
36
+
37
+ # Initializes the object
38
+ # @param [Hash] attributes Model attributes in the form of hash
39
+ def initialize(attributes = {})
40
+ return unless attributes.is_a?(Hash)
41
+
42
+ # convert string to symbol for hash key
43
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
44
+
45
+ if attributes.has_key?(:'error')
46
+ self.error = attributes[:'error']
47
+ end
48
+
49
+ if attributes.has_key?(:'error_description')
50
+ self.error_description = attributes[:'error_description']
51
+ end
52
+ end
53
+
54
+ # Show invalid properties with the reasons. Usually used together with valid?
55
+ # @return Array for valid properties with the reasons
56
+ def list_invalid_properties
57
+ invalid_properties = Array.new
58
+ invalid_properties
59
+ end
60
+
61
+ # Check to see if the all the properties in the model are valid
62
+ # @return true if the model is valid
63
+ def valid?
64
+ true
65
+ end
66
+
67
+ # Checks equality by comparing each attribute.
68
+ # @param [Object] Object to be compared
69
+ def ==(o)
70
+ return true if self.equal?(o)
71
+ self.class == o.class &&
72
+ error == o.error &&
73
+ error_description == o.error_description
74
+ end
75
+
76
+ # @see the `==` method
77
+ # @param [Object] Object to be compared
78
+ def eql?(o)
79
+ self == o
80
+ end
81
+
82
+ # Calculates hash code according to all attributes.
83
+ # @return [Fixnum] Hash code
84
+ def hash
85
+ [error, error_description].hash
86
+ end
87
+
88
+ # Builds the object from hash
89
+ # @param [Hash] attributes Model attributes in the form of hash
90
+ # @return [Object] Returns the model itself
91
+ def build_from_hash(attributes)
92
+ return nil unless attributes.is_a?(Hash)
93
+ self.class.swagger_types.each_pair do |key, type|
94
+ if type =~ /\AArray<(.*)>/i
95
+ # check to ensure the input is an array given that the the attribute
96
+ # is documented as an array but the input is not
97
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
98
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
99
+ end
100
+ elsif !attributes[self.class.attribute_map[key]].nil?
101
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
102
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
103
+ end
104
+
105
+ self
106
+ end
107
+
108
+ # Deserializes the data based on type
109
+ # @param string type Data type
110
+ # @param string value Value to be deserialized
111
+ # @return [Object] Deserialized data
112
+ def _deserialize(type, value)
113
+ case type.to_sym
114
+ when :DateTime
115
+ DateTime.parse(value)
116
+ when :Date
117
+ Date.parse(value)
118
+ when :String
119
+ value.to_s
120
+ when :Integer
121
+ value.to_i
122
+ when :Float
123
+ value.to_f
124
+ when :BOOLEAN
125
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
126
+ true
127
+ else
128
+ false
129
+ end
130
+ when :Object
131
+ # generic object (usually a Hash), return directly
132
+ value
133
+ when /\AArray<(?<inner_type>.+)>\z/
134
+ inner_type = Regexp.last_match[:inner_type]
135
+ value.map { |v| _deserialize(inner_type, v) }
136
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
137
+ k_type = Regexp.last_match[:k_type]
138
+ v_type = Regexp.last_match[:v_type]
139
+ {}.tap do |hash|
140
+ value.each do |k, v|
141
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
142
+ end
143
+ end
144
+ else # model
145
+ temp_model = CyberSource.const_get(type).new
146
+ temp_model.build_from_hash(value)
147
+ end
148
+ end
149
+
150
+ # Returns the string representation of the object
151
+ # @return [String] String presentation of the object
152
+ def to_s
153
+ to_hash.to_s
154
+ end
155
+
156
+ # to_body is an alias to to_hash (backward compatibility)
157
+ # @return [Hash] Returns the object in the form of hash
158
+ def to_body
159
+ to_hash
160
+ end
161
+
162
+ # Returns the object in the form of hash
163
+ # @return [Hash] Returns the object in the form of hash
164
+ def to_hash
165
+ hash = {}
166
+ self.class.attribute_map.each_pair do |attr, param|
167
+ value = self.send(attr)
168
+ next if value.nil?
169
+ hash[param] = _to_hash(value)
170
+ end
171
+ hash
172
+ end
173
+
174
+ # Outputs non-array value in the form of hash
175
+ # For object, use to_hash. Otherwise, just return the value
176
+ # @param [Object] value Any valid value
177
+ # @return [Hash] Returns the value in the form of hash
178
+ def _to_hash(value)
179
+ if value.is_a?(Array)
180
+ value.compact.map { |v| _to_hash(v) }
181
+ elsif value.is_a?(Hash)
182
+ {}.tap do |hash|
183
+ value.each { |k, v| hash[k] = _to_hash(v) }
184
+ end
185
+ elsif value.respond_to? :to_hash
186
+ value.to_hash
187
+ else
188
+ value
189
+ end
190
+ end
191
+ end
192
+ end
@@ -38,7 +38,7 @@ module CyberSource
38
38
  # Attribute type mapping.
39
39
  def self.swagger_types
40
40
  {
41
- :'client_reference_information' => :'Riskv1decisionsClientReferenceInformation',
41
+ :'client_reference_information' => :'Riskv1liststypeentriesClientReferenceInformation',
42
42
  :'order_information' => :'Riskv1exportcomplianceinquiriesOrderInformation',
43
43
  :'buyer_information' => :'Riskv1addressverificationsBuyerInformation',
44
44
  :'device_information' => :'Riskv1exportcomplianceinquiriesDeviceInformation',
@@ -32,7 +32,7 @@ module CyberSource
32
32
  # Attribute type mapping.
33
33
  def self.swagger_types
34
34
  {
35
- :'client_reference_information' => :'Riskv1decisionsClientReferenceInformation',
35
+ :'client_reference_information' => :'Riskv1liststypeentriesClientReferenceInformation',
36
36
  :'order_information' => :'Riskv1addressverificationsOrderInformation',
37
37
  :'buyer_information' => :'Riskv1addressverificationsBuyerInformation'
38
38
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cybersource_rest_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - CyberSource
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-01 00:00:00.000000000 Z
11
+ date: 2021-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -51,227 +51,247 @@ dependencies:
51
51
  - !ruby/object:Gem::Version
52
52
  version: '2.1'
53
53
  - !ruby/object:Gem::Dependency
54
- name: rspec
54
+ name: activesupport
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: 3.6.0
60
57
  - - "~>"
61
58
  - !ruby/object:Gem::Version
62
- version: '3.6'
63
- type: :development
59
+ version: '6.0'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 6.0.3.2
63
+ type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: 3.6.0
70
67
  - - "~>"
71
68
  - !ruby/object:Gem::Version
72
- version: '3.6'
69
+ version: '6.0'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 6.0.3.2
73
73
  - !ruby/object:Gem::Dependency
74
- name: vcr
74
+ name: interface
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - "~>"
78
78
  - !ruby/object:Gem::Version
79
- version: '3.0'
79
+ version: '1.0'
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 3.0.1
83
- type: :development
82
+ version: 1.0.4
83
+ type: :runtime
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '3.0'
89
+ version: '1.0'
90
90
  - - ">="
91
91
  - !ruby/object:Gem::Version
92
- version: 3.0.1
92
+ version: 1.0.4
93
93
  - !ruby/object:Gem::Dependency
94
- name: webmock
94
+ name: jwt
95
95
  requirement: !ruby/object:Gem::Requirement
96
96
  requirements:
97
97
  - - "~>"
98
98
  - !ruby/object:Gem::Version
99
- version: '1.24'
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- version: 1.24.3
103
- type: :development
99
+ version: 2.1.0
100
+ type: :runtime
104
101
  prerelease: false
105
102
  version_requirements: !ruby/object:Gem::Requirement
106
103
  requirements:
107
104
  - - "~>"
108
105
  - !ruby/object:Gem::Version
109
- version: '1.24'
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: 1.24.3
106
+ version: 2.1.0
113
107
  - !ruby/object:Gem::Dependency
114
- name: autotest
108
+ name: addressable
115
109
  requirement: !ruby/object:Gem::Requirement
116
110
  requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: 2.3.0
117
114
  - - "~>"
118
115
  - !ruby/object:Gem::Version
119
- version: '4.4'
116
+ version: '2.3'
117
+ type: :runtime
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
120
121
  - - ">="
121
122
  - !ruby/object:Gem::Version
122
- version: 4.4.6
123
+ version: 2.3.0
124
+ - - "~>"
125
+ - !ruby/object:Gem::Version
126
+ version: '2.3'
127
+ - !ruby/object:Gem::Dependency
128
+ name: simplecov
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
123
134
  type: :development
124
135
  prerelease: false
125
136
  version_requirements: !ruby/object:Gem::Requirement
126
137
  requirements:
127
- - - "~>"
128
- - !ruby/object:Gem::Version
129
- version: '4.4'
130
138
  - - ">="
131
139
  - !ruby/object:Gem::Version
132
- version: 4.4.6
140
+ version: '0'
133
141
  - !ruby/object:Gem::Dependency
134
- name: autotest-rails-pure
142
+ name: rubocop
135
143
  requirement: !ruby/object:Gem::Requirement
136
144
  requirements:
137
145
  - - "~>"
138
146
  - !ruby/object:Gem::Version
139
- version: '4.1'
140
- - - ">="
141
- - !ruby/object:Gem::Version
142
- version: 4.1.2
147
+ version: 0.57.2
143
148
  type: :development
144
149
  prerelease: false
145
150
  version_requirements: !ruby/object:Gem::Requirement
146
151
  requirements:
147
152
  - - "~>"
148
153
  - !ruby/object:Gem::Version
149
- version: '4.1'
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: 4.1.2
154
+ version: 0.57.2
153
155
  - !ruby/object:Gem::Dependency
154
- name: autotest-growl
156
+ name: rspec
155
157
  requirement: !ruby/object:Gem::Requirement
156
158
  requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '0.2'
160
159
  - - ">="
161
160
  - !ruby/object:Gem::Version
162
- version: 0.2.16
161
+ version: 3.6.0
162
+ - - "~>"
163
+ - !ruby/object:Gem::Version
164
+ version: '3.6'
163
165
  type: :development
164
166
  prerelease: false
165
167
  version_requirements: !ruby/object:Gem::Requirement
166
168
  requirements:
167
- - - "~>"
168
- - !ruby/object:Gem::Version
169
- version: '0.2'
170
169
  - - ">="
171
170
  - !ruby/object:Gem::Version
172
- version: 0.2.16
171
+ version: 3.6.0
172
+ - - "~>"
173
+ - !ruby/object:Gem::Version
174
+ version: '3.6'
173
175
  - !ruby/object:Gem::Dependency
174
- name: autotest-fsevent
176
+ name: vcr
175
177
  requirement: !ruby/object:Gem::Requirement
176
178
  requirements:
177
179
  - - "~>"
178
180
  - !ruby/object:Gem::Version
179
- version: '0.2'
181
+ version: '3.0'
180
182
  - - ">="
181
183
  - !ruby/object:Gem::Version
182
- version: 0.2.12
184
+ version: 3.0.1
183
185
  type: :development
184
186
  prerelease: false
185
187
  version_requirements: !ruby/object:Gem::Requirement
186
188
  requirements:
187
189
  - - "~>"
188
190
  - !ruby/object:Gem::Version
189
- version: '0.2'
191
+ version: '3.0'
190
192
  - - ">="
191
193
  - !ruby/object:Gem::Version
192
- version: 0.2.12
194
+ version: 3.0.1
193
195
  - !ruby/object:Gem::Dependency
194
- name: activesupport
196
+ name: webmock
195
197
  requirement: !ruby/object:Gem::Requirement
196
198
  requirements:
197
199
  - - "~>"
198
200
  - !ruby/object:Gem::Version
199
- version: '6.0'
201
+ version: '1.24'
200
202
  - - ">="
201
203
  - !ruby/object:Gem::Version
202
- version: 6.0.3.2
203
- type: :runtime
204
+ version: 1.24.3
205
+ type: :development
204
206
  prerelease: false
205
207
  version_requirements: !ruby/object:Gem::Requirement
206
208
  requirements:
207
209
  - - "~>"
208
210
  - !ruby/object:Gem::Version
209
- version: '6.0'
211
+ version: '1.24'
210
212
  - - ">="
211
213
  - !ruby/object:Gem::Version
212
- version: 6.0.3.2
214
+ version: 1.24.3
213
215
  - !ruby/object:Gem::Dependency
214
- name: interface
216
+ name: autotest
215
217
  requirement: !ruby/object:Gem::Requirement
216
218
  requirements:
217
219
  - - "~>"
218
220
  - !ruby/object:Gem::Version
219
- version: '1.0'
221
+ version: '4.4'
220
222
  - - ">="
221
223
  - !ruby/object:Gem::Version
222
- version: 1.0.4
223
- type: :runtime
224
+ version: 4.4.6
225
+ type: :development
224
226
  prerelease: false
225
227
  version_requirements: !ruby/object:Gem::Requirement
226
228
  requirements:
227
229
  - - "~>"
228
230
  - !ruby/object:Gem::Version
229
- version: '1.0'
231
+ version: '4.4'
230
232
  - - ">="
231
233
  - !ruby/object:Gem::Version
232
- version: 1.0.4
234
+ version: 4.4.6
233
235
  - !ruby/object:Gem::Dependency
234
- name: jwt
236
+ name: autotest-rails-pure
235
237
  requirement: !ruby/object:Gem::Requirement
236
238
  requirements:
237
239
  - - "~>"
238
240
  - !ruby/object:Gem::Version
239
- version: 2.1.0
240
- type: :runtime
241
+ version: '4.1'
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ version: 4.1.2
245
+ type: :development
241
246
  prerelease: false
242
247
  version_requirements: !ruby/object:Gem::Requirement
243
248
  requirements:
244
249
  - - "~>"
245
250
  - !ruby/object:Gem::Version
246
- version: 2.1.0
251
+ version: '4.1'
252
+ - - ">="
253
+ - !ruby/object:Gem::Version
254
+ version: 4.1.2
247
255
  - !ruby/object:Gem::Dependency
248
- name: simplecov
256
+ name: autotest-growl
249
257
  requirement: !ruby/object:Gem::Requirement
250
258
  requirements:
259
+ - - "~>"
260
+ - !ruby/object:Gem::Version
261
+ version: '0.2'
251
262
  - - ">="
252
263
  - !ruby/object:Gem::Version
253
- version: '0'
264
+ version: 0.2.16
254
265
  type: :development
255
266
  prerelease: false
256
267
  version_requirements: !ruby/object:Gem::Requirement
257
268
  requirements:
269
+ - - "~>"
270
+ - !ruby/object:Gem::Version
271
+ version: '0.2'
258
272
  - - ">="
259
273
  - !ruby/object:Gem::Version
260
- version: '0'
274
+ version: 0.2.16
261
275
  - !ruby/object:Gem::Dependency
262
- name: rubocop
276
+ name: autotest-fsevent
263
277
  requirement: !ruby/object:Gem::Requirement
264
278
  requirements:
265
279
  - - "~>"
266
280
  - !ruby/object:Gem::Version
267
- version: 0.57.2
281
+ version: '0.2'
282
+ - - ">="
283
+ - !ruby/object:Gem::Version
284
+ version: 0.2.12
268
285
  type: :development
269
286
  prerelease: false
270
287
  version_requirements: !ruby/object:Gem::Requirement
271
288
  requirements:
272
289
  - - "~>"
273
290
  - !ruby/object:Gem::Version
274
- version: 0.57.2
291
+ version: '0.2'
292
+ - - ">="
293
+ - !ruby/object:Gem::Version
294
+ version: 0.2.12
275
295
  description: Simple REST API for the CyberSource Global Payments Platform
276
296
  email:
277
297
  - cybersourcedev@gmail.com
@@ -282,23 +302,12 @@ files:
282
302
  - lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb
283
303
  - lib/AuthenticationSDK/authentication/http/HttpSignatureHeader.rb
284
304
  - lib/AuthenticationSDK/authentication/jwt/JwtToken.rb
305
+ - lib/AuthenticationSDK/authentication/oauth/OAuthToken.rb
285
306
  - lib/AuthenticationSDK/authentication/payloadDigest/digest.rb
286
307
  - lib/AuthenticationSDK/core/Authorization.rb
287
308
  - lib/AuthenticationSDK/core/ITokenGeneration.rb
288
309
  - lib/AuthenticationSDK/core/Logger.rb
289
310
  - lib/AuthenticationSDK/core/MerchantConfig.rb
290
- - lib/AuthenticationSDK/resource/TRRReports.json
291
- - lib/AuthenticationSDK/resource/cybs.yml
292
- - lib/AuthenticationSDK/resource/request.json
293
- - lib/AuthenticationSDK/resource/request_capture.json
294
- - lib/AuthenticationSDK/resource/testrest.p12
295
- - lib/AuthenticationSDK/spec/Authorization_spec.rb
296
- - lib/AuthenticationSDK/spec/MerchantConfigData.rb
297
- - lib/AuthenticationSDK/spec/MerchantConfig_spec.rb
298
- - lib/AuthenticationSDK/spec/PostRequestData.json
299
- - lib/AuthenticationSDK/spec/PutRequestData.json
300
- - lib/AuthenticationSDK/spec/ResponseCodeMessage_spec.rb
301
- - lib/AuthenticationSDK/spec/spec_helper.rb
302
311
  - lib/AuthenticationSDK/util/ApiException.rb
303
312
  - lib/AuthenticationSDK/util/Cache.rb
304
313
  - lib/AuthenticationSDK/util/Constants.rb
@@ -321,6 +330,7 @@ files:
321
330
  - lib/cybersource_rest_client/api/key_generation_api.rb
322
331
  - lib/cybersource_rest_client/api/net_fundings_api.rb
323
332
  - lib/cybersource_rest_client/api/notification_of_changes_api.rb
333
+ - lib/cybersource_rest_client/api/o_auth_api.rb
324
334
  - lib/cybersource_rest_client/api/payer_authentication_api.rb
325
335
  - lib/cybersource_rest_client/api/payment_batch_summaries_api.rb
326
336
  - lib/cybersource_rest_client/api/payment_instrument_api.rb
@@ -347,10 +357,13 @@ files:
347
357
  - lib/cybersource_rest_client/api_client.rb
348
358
  - lib/cybersource_rest_client/api_error.rb
349
359
  - lib/cybersource_rest_client/configuration.rb
360
+ - lib/cybersource_rest_client/models/access_token_response.rb
350
361
  - lib/cybersource_rest_client/models/add_negative_list_request.rb
351
362
  - lib/cybersource_rest_client/models/auth_reversal_request.rb
363
+ - lib/cybersource_rest_client/models/bad_request_error.rb
352
364
  - lib/cybersource_rest_client/models/capture_payment_request.rb
353
365
  - lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb
366
+ - lib/cybersource_rest_client/models/create_access_token_request.rb
354
367
  - lib/cybersource_rest_client/models/create_adhoc_report_request.rb
355
368
  - lib/cybersource_rest_client/models/create_bundled_decision_manager_case_request.rb
356
369
  - lib/cybersource_rest_client/models/create_credit_request.rb
@@ -440,14 +453,14 @@ files:
440
453
  - lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb
441
454
  - lib/cybersource_rest_client/models/patch_payment_instrument_request.rb
442
455
  - lib/cybersource_rest_client/models/payer_auth_setup_request.rb
443
- - lib/cybersource_rest_client/models/payment_instrument_list_for_customer.rb
444
- - lib/cybersource_rest_client/models/payment_instrument_list_for_customer__embedded.rb
445
- - lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links.rb
446
- - lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_first.rb
447
- - lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_last.rb
448
- - lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_next.rb
449
- - lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_prev.rb
450
- - lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_self.rb
456
+ - lib/cybersource_rest_client/models/payment_instrument_list.rb
457
+ - lib/cybersource_rest_client/models/payment_instrument_list__embedded.rb
458
+ - lib/cybersource_rest_client/models/payment_instrument_list__links.rb
459
+ - lib/cybersource_rest_client/models/payment_instrument_list__links_first.rb
460
+ - lib/cybersource_rest_client/models/payment_instrument_list__links_last.rb
461
+ - lib/cybersource_rest_client/models/payment_instrument_list__links_next.rb
462
+ - lib/cybersource_rest_client/models/payment_instrument_list__links_prev.rb
463
+ - lib/cybersource_rest_client/models/payment_instrument_list__links_self.rb
451
464
  - lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb
452
465
  - lib/cybersource_rest_client/models/post_customer_request.rb
453
466
  - lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb
@@ -503,12 +516,14 @@ files:
503
516
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information.rb
504
517
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb
505
518
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb
519
+ - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_reward_points_details.rb
520
+ - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information.rb
521
+ - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb
506
522
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb
507
523
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb
508
524
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features_balances.rb
509
525
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb
510
526
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb
511
- - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_card.rb
512
527
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_instrument_identifier.rb
513
528
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb
514
529
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb
@@ -641,6 +656,7 @@ files:
641
656
  - lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb
642
657
  - lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb
643
658
  - lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb
659
+ - lib/cybersource_rest_client/models/ptsv2payments_risk_information_auxiliary_data.rb
644
660
  - lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history.rb
645
661
  - lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_account_history.rb
646
662
  - lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb
@@ -757,6 +773,7 @@ files:
757
773
  - lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response.rb
758
774
  - lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response_details.rb
759
775
  - lib/cybersource_rest_client/models/reportingv3reports_report_preferences.rb
776
+ - lib/cybersource_rest_client/models/resource_not_found_error.rb
760
777
  - lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb
761
778
  - lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb
762
779
  - lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb
@@ -853,6 +870,7 @@ files:
853
870
  - lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb
854
871
  - lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb
855
872
  - lib/cybersource_rest_client/models/riskv1liststypeentries_buyer_information.rb
873
+ - lib/cybersource_rest_client/models/riskv1liststypeentries_client_reference_information.rb
856
874
  - lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb
857
875
  - lib/cybersource_rest_client/models/riskv1liststypeentries_order_information.rb
858
876
  - lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_address.rb
@@ -998,6 +1016,7 @@ files:
998
1016
  - lib/cybersource_rest_client/models/ums_v1_users_get200_response_contact_information.rb
999
1017
  - lib/cybersource_rest_client/models/ums_v1_users_get200_response_organization_information.rb
1000
1018
  - lib/cybersource_rest_client/models/ums_v1_users_get200_response_users.rb
1019
+ - lib/cybersource_rest_client/models/unauthorized_client_error.rb
1001
1020
  - lib/cybersource_rest_client/models/update_invoice_request.rb
1002
1021
  - lib/cybersource_rest_client/models/v1_file_details_get200_response.rb
1003
1022
  - lib/cybersource_rest_client/models/v1_file_details_get200_response__links.rb