citypay_api_client 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +7 -11
  4. data/citypay_api_client.gemspec +0 -1
  5. data/docs/Decision.md +6 -6
  6. data/lib/citypay_api_client.rb +2 -3
  7. data/lib/citypay_api_client/api/card_holder_account_api.rb +0 -1
  8. data/lib/citypay_api_client/api/operational_api.rb +0 -1
  9. data/lib/citypay_api_client/api/payment_processing_api.rb +0 -1
  10. data/lib/citypay_api_client/api_client.rb +7 -3
  11. data/lib/citypay_api_client/api_error.rb +0 -1
  12. data/lib/citypay_api_client/configuration.rb +0 -1
  13. data/lib/citypay_api_client/models/account_create.rb +0 -1
  14. data/lib/citypay_api_client/models/account_status.rb +0 -1
  15. data/lib/citypay_api_client/models/acknowledgement.rb +0 -1
  16. data/lib/citypay_api_client/models/airline_advice.rb +0 -1
  17. data/lib/citypay_api_client/models/airline_segment.rb +0 -1
  18. data/lib/citypay_api_client/models/auth_reference.rb +0 -1
  19. data/lib/citypay_api_client/models/auth_references.rb +0 -1
  20. data/lib/citypay_api_client/models/auth_request.rb +0 -1
  21. data/lib/citypay_api_client/models/auth_response.rb +0 -1
  22. data/lib/citypay_api_client/models/authen_required.rb +0 -1
  23. data/lib/citypay_api_client/models/c_res_auth_request.rb +0 -1
  24. data/lib/citypay_api_client/models/capture_request.rb +0 -1
  25. data/lib/citypay_api_client/models/card.rb +0 -1
  26. data/lib/citypay_api_client/models/card_holder_account.rb +0 -1
  27. data/lib/citypay_api_client/models/card_status.rb +0 -1
  28. data/lib/citypay_api_client/models/charge_request.rb +0 -1
  29. data/lib/citypay_api_client/models/contact_details.rb +0 -1
  30. data/lib/citypay_api_client/models/decision.rb +19 -20
  31. data/lib/citypay_api_client/models/error.rb +0 -1
  32. data/lib/citypay_api_client/models/external_mpi.rb +0 -1
  33. data/lib/citypay_api_client/models/list_merchants_response.rb +0 -1
  34. data/lib/citypay_api_client/models/mcc6012.rb +0 -1
  35. data/lib/citypay_api_client/models/merchant.rb +0 -1
  36. data/lib/citypay_api_client/models/pa_res_auth_request.rb +0 -1
  37. data/lib/citypay_api_client/models/ping.rb +0 -1
  38. data/lib/citypay_api_client/models/register_card.rb +0 -1
  39. data/lib/citypay_api_client/models/request_challenged.rb +0 -1
  40. data/lib/citypay_api_client/models/retrieve_request.rb +0 -1
  41. data/lib/citypay_api_client/models/three_d_secure.rb +0 -1
  42. data/lib/citypay_api_client/models/void_request.rb +0 -1
  43. data/lib/citypay_api_client/test.rb +20 -0
  44. data/lib/citypay_api_client/version.rb +1 -2
  45. data/spec/api/card_holder_account_api_spec.rb +0 -1
  46. data/spec/api/operational_api_spec.rb +0 -1
  47. data/spec/api/payment_processing_api_spec.rb +0 -1
  48. data/spec/api_client_spec.rb +0 -1
  49. data/spec/configuration_spec.rb +0 -1
  50. data/spec/models/account_create_spec.rb +0 -1
  51. data/spec/models/account_status_spec.rb +0 -1
  52. data/spec/models/acknowledgement_spec.rb +16 -6
  53. data/spec/models/airline_advice_spec.rb +0 -1
  54. data/spec/models/airline_segment_spec.rb +0 -1
  55. data/spec/models/api_key_spec.rb +1 -1
  56. data/spec/models/auth_reference_spec.rb +0 -1
  57. data/spec/models/auth_references_spec.rb +42 -3
  58. data/spec/models/auth_request_spec.rb +0 -1
  59. data/spec/models/auth_response_spec.rb +62 -29
  60. data/spec/models/authen_required_spec.rb +0 -1
  61. data/spec/models/c_res_auth_request_spec.rb +0 -1
  62. data/spec/models/capture_request_spec.rb +0 -1
  63. data/spec/models/card_holder_account_spec.rb +84 -9
  64. data/spec/models/card_spec.rb +0 -1
  65. data/spec/models/card_status_spec.rb +0 -1
  66. data/spec/models/charge_request_spec.rb +0 -1
  67. data/spec/models/contact_details_spec.rb +0 -1
  68. data/spec/models/decision_spec.rb +94 -3
  69. data/spec/models/error_spec.rb +0 -1
  70. data/spec/models/external_mpi_spec.rb +0 -1
  71. data/spec/models/list_merchants_response_spec.rb +40 -5
  72. data/spec/models/mcc6012_spec.rb +0 -1
  73. data/spec/models/merchant_spec.rb +0 -1
  74. data/spec/models/pa_res_auth_request_spec.rb +0 -1
  75. data/spec/models/ping_spec.rb +0 -1
  76. data/spec/models/register_card_spec.rb +0 -1
  77. data/spec/models/request_challenged_spec.rb +0 -1
  78. data/spec/models/retrieve_request_spec.rb +0 -1
  79. data/spec/models/three_d_secure_spec.rb +0 -1
  80. data/spec/models/void_request_spec.rb +0 -1
  81. data/spec/spec_helper.rb +0 -1
  82. metadata +3 -3
  83. data/citypay_api-1.0.1.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: abee74941401eb70778cfb9a7413a2549c18490e1df25aa0f473ab8b532d89ff
4
- data.tar.gz: 527d19c9d9e9601cfdb29c37bdb2fbc63fd127568e88d77d3b79c64fc5768d8a
3
+ metadata.gz: bcacffed67167d3e8e56ada721388c092d65b84af4bed26d43632e2229d1a0f9
4
+ data.tar.gz: 5f92572f3894d73ccad444263a2da4caf8badc64836c28b350a3902261934493
5
5
  SHA512:
6
- metadata.gz: 425f3616ef037ceef95fc1417710d105b7f96546e9a6b7742924512340a21a4d5808428e7d4504ddf55cf858c08711f30c089d5656825a066a946a2bc2e1f3ff
7
- data.tar.gz: b50ec7b42bb64d7e7215b89d2e13eda64bf1f07551707856482d085454610a2e5957b9e3ea622342df8dc920ab79f162e596d813b605a5ec2066299af83c8309
6
+ metadata.gz: fdd17c4bb446ff8ea52f3eec3c47521926d1a9e0b6b3e8e382438452aefb9471dbbe696f4b946c9d0eeb786b8f7aa6cdf6aad399793aa6711b8b696d890283f2
7
+ data.tar.gz: 9b5a858953c485065376757b007b47b1b8c16c74231efda218d46bad0e364a87f9cb25d6bf79233b038b5bebaefe31c07e6cb4cf1ea373343ecdb985619b630b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- citypay_api_client (1.0.1)
4
+ citypay_api_client (1.0.2)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # CityPay API Client for Ruby
2
2
 
3
3
  CityPayApiClient - the Ruby gem for the CityPay Payment API
4
+ [![Build Status](https://travis-ci.org/citypay/citypay-api-client-ruby.svg?branch=master)](https://travis-ci.org/citypay/citypay-api-client-ruby)
4
5
 
5
6
 
6
7
  This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It
@@ -32,18 +33,13 @@ Completion processing. The API is also capable of tokinsed payments using Card H
32
33
 
33
34
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
34
35
 
35
- - API version: 6.0.0
36
- - Package version: 1.0.0
36
+ - API version: 6.0.4
37
+ - Package version: 1.0.2
37
38
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
38
39
  For more information, please visit [https://citypay.com/customer-centre/technical-support.html](https://citypay.com/customer-centre/technical-support.html)
39
40
 
40
41
  ## Installation
41
42
 
42
- ### Install from rubygems.org
43
- ```shell
44
- gem install citypay_api_client
45
- ```
46
-
47
43
  ### Build a gem
48
44
 
49
45
  To build the Ruby code into a gem:
@@ -55,16 +51,16 @@ gem build citypay_api_client.gemspec
55
51
  Then either install the gem locally:
56
52
 
57
53
  ```shell
58
- gem install ./citypay_api_client-1.0.0.gem
54
+ gem install ./citypay_api_client-1.0.2.gem
59
55
  ```
60
56
 
61
- (for development, run `gem install --dev ./citypay_api_client-1.0.0.gem` to install the development dependencies)
57
+ (for development, run `gem install --dev ./citypay_api_client-1.0.2.gem` to install the development dependencies)
62
58
 
63
59
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
64
60
 
65
61
  Finally add this to the Gemfile:
66
62
 
67
- gem 'citypay_api_client', '~> 1.0.0'
63
+ gem 'citypay_api_client', '~> 1.0.2'
68
64
 
69
65
  ### Install from Git
70
66
 
@@ -90,7 +86,7 @@ require 'citypay_api_client'
90
86
 
91
87
  # Setup authorization
92
88
  CityPayApiClient.configure do |config|
93
- config.api_key['cp-api-key'] = CityPayApiClient::ApiKey.new(client_id: "YourClientId", licence_key: "YourLicenceKey").generate
89
+ config.api_key['cp-api-key'] = CityPayApiClient::ApiKey.new(client_id: 'YourClientId', licence_key: 'YourLicenceKey').generate
94
90
  end
95
91
 
96
92
  api_instance = CityPayApiClient::CardHolderAccountApi.new
@@ -5,7 +5,6 @@
5
5
 
6
6
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
7
7
 
8
- The version of the OpenAPI document: 6.0.0
9
8
  Contact: support@citypay.com
10
9
  Generated by: https://openapi-generator.tech
11
10
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -4,18 +4,18 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **authentication** | [**AuthenRequired**](AuthenRequired.md) | | [optional]
8
- **challenge** | [**RequestChallenged**](RequestChallenged.md) | | [optional]
9
- **result** | [**AuthResponse**](AuthResponse.md) | | [optional]
7
+ **authen_required** | [**AuthenRequired**](AuthenRequired.md) | | [optional]
8
+ **auth_response** | [**AuthResponse**](AuthResponse.md) | | [optional]
9
+ **request_challenged** | [**RequestChallenged**](RequestChallenged.md) | | [optional]
10
10
 
11
11
  ## Code Sample
12
12
 
13
13
  ```ruby
14
14
  require 'CityPayApiClient'
15
15
 
16
- instance = CityPayApiClient::Decision.new(authentication: null,
17
- challenge: null,
18
- result: null)
16
+ instance = CityPayApiClient::Decision.new(authen_required: null,
17
+ auth_response: null,
18
+ request_challenged: null)
19
19
  ```
20
20
 
21
21
 
@@ -1,9 +1,8 @@
1
1
  =begin
2
2
  #CityPay Payment API
3
3
 
4
- # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
4
+ # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -22,8 +21,8 @@ require 'citypay_api_client/models/account_status'
22
21
  require 'citypay_api_client/models/acknowledgement'
23
22
  require 'citypay_api_client/models/airline_advice'
24
23
  require 'citypay_api_client/models/airline_segment'
25
- require 'citypay_api_client/models/api_key'
26
24
  require 'citypay_api_client/models/auth_reference'
25
+ require "citypay_api_client/models/api_key"
27
26
  require 'citypay_api_client/models/auth_references'
28
27
  require 'citypay_api_client/models/auth_request'
29
28
  require 'citypay_api_client/models/auth_response'
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -30,7 +29,7 @@ module CityPayApiClient
30
29
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
31
30
  def initialize(config = Configuration.default)
32
31
  @config = config
33
- @user_agent = "OpenAPI-Generator/#{VERSION}/ruby"
32
+ @user_agent = "OpenAPI-Ruby/#{VERSION}"
34
33
  @default_headers = {
35
34
  'Content-Type' => 'application/json',
36
35
  'User-Agent' => @user_agent
@@ -237,7 +236,12 @@ module CityPayApiClient
237
236
  end
238
237
  else
239
238
  # models, e.g. Pet
240
- CityPayApiClient.const_get(return_type).build_from_hash(data)
239
+ # for models which present the model name with nested data
240
+ if !data[return_type.to_sym].nil?
241
+ CityPayApiClient.const_get(return_type).build_from_hash(data[return_type.to_sym])
242
+ else
243
+ CityPayApiClient.const_get(return_type).build_from_hash(data)
244
+ end
241
245
  end
242
246
  end
243
247
 
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -3,7 +3,6 @@
3
3
 
4
4
  # This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
5
5
 
6
- The version of the OpenAPI document: 6.0.0
7
6
  Contact: support@citypay.com
8
7
  Generated by: https://openapi-generator.tech
9
8
  OpenAPI Generator version: 5.0.0-SNAPSHOT
@@ -14,27 +13,27 @@ require 'date'
14
13
 
15
14
  module CityPayApiClient
16
15
  class Decision
17
- attr_accessor :authentication
16
+ attr_accessor :authen_required
18
17
 
19
- attr_accessor :challenge
18
+ attr_accessor :auth_response
20
19
 
21
- attr_accessor :result
20
+ attr_accessor :request_challenged
22
21
 
23
22
  # Attribute mapping from ruby-style variable name to JSON key.
24
23
  def self.attribute_map
25
24
  {
26
- :'authentication' => :'authentication',
27
- :'challenge' => :'challenge',
28
- :'result' => :'result'
25
+ :'authen_required' => :'AuthenRequired',
26
+ :'auth_response' => :'AuthResponse',
27
+ :'request_challenged' => :'RequestChallenged'
29
28
  }
30
29
  end
31
30
 
32
31
  # Attribute type mapping.
33
32
  def self.openapi_types
34
33
  {
35
- :'authentication' => :'AuthenRequired',
36
- :'challenge' => :'RequestChallenged',
37
- :'result' => :'AuthResponse'
34
+ :'authen_required' => :'AuthenRequired',
35
+ :'auth_response' => :'AuthResponse',
36
+ :'request_challenged' => :'RequestChallenged'
38
37
  }
39
38
  end
40
39
 
@@ -59,16 +58,16 @@ module CityPayApiClient
59
58
  h[k.to_sym] = v
60
59
  }
61
60
 
62
- if attributes.key?(:'authentication')
63
- self.authentication = attributes[:'authentication']
61
+ if attributes.key?(:'authen_required')
62
+ self.authen_required = attributes[:'authen_required']
64
63
  end
65
64
 
66
- if attributes.key?(:'challenge')
67
- self.challenge = attributes[:'challenge']
65
+ if attributes.key?(:'auth_response')
66
+ self.auth_response = attributes[:'auth_response']
68
67
  end
69
68
 
70
- if attributes.key?(:'result')
71
- self.result = attributes[:'result']
69
+ if attributes.key?(:'request_challenged')
70
+ self.request_challenged = attributes[:'request_challenged']
72
71
  end
73
72
  end
74
73
 
@@ -90,9 +89,9 @@ module CityPayApiClient
90
89
  def ==(o)
91
90
  return true if self.equal?(o)
92
91
  self.class == o.class &&
93
- authentication == o.authentication &&
94
- challenge == o.challenge &&
95
- result == o.result
92
+ authen_required == o.authen_required &&
93
+ auth_response == o.auth_response &&
94
+ request_challenged == o.request_challenged
96
95
  end
97
96
 
98
97
  # @see the `==` method
@@ -104,7 +103,7 @@ module CityPayApiClient
104
103
  # Calculates hash code according to all attributes.
105
104
  # @return [Integer] Hash code
106
105
  def hash
107
- [authentication, challenge, result].hash
106
+ [authen_required, auth_response, request_challenged].hash
108
107
  end
109
108
 
110
109
  # Builds the object from hash