cybersource_rest_client 0.0.25 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client.rb +2 -0
  3. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +2 -0
  4. data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +2 -0
  5. data/lib/cybersource_rest_client/api/payment_instrument_api.rb +2 -0
  6. data/lib/cybersource_rest_client/models/invoice_settings_request.rb +1 -1
  7. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +29 -4
  8. data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +343 -0
  9. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +11 -1
  10. data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +11 -1
  11. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +11 -1
  12. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +11 -1
  13. data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +11 -1
  14. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +11 -1
  15. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +1 -16
  16. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +129 -4
  17. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_velocity_morphing.rb +1 -1
  18. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +1 -1
  19. data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +5 -5
  20. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +1 -1
  21. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +1 -1
  22. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +5 -5
  23. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +1 -1
  24. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +1 -16
  25. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +1 -16
  26. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +2 -32
  27. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +1 -16
  28. data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +5 -5
  29. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +5 -5
  30. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +5 -5
  31. data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +5 -5
  32. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +11 -1
  33. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bank_account.rb +7 -7
  34. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +11 -1
  35. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +5 -5
  36. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -1
  37. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +13 -1
  38. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_multi_processor_routing.rb +244 -0
  39. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +5 -5
  40. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -1
  41. metadata +8 -6
@@ -48,8 +48,8 @@ module CyberSource
48
48
  # @return Array for valid properties with the reasons
49
49
  def list_invalid_properties
50
50
  invalid_properties = Array.new
51
- if !@ip_address.nil? && @ip_address.to_s.length > 48
52
- invalid_properties.push('invalid value for "ip_address", the character length must be smaller than or equal to 48.')
51
+ if !@ip_address.nil? && @ip_address.to_s.length > 45
52
+ invalid_properties.push('invalid value for "ip_address", the character length must be smaller than or equal to 45.')
53
53
  end
54
54
 
55
55
  invalid_properties
@@ -58,15 +58,15 @@ module CyberSource
58
58
  # Check to see if the all the properties in the model are valid
59
59
  # @return true if the model is valid
60
60
  def valid?
61
- return false if !@ip_address.nil? && @ip_address.to_s.length > 48
61
+ return false if !@ip_address.nil? && @ip_address.to_s.length > 45
62
62
  true
63
63
  end
64
64
 
65
65
  # Custom attribute writer method with validation
66
66
  # @param [Object] ip_address Value to be assigned
67
67
  def ip_address=(ip_address)
68
- if !ip_address.nil? && ip_address.to_s.length > 48
69
- fail ArgumentError, 'invalid value for "ip_address", the character length must be smaller than or equal to 48.'
68
+ if !ip_address.nil? && ip_address.to_s.length > 45
69
+ fail ArgumentError, 'invalid value for "ip_address", the character length must be smaller than or equal to 45.'
70
70
  end
71
71
 
72
72
  @ip_address = ip_address
@@ -20,7 +20,7 @@ module CyberSource
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)
21
21
  attr_accessor :business_application_id
22
22
 
23
- # Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. Only `internet`, `moto`, `install`, `recurring`, and `recurring_internet` are valid values. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Other Types of Transactions See Appendix I, \"Commerce Indicators,\" on page 441. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction.
23
+ # Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. Only `internet`, `moto`, `install`, `recurring`, and `recurring_internet` are valid values. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Other Types of Transactions See Appendix I, \"Commerce Indicators,\" on page 441. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction. Note that this should ONLY be used when the cardholder and card are present at the time of the transaction. For all keyed transactions originated from a POS terminal where the cardholder and card are not present, commerceIndicator should be submitted as “moto\"
24
24
  attr_accessor :commerce_indicator
25
25
 
26
26
  # Attribute mapping from ruby-style variable name to JSON key.
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.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - CyberSource
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-17 00:00:00.000000000 Z
11
+ date: 2020-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -196,20 +196,20 @@ dependencies:
196
196
  requirements:
197
197
  - - "~>"
198
198
  - !ruby/object:Gem::Version
199
- version: '5.2'
199
+ version: '6.0'
200
200
  - - ">="
201
201
  - !ruby/object:Gem::Version
202
- version: 5.2.0
202
+ version: 6.0.3.2
203
203
  type: :runtime
204
204
  prerelease: false
205
205
  version_requirements: !ruby/object:Gem::Requirement
206
206
  requirements:
207
207
  - - "~>"
208
208
  - !ruby/object:Gem::Version
209
- version: '5.2'
209
+ version: '6.0'
210
210
  - - ">="
211
211
  - !ruby/object:Gem::Version
212
- version: 5.2.0
212
+ version: 6.0.3.2
213
213
  - !ruby/object:Gem::Dependency
214
214
  name: interface
215
215
  requirement: !ruby/object:Gem::Requirement
@@ -404,6 +404,7 @@ files:
404
404
  - lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information.rb
405
405
  - lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb
406
406
  - lib/cybersource_rest_client/models/invoicing_v2_invoices_post202_response.rb
407
+ - lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb
407
408
  - lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb
408
409
  - lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb
409
410
  - lib/cybersource_rest_client/models/invoicingv2invoices_order_information.rb
@@ -959,6 +960,7 @@ files:
959
960
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options.rb
960
961
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb
961
962
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb
963
+ - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_multi_processor_routing.rb
962
964
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_processor.rb
963
965
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information.rb
964
966
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_profile.rb