adyen-ruby-api-library 4.0.1 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.github/CODEOWNERS +1 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +27 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +23 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +7 -0
- data/.github/dependabot.yml +8 -0
- data/.gitignore +2 -0
- data/CODE_OF_CONDUCT.md +76 -0
- data/Gemfile +2 -2
- data/README.md +28 -2
- data/docs/checkout.html +17 -0
- data/lib/adyen-ruby-api-library.rb +4 -11
- data/lib/adyen/client.rb +30 -9
- data/lib/adyen/errors.rb +44 -2
- data/lib/adyen/services/bin_lookup.rb +18 -0
- data/lib/adyen/services/checkout.rb +12 -7
- data/lib/adyen/services/data_protection.rb +17 -0
- data/lib/adyen/services/dispute.rb +20 -0
- data/lib/adyen/services/marketpay.rb +18 -0
- data/lib/adyen/services/payments.rb +10 -4
- data/lib/adyen/services/postfmapi.rb +19 -0
- data/lib/adyen/services/service.rb +2 -2
- data/lib/adyen/version.rb +1 -1
- data/renovate.json +5 -0
- data/spec/bin_lookup_spec.rb +15 -0
- data/spec/checkout_spec.rb +1 -0
- data/spec/data_protection_spec.rb +14 -0
- data/spec/dispute_spec.rb +17 -0
- data/spec/errors_spec.rb +33 -3
- data/spec/hop_spec.rb +14 -0
- data/spec/mocks/requests/BinLookup/get_3ds_availability.json +4 -0
- data/spec/mocks/requests/BinLookup/get_cost_estimate.json +8 -0
- data/spec/mocks/requests/Checkout/payment_links.json +9 -0
- data/spec/mocks/requests/DataProtectionService/request_subject_erasure.json +5 -0
- data/spec/mocks/requests/DisputeService/defend_dispute.json +5 -0
- data/spec/mocks/requests/DisputeService/delete_dispute_defense_document.json +5 -0
- data/spec/mocks/requests/DisputeService/retrieve_applicable_defense_reasons.json +4 -0
- data/spec/mocks/requests/DisputeService/supply_defense_document.json +11 -0
- data/spec/mocks/requests/Hop/get_onboarding_url.json +4 -0
- data/spec/mocks/requests/Payment/donate.json +10 -0
- data/spec/mocks/requests/Terminal/assign_terminals.json +6 -0
- data/spec/mocks/requests/Terminal/find_terminal.json +3 -0
- data/spec/mocks/requests/Terminal/get_terminals_under_account.json +4 -0
- data/spec/mocks/responses/BinLookup/get_3ds_availability.json +8 -0
- data/spec/mocks/responses/BinLookup/get_cost_estimate.json +8 -0
- data/spec/mocks/responses/Checkout/payment_links.json +9 -0
- data/spec/mocks/responses/DataProtectionService/request_subject_erasure.json +3 -0
- data/spec/mocks/responses/DisputeService/defend_dispute.json +5 -0
- data/spec/mocks/responses/DisputeService/delete_dispute_defense_document.json +5 -0
- data/spec/mocks/responses/DisputeService/retrieve_applicable_defense_reasons.json +28 -0
- data/spec/mocks/responses/DisputeService/supply_defense_document.json +5 -0
- data/spec/mocks/responses/Hop/get_onboarding_url.json +7 -0
- data/spec/mocks/responses/Payment/donate.json +4 -0
- data/spec/mocks/responses/Terminal/assign_terminals.json +5 -0
- data/spec/mocks/responses/Terminal/find_terminal.json +6 -0
- data/spec/mocks/responses/Terminal/get_terminals_under_account.json +11 -0
- data/spec/payments_spec.rb +2 -1
- data/spec/postfmapi_spec.rb +16 -0
- data/spec/service_spec.rb +3 -0
- data/spec/spec_helper.rb +19 -12
- metadata +45 -4
| @@ -0,0 +1,28 @@ | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "defenseReasons": [
         | 
| 3 | 
            +
                {
         | 
| 4 | 
            +
                  "defenseDocumentTypes": [
         | 
| 5 | 
            +
                    {
         | 
| 6 | 
            +
                      "available": false,
         | 
| 7 | 
            +
                      "defenseDocumentTypeCode": "TIDorInvoice",
         | 
| 8 | 
            +
                      "requirementLevel": "Optional"
         | 
| 9 | 
            +
                    },
         | 
| 10 | 
            +
                    {
         | 
| 11 | 
            +
                      "available": false,
         | 
| 12 | 
            +
                      "defenseDocumentTypeCode": "DefenseMaterial",
         | 
| 13 | 
            +
                      "requirementLevel": "Required"
         | 
| 14 | 
            +
                    },
         | 
| 15 | 
            +
                    {
         | 
| 16 | 
            +
                      "available": false,
         | 
| 17 | 
            +
                      "defenseDocumentTypeCode": "AlternativeDefenseMaterial",
         | 
| 18 | 
            +
                      "requirementLevel": "AlternativeRequired"
         | 
| 19 | 
            +
                    }
         | 
| 20 | 
            +
                  ],
         | 
| 21 | 
            +
                  "defenseReasonCode": "SupplyDefenseMaterial",
         | 
| 22 | 
            +
                  "satisfied": false
         | 
| 23 | 
            +
                }
         | 
| 24 | 
            +
              ],
         | 
| 25 | 
            +
              "disputeServiceResult": {
         | 
| 26 | 
            +
                "success": true
         | 
| 27 | 
            +
              }
         | 
| 28 | 
            +
            }
         | 
| @@ -0,0 +1,7 @@ | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "pspReference": "8815850625171183",
         | 
| 3 | 
            +
              "resultCode": "Success",
         | 
| 4 | 
            +
              "submittedAsync": "false",
         | 
| 5 | 
            +
              "invalidFields": [],
         | 
| 6 | 
            +
              "redirectUrl": "https://hop-test.adyen.com/hop/view/?token=BQABAQANDBQftSiV8pqlYYFRjIZmBIhE3Ls%2FgdLQ3kcTbflt4FDPves0B9kq7aSZUqKwRciwBEN3PX23ZPqGmYXTb7QklLY5YdEXvUdEgtFnJl9uDWK09texQ3djnTPW6JKrok5svw%2FGZyGHqF1NAbuqPPPLF8o5Jzzri8AqyQKig%2BtMmEibuCuZrIvMbJjcINfDk0OBHir8bNjHgMGFiDBOXdkiww%2FB1VXP2MMqSB1yqcXiKL1o%2B12czdB9wJ5wwsQLGlcuE2Z0%2BZNIQL3MdRomkphpkIWBPFN9YmyGS0Wel6trve6ghBl4q4e1C%2B9BMQKc4P0jrC9FrkBZvhtBYoN%2BfUfrEDbgXpXjXYa1tlfU53XoD%2FsAAA1n2PuQSyfTxEf8qpwAcB9oDN%2BrbpwxYwIk42kCGztAQShTwZzx%2B4VifKpjBdtHA4bSHEqOzGPvpQ6bk4viluLn9Ealv0ylf%2FC3w%2BZCmThg8%2B2EIiABmMK8Jbfijl%2FM%2FqE43F0QN9SveJjwkN5IYGra5QbErUdAPDMfDksPjy%2FY8j%2B2XT1kMwSOLbWTCfhP%2FM%2F68Ll50RuhfJOkgfdP%2BfSxbK9i9uAmEsJ980cABWPpB4MH27asGfZ17mCM3TavaiI9d9Gs3X1HIoEZehFKWEhoaGsEaoSBQ6ut6VnZoOCCBsvssg9aqi1LJKpwwWg4CjS9Ygrw1dnSYjyFO2HeKGXf4TUS7DSCF7tpUJlBen69Xaqbwg%2BHfNfmgcCoZwSgvg%3D%3D"
         | 
| 7 | 
            +
            }
         | 
    
        data/spec/payments_spec.rb
    CHANGED
    
    | @@ -14,7 +14,8 @@ RSpec.describe Adyen::Payments, service: "payments service" do | |
| 14 14 | 
             
                ["cancel", "response", "[cancel-received]"],
         | 
| 15 15 | 
             
                ["cancel_or_refund", "response", "[cancelOrRefund-received]"],
         | 
| 16 16 | 
             
                ["capture", "response", "[capture-received]"],
         | 
| 17 | 
            -
                ["refund", "response", "[refund-received]"]
         | 
| 17 | 
            +
                ["refund", "response", "[refund-received]"],
         | 
| 18 | 
            +
                ["donate", "response", "[donation-received]"]
         | 
| 18 19 | 
             
              ]
         | 
| 19 20 |  | 
| 20 21 | 
             
              generate_tests(client, "Payment", test_sets, client.payments)
         | 
| @@ -0,0 +1,16 @@ | |
| 1 | 
            +
            require "spec_helper"
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            RSpec.describe Adyen::PosTerminalManagement, service: "POS Terminal Management service" do
         | 
| 4 | 
            +
              # client instance to be used in dynamically generated tests
         | 
| 5 | 
            +
              client = create_client(:basic)
         | 
| 6 | 
            +
             | 
| 7 | 
            +
              # methods / values to test for
         | 
| 8 | 
            +
              # format is defined in spec_helper
         | 
| 9 | 
            +
              test_sets = [
         | 
| 10 | 
            +
                ["find_terminal", "merchantAccount", "TestMerchant"],
         | 
| 11 | 
            +
                ["get_terminals_under_account", "merchantAccounts", [{ "merchantAccount" => "TestMerchant", "inStoreTerminals" => ["P400Plus-123456789"] }]],
         | 
| 12 | 
            +
                ["assign_terminals", "results", { "e285-123456789" => "Done" }]
         | 
| 13 | 
            +
              ]
         | 
| 14 | 
            +
             | 
| 15 | 
            +
              generate_tests(client, "Terminal", test_sets, client.postfmapi)
         | 
| 16 | 
            +
            end
         | 
    
        data/spec/service_spec.rb
    CHANGED
    
    | @@ -19,6 +19,7 @@ RSpec.describe Adyen::Service do | |
| 19 19 | 
             
                  expect(described_class.action_for_method_name(:delete_bank_accounts)).to eq 'deleteBankAccounts'
         | 
| 20 20 | 
             
                  expect(described_class.action_for_method_name(:delete_shareholders)).to eq 'deleteShareholders'
         | 
| 21 21 | 
             
                  expect(described_class.action_for_method_name(:disable)).to eq 'disable'
         | 
| 22 | 
            +
                  expect(described_class.action_for_method_name(:donate)).to eq 'donate'
         | 
| 22 23 | 
             
                  expect(described_class.action_for_method_name(:get_account_holder)).to eq 'getAccountHolder'
         | 
| 23 24 | 
             
                  expect(described_class.action_for_method_name(:get_tier_configuration)).to eq 'getTierConfiguration'
         | 
| 24 25 | 
             
                  expect(described_class.action_for_method_name(:get_uploaded_documents)).to eq 'getUploadedDocuments'
         | 
| @@ -26,6 +27,7 @@ RSpec.describe Adyen::Service do | |
| 26 27 | 
             
                  expect(described_class.action_for_method_name(:origin_keys)).to eq 'originKeys'
         | 
| 27 28 | 
             
                  expect(described_class.action_for_method_name(:payment_methods)).to eq 'paymentMethods'
         | 
| 28 29 | 
             
                  expect(described_class.action_for_method_name(:payment_session)).to eq 'paymentSession'
         | 
| 30 | 
            +
                  expect(described_class.action_for_method_name(:payment_links)).to eq 'paymentLinks'
         | 
| 29 31 | 
             
                  expect(described_class.action_for_method_name(:refund)).to eq 'refund'
         | 
| 30 32 | 
             
                  expect(described_class.action_for_method_name(:store_detail)).to eq 'storeDetail'
         | 
| 31 33 | 
             
                  expect(described_class.action_for_method_name(:store_detail_and_submit_third_party)).to eq 'storeDetailAndSubmitThirdParty'
         | 
| @@ -37,6 +39,7 @@ RSpec.describe Adyen::Service do | |
| 37 39 | 
             
                  expect(described_class.action_for_method_name(:update_account_holder)).to eq 'updateAccountHolder'
         | 
| 38 40 | 
             
                  expect(described_class.action_for_method_name(:update_account_holder_state)).to eq 'updateAccountHolderState'
         | 
| 39 41 | 
             
                  expect(described_class.action_for_method_name(:upload_document)).to eq 'uploadDocument'
         | 
| 42 | 
            +
                  expect(described_class.action_for_method_name(:get_onboarding_url)).to eq 'getOnboardingUrl'
         | 
| 40 43 | 
             
                end
         | 
| 41 44 | 
             
              end
         | 
| 42 45 | 
             
            end
         | 
    
        data/spec/spec_helper.rb
    CHANGED
    
    | @@ -18,20 +18,27 @@ def create_test(client, service, method_name, parent_object) | |
| 18 18 | 
             
              request_body = JSON.parse(json_from_file("mocks/requests/#{service}/#{method_name}.json"))
         | 
| 19 19 | 
             
              response_body = json_from_file("mocks/responses/#{service}/#{method_name}.json")
         | 
| 20 20 |  | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 21 | 
            +
              with_application_info = [
         | 
| 22 | 
            +
                "authorise",
         | 
| 23 | 
            +
                "authorise3d",
         | 
| 24 | 
            +
                "authorise3ds2",
         | 
| 25 | 
            +
                "payments",
         | 
| 26 | 
            +
                "payment_session",
         | 
| 27 | 
            +
                "payment_links",
         | 
| 28 | 
            +
              ]
         | 
| 29 | 
            +
              if with_application_info.include?(method_name)
         | 
| 23 30 | 
             
                client.add_application_info(request_body)
         | 
| 24 31 | 
             
              end
         | 
| 25 32 |  | 
| 26 33 | 
             
              # client-generated headers
         | 
| 27 34 | 
             
              headers = {
         | 
| 28 | 
            -
                 | 
| 35 | 
            +
                "Content-Type".to_sym => "application/json",
         | 
| 29 36 | 
             
              }
         | 
| 30 37 |  | 
| 31 38 | 
             
              # authentication headers
         | 
| 32 | 
            -
              if not client.api_key.nil? | 
| 39 | 
            +
              if not client.api_key.nil?
         | 
| 33 40 | 
             
                headers["x-api-key"] = client.api_key
         | 
| 34 | 
            -
              elsif not client.ws_user.nil? and not client.ws_password.nil? | 
| 41 | 
            +
              elsif not client.ws_user.nil? and not client.ws_password.nil?
         | 
| 35 42 | 
             
                auth_header = "Basic " + Base64::encode64("#{client.ws_user}:#{client.ws_password}")
         | 
| 36 43 | 
             
                headers["Authorization"] = auth_header.strip
         | 
| 37 44 | 
             
              else
         | 
| @@ -43,12 +50,12 @@ def create_test(client, service, method_name, parent_object) | |
| 43 50 | 
             
              url = client.service_url(service, action, parent_object.version)
         | 
| 44 51 | 
             
              WebMock.stub_request(:post, url).
         | 
| 45 52 | 
             
                with(
         | 
| 46 | 
            -
             | 
| 47 | 
            -
             | 
| 48 | 
            -
             | 
| 53 | 
            +
                body: request_body,
         | 
| 54 | 
            +
                headers: headers,
         | 
| 55 | 
            +
              ).
         | 
| 49 56 | 
             
                to_return(
         | 
| 50 | 
            -
             | 
| 51 | 
            -
             | 
| 57 | 
            +
                body: response_body,
         | 
| 58 | 
            +
              )
         | 
| 52 59 | 
             
              result = parent_object.public_send(method_name, request_body)
         | 
| 53 60 |  | 
| 54 61 | 
             
              # result.response is already a Ruby object (Adyen::HashWithAccessors) (rather than an unparsed JSON string)
         | 
| @@ -86,10 +93,10 @@ def create_client(auth_type) | |
| 86 93 | 
             
              client = Adyen::Client.new
         | 
| 87 94 | 
             
              client.env = :mock
         | 
| 88 95 |  | 
| 89 | 
            -
              if auth_type == :basic | 
| 96 | 
            +
              if auth_type == :basic
         | 
| 90 97 | 
             
                client.ws_user = "user"
         | 
| 91 98 | 
             
                client.ws_password = "password"
         | 
| 92 | 
            -
              elsif auth_type == :api_key | 
| 99 | 
            +
              elsif auth_type == :api_key
         | 
| 93 100 | 
             
                client.api_key = "api_key"
         | 
| 94 101 | 
             
              else
         | 
| 95 102 | 
             
                raise ArgumentError "Invalid auth type for test client"
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: adyen-ruby-api-library
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 4.0 | 
| 4 | 
            +
              version: 4.4.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Adyen
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2020-11-16 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: faraday
         | 
| @@ -76,8 +76,14 @@ executables: [] | |
| 76 76 | 
             
            extensions: []
         | 
| 77 77 | 
             
            extra_rdoc_files: []
         | 
| 78 78 | 
             
            files:
         | 
| 79 | 
            +
            - ".github/CODEOWNERS"
         | 
| 80 | 
            +
            - ".github/ISSUE_TEMPLATE/bug_report.md"
         | 
| 81 | 
            +
            - ".github/ISSUE_TEMPLATE/feature_request.md"
         | 
| 82 | 
            +
            - ".github/PULL_REQUEST_TEMPLATE.md"
         | 
| 83 | 
            +
            - ".github/dependabot.yml"
         | 
| 79 84 | 
             
            - ".gitignore"
         | 
| 80 85 | 
             
            - ".travis.yml"
         | 
| 86 | 
            +
            - CODE_OF_CONDUCT.md
         | 
| 81 87 | 
             
            - CONTRIBUTING.md
         | 
| 82 88 | 
             
            - Gemfile
         | 
| 83 89 | 
             
            - LICENSE
         | 
| @@ -105,22 +111,31 @@ files: | |
| 105 111 | 
             
            - lib/adyen/errors.rb
         | 
| 106 112 | 
             
            - lib/adyen/hash_with_accessors.rb
         | 
| 107 113 | 
             
            - lib/adyen/result.rb
         | 
| 114 | 
            +
            - lib/adyen/services/bin_lookup.rb
         | 
| 108 115 | 
             
            - lib/adyen/services/checkout.rb
         | 
| 109 116 | 
             
            - lib/adyen/services/checkout_utility.rb
         | 
| 117 | 
            +
            - lib/adyen/services/data_protection.rb
         | 
| 118 | 
            +
            - lib/adyen/services/dispute.rb
         | 
| 110 119 | 
             
            - lib/adyen/services/marketpay.rb
         | 
| 111 120 | 
             
            - lib/adyen/services/payments.rb
         | 
| 112 121 | 
             
            - lib/adyen/services/payouts.rb
         | 
| 122 | 
            +
            - lib/adyen/services/postfmapi.rb
         | 
| 113 123 | 
             
            - lib/adyen/services/recurring.rb
         | 
| 114 124 | 
             
            - lib/adyen/services/service.rb
         | 
| 115 125 | 
             
            - lib/adyen/utils/hmac_validator.rb
         | 
| 116 126 | 
             
            - lib/adyen/version.rb
         | 
| 127 | 
            +
            - renovate.json
         | 
| 117 128 | 
             
            - spec/account_spec.rb
         | 
| 129 | 
            +
            - spec/bin_lookup_spec.rb
         | 
| 118 130 | 
             
            - spec/checkout_spec.rb
         | 
| 119 131 | 
             
            - spec/checkout_utility_spec.rb
         | 
| 120 132 | 
             
            - spec/client_spec.rb
         | 
| 133 | 
            +
            - spec/data_protection_spec.rb
         | 
| 134 | 
            +
            - spec/dispute_spec.rb
         | 
| 121 135 | 
             
            - spec/errors_spec.rb
         | 
| 122 136 | 
             
            - spec/fund_spec.rb
         | 
| 123 137 | 
             
            - spec/hash_with_accessors_spec.rb
         | 
| 138 | 
            +
            - spec/hop_spec.rb
         | 
| 124 139 | 
             
            - spec/mocks/requests/Account/close_account.json
         | 
| 125 140 | 
             
            - spec/mocks/requests/Account/close_account_holder.json
         | 
| 126 141 | 
             
            - spec/mocks/requests/Account/create_account.json
         | 
| @@ -135,19 +150,28 @@ files: | |
| 135 150 | 
             
            - spec/mocks/requests/Account/update_account_holder.json
         | 
| 136 151 | 
             
            - spec/mocks/requests/Account/update_account_holder_state.json
         | 
| 137 152 | 
             
            - spec/mocks/requests/Account/upload_document.json
         | 
| 153 | 
            +
            - spec/mocks/requests/BinLookup/get_3ds_availability.json
         | 
| 154 | 
            +
            - spec/mocks/requests/BinLookup/get_cost_estimate.json
         | 
| 138 155 | 
             
            - spec/mocks/requests/Checkout/payment-details.json
         | 
| 139 156 | 
             
            - spec/mocks/requests/Checkout/payment-result.json
         | 
| 157 | 
            +
            - spec/mocks/requests/Checkout/payment_links.json
         | 
| 140 158 | 
             
            - spec/mocks/requests/Checkout/payment_methods.json
         | 
| 141 159 | 
             
            - spec/mocks/requests/Checkout/payment_session.json
         | 
| 142 160 | 
             
            - spec/mocks/requests/Checkout/payments.json
         | 
| 143 161 | 
             
            - spec/mocks/requests/Checkout/verify.json
         | 
| 144 162 | 
             
            - spec/mocks/requests/CheckoutUtility/origin_keys.json
         | 
| 163 | 
            +
            - spec/mocks/requests/DataProtectionService/request_subject_erasure.json
         | 
| 164 | 
            +
            - spec/mocks/requests/DisputeService/defend_dispute.json
         | 
| 165 | 
            +
            - spec/mocks/requests/DisputeService/delete_dispute_defense_document.json
         | 
| 166 | 
            +
            - spec/mocks/requests/DisputeService/retrieve_applicable_defense_reasons.json
         | 
| 167 | 
            +
            - spec/mocks/requests/DisputeService/supply_defense_document.json
         | 
| 145 168 | 
             
            - spec/mocks/requests/Fund/account_holder_balance.json
         | 
| 146 169 | 
             
            - spec/mocks/requests/Fund/account_holder_transaction_list.json
         | 
| 147 170 | 
             
            - spec/mocks/requests/Fund/payout_account_holder.json
         | 
| 148 171 | 
             
            - spec/mocks/requests/Fund/refund_not_paid_out_transfers.json
         | 
| 149 172 | 
             
            - spec/mocks/requests/Fund/setup_beneficiary.json
         | 
| 150 173 | 
             
            - spec/mocks/requests/Fund/transfer_funds.json
         | 
| 174 | 
            +
            - spec/mocks/requests/Hop/get_onboarding_url.json
         | 
| 151 175 | 
             
            - spec/mocks/requests/Notification/create_notification_configuration.json
         | 
| 152 176 | 
             
            - spec/mocks/requests/Notification/delete_notification_configurations.json
         | 
| 153 177 | 
             
            - spec/mocks/requests/Notification/get_notification_configuration.json
         | 
| @@ -161,6 +185,7 @@ files: | |
| 161 185 | 
             
            - spec/mocks/requests/Payment/cancel.json
         | 
| 162 186 | 
             
            - spec/mocks/requests/Payment/cancel_or_refund.json
         | 
| 163 187 | 
             
            - spec/mocks/requests/Payment/capture.json
         | 
| 188 | 
            +
            - spec/mocks/requests/Payment/donate.json
         | 
| 164 189 | 
             
            - spec/mocks/requests/Payment/refund.json
         | 
| 165 190 | 
             
            - spec/mocks/requests/Payout/confirm_third_party.json
         | 
| 166 191 | 
             
            - spec/mocks/requests/Payout/decline_third_party.json
         | 
| @@ -170,6 +195,9 @@ files: | |
| 170 195 | 
             
            - spec/mocks/requests/Recurring/disable.json
         | 
| 171 196 | 
             
            - spec/mocks/requests/Recurring/list_recurring_details.json
         | 
| 172 197 | 
             
            - spec/mocks/requests/Recurring/store_token.json
         | 
| 198 | 
            +
            - spec/mocks/requests/Terminal/assign_terminals.json
         | 
| 199 | 
            +
            - spec/mocks/requests/Terminal/find_terminal.json
         | 
| 200 | 
            +
            - spec/mocks/requests/Terminal/get_terminals_under_account.json
         | 
| 173 201 | 
             
            - spec/mocks/responses/Account/close_account.json
         | 
| 174 202 | 
             
            - spec/mocks/responses/Account/close_account_holder.json
         | 
| 175 203 | 
             
            - spec/mocks/responses/Account/create_account.json
         | 
| @@ -184,19 +212,28 @@ files: | |
| 184 212 | 
             
            - spec/mocks/responses/Account/update_account_holder.json
         | 
| 185 213 | 
             
            - spec/mocks/responses/Account/update_account_holder_state.json
         | 
| 186 214 | 
             
            - spec/mocks/responses/Account/upload_document.json
         | 
| 215 | 
            +
            - spec/mocks/responses/BinLookup/get_3ds_availability.json
         | 
| 216 | 
            +
            - spec/mocks/responses/BinLookup/get_cost_estimate.json
         | 
| 187 217 | 
             
            - spec/mocks/responses/Checkout/payment-details.json
         | 
| 188 218 | 
             
            - spec/mocks/responses/Checkout/payment-result.json
         | 
| 219 | 
            +
            - spec/mocks/responses/Checkout/payment_links.json
         | 
| 189 220 | 
             
            - spec/mocks/responses/Checkout/payment_methods.json
         | 
| 190 221 | 
             
            - spec/mocks/responses/Checkout/payment_session.json
         | 
| 191 222 | 
             
            - spec/mocks/responses/Checkout/payments.json
         | 
| 192 223 | 
             
            - spec/mocks/responses/Checkout/verify.json
         | 
| 193 224 | 
             
            - spec/mocks/responses/CheckoutUtility/origin_keys.json
         | 
| 225 | 
            +
            - spec/mocks/responses/DataProtectionService/request_subject_erasure.json
         | 
| 226 | 
            +
            - spec/mocks/responses/DisputeService/defend_dispute.json
         | 
| 227 | 
            +
            - spec/mocks/responses/DisputeService/delete_dispute_defense_document.json
         | 
| 228 | 
            +
            - spec/mocks/responses/DisputeService/retrieve_applicable_defense_reasons.json
         | 
| 229 | 
            +
            - spec/mocks/responses/DisputeService/supply_defense_document.json
         | 
| 194 230 | 
             
            - spec/mocks/responses/Fund/account_holder_balance.json
         | 
| 195 231 | 
             
            - spec/mocks/responses/Fund/account_holder_transaction_list.json
         | 
| 196 232 | 
             
            - spec/mocks/responses/Fund/payout_account_holder.json
         | 
| 197 233 | 
             
            - spec/mocks/responses/Fund/refund_not_paid_out_transfers.json
         | 
| 198 234 | 
             
            - spec/mocks/responses/Fund/setup_beneficiary.json
         | 
| 199 235 | 
             
            - spec/mocks/responses/Fund/transfer_funds.json
         | 
| 236 | 
            +
            - spec/mocks/responses/Hop/get_onboarding_url.json
         | 
| 200 237 | 
             
            - spec/mocks/responses/Notification/create_notification_configuration.json
         | 
| 201 238 | 
             
            - spec/mocks/responses/Notification/delete_notification_configurations.json
         | 
| 202 239 | 
             
            - spec/mocks/responses/Notification/get_notification_configuration.json
         | 
| @@ -210,6 +247,7 @@ files: | |
| 210 247 | 
             
            - spec/mocks/responses/Payment/cancel.json
         | 
| 211 248 | 
             
            - spec/mocks/responses/Payment/cancel_or_refund.json
         | 
| 212 249 | 
             
            - spec/mocks/responses/Payment/capture.json
         | 
| 250 | 
            +
            - spec/mocks/responses/Payment/donate.json
         | 
| 213 251 | 
             
            - spec/mocks/responses/Payment/refund.json
         | 
| 214 252 | 
             
            - spec/mocks/responses/Payout/confirm_third_party.json
         | 
| 215 253 | 
             
            - spec/mocks/responses/Payout/decline_third_party.json
         | 
| @@ -219,9 +257,13 @@ files: | |
| 219 257 | 
             
            - spec/mocks/responses/Recurring/disable.json
         | 
| 220 258 | 
             
            - spec/mocks/responses/Recurring/list_recurring_details.json
         | 
| 221 259 | 
             
            - spec/mocks/responses/Recurring/store_token.json
         | 
| 260 | 
            +
            - spec/mocks/responses/Terminal/assign_terminals.json
         | 
| 261 | 
            +
            - spec/mocks/responses/Terminal/find_terminal.json
         | 
| 262 | 
            +
            - spec/mocks/responses/Terminal/get_terminals_under_account.json
         | 
| 222 263 | 
             
            - spec/notification_spec.rb
         | 
| 223 264 | 
             
            - spec/payments_spec.rb
         | 
| 224 265 | 
             
            - spec/payouts_spec.rb
         | 
| 266 | 
            +
            - spec/postfmapi_spec.rb
         | 
| 225 267 | 
             
            - spec/recurring_spec.rb
         | 
| 226 268 | 
             
            - spec/service_spec.rb
         | 
| 227 269 | 
             
            - spec/spec_helper.rb
         | 
| @@ -248,8 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 248 290 | 
             
                - !ruby/object:Gem::Version
         | 
| 249 291 | 
             
                  version: '0'
         | 
| 250 292 | 
             
            requirements: []
         | 
| 251 | 
            -
             | 
| 252 | 
            -
            rubygems_version: 2.2.0
         | 
| 293 | 
            +
            rubygems_version: 3.1.2
         | 
| 253 294 | 
             
            signing_key: 
         | 
| 254 295 | 
             
            specification_version: 4
         | 
| 255 296 | 
             
            summary: Official Adyen  Ruby API Library
         |