zip_money 1.2.1

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 (124) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/Gemfile.lock +69 -0
  4. data/README.md +128 -0
  5. data/Rakefile +8 -0
  6. data/docs/Address.md +15 -0
  7. data/docs/Authority.md +9 -0
  8. data/docs/CaptureChargeRequest.md +8 -0
  9. data/docs/Charge.md +17 -0
  10. data/docs/ChargeCollection.md +8 -0
  11. data/docs/ChargeOrder.md +11 -0
  12. data/docs/ChargesApi.md +307 -0
  13. data/docs/Checkout.md +18 -0
  14. data/docs/CheckoutConfiguration.md +8 -0
  15. data/docs/CheckoutFeatures.md +8 -0
  16. data/docs/CheckoutFeaturesTokenisation.md +8 -0
  17. data/docs/CheckoutOrder.md +13 -0
  18. data/docs/CheckoutsApi.md +119 -0
  19. data/docs/CreateChargeRequest.md +14 -0
  20. data/docs/CreateCheckoutRequest.md +13 -0
  21. data/docs/CreateCheckoutRequestFeatures.md +8 -0
  22. data/docs/CreateCheckoutRequestFeaturesTokenisation.md +8 -0
  23. data/docs/CreateRefundRequest.md +11 -0
  24. data/docs/CreateTokenRequest.md +8 -0
  25. data/docs/Customer.md +15 -0
  26. data/docs/CustomersApi.md +96 -0
  27. data/docs/ErrorResponse.md +8 -0
  28. data/docs/ErrorResponseError.md +10 -0
  29. data/docs/ErrorResponseErrorDetails.md +9 -0
  30. data/docs/InlineResponse200.md +8 -0
  31. data/docs/Metadata.md +7 -0
  32. data/docs/OrderItem.md +16 -0
  33. data/docs/OrderShipping.md +10 -0
  34. data/docs/OrderShippingTracking.md +10 -0
  35. data/docs/Refund.md +13 -0
  36. data/docs/RefundsApi.md +181 -0
  37. data/docs/SettlementsApi.md +96 -0
  38. data/docs/Shopper.md +17 -0
  39. data/docs/ShopperStatistics.md +16 -0
  40. data/docs/Token.md +11 -0
  41. data/docs/TokensApi.md +66 -0
  42. data/lib/zip_money.rb +68 -0
  43. data/lib/zip_money/api/charges_api.rb +301 -0
  44. data/lib/zip_money/api/checkouts_api.rb +120 -0
  45. data/lib/zip_money/api/customers_api.rb +116 -0
  46. data/lib/zip_money/api/refunds_api.rb +181 -0
  47. data/lib/zip_money/api/settlements_api.rb +116 -0
  48. data/lib/zip_money/api/tokens_api.rb +70 -0
  49. data/lib/zip_money/api_client.rb +386 -0
  50. data/lib/zip_money/api_error.rb +31 -0
  51. data/lib/zip_money/configuration.rb +238 -0
  52. data/lib/zip_money/models/address.rb +413 -0
  53. data/lib/zip_money/models/authority.rb +235 -0
  54. data/lib/zip_money/models/capture_charge_request.rb +206 -0
  55. data/lib/zip_money/models/charge.rb +369 -0
  56. data/lib/zip_money/models/charge_collection.rb +188 -0
  57. data/lib/zip_money/models/charge_order.rb +250 -0
  58. data/lib/zip_money/models/checkout.rb +344 -0
  59. data/lib/zip_money/models/checkout_configuration.rb +187 -0
  60. data/lib/zip_money/models/checkout_features.rb +181 -0
  61. data/lib/zip_money/models/checkout_features_tokenisation.rb +184 -0
  62. data/lib/zip_money/models/checkout_order.rb +299 -0
  63. data/lib/zip_money/models/create_charge_request.rb +289 -0
  64. data/lib/zip_money/models/create_checkout_request.rb +272 -0
  65. data/lib/zip_money/models/create_checkout_request_features.rb +181 -0
  66. data/lib/zip_money/models/create_checkout_request_features_tokenisation.rb +189 -0
  67. data/lib/zip_money/models/create_refund_request.rb +246 -0
  68. data/lib/zip_money/models/create_token_request.rb +186 -0
  69. data/lib/zip_money/models/customer.rb +310 -0
  70. data/lib/zip_money/models/error_response.rb +181 -0
  71. data/lib/zip_money/models/error_response_error.rb +211 -0
  72. data/lib/zip_money/models/error_response_error_details.rb +190 -0
  73. data/lib/zip_money/models/inline_response_200.rb +188 -0
  74. data/lib/zip_money/models/metadata.rb +172 -0
  75. data/lib/zip_money/models/order_item.rb +333 -0
  76. data/lib/zip_money/models/order_shipping.rb +200 -0
  77. data/lib/zip_money/models/order_shipping_tracking.rb +247 -0
  78. data/lib/zip_money/models/refund.rb +252 -0
  79. data/lib/zip_money/models/shopper.rb +339 -0
  80. data/lib/zip_money/models/shopper_statistics.rb +295 -0
  81. data/lib/zip_money/models/token.rb +228 -0
  82. data/lib/zip_money/version.rb +8 -0
  83. data/spec/api/charges_api_spec.rb +114 -0
  84. data/spec/api/checkouts_api_spec.rb +54 -0
  85. data/spec/api/customers_api_spec.rb +51 -0
  86. data/spec/api/refunds_api_spec.rb +67 -0
  87. data/spec/api/settlements_api_spec.rb +51 -0
  88. data/spec/api/tokens_api_spec.rb +41 -0
  89. data/spec/api_client_spec.rb +219 -0
  90. data/spec/configuration_spec.rb +50 -0
  91. data/spec/models/address_spec.rb +77 -0
  92. data/spec/models/authority_spec.rb +45 -0
  93. data/spec/models/capture_charge_request_spec.rb +35 -0
  94. data/spec/models/charge_collection_spec.rb +35 -0
  95. data/spec/models/charge_order_spec.rb +53 -0
  96. data/spec/models/charge_spec.rb +93 -0
  97. data/spec/models/checkout_configuration_spec.rb +35 -0
  98. data/spec/models/checkout_features_spec.rb +35 -0
  99. data/spec/models/checkout_features_tokenisation_spec.rb +35 -0
  100. data/spec/models/checkout_order_spec.rb +65 -0
  101. data/spec/models/checkout_spec.rb +103 -0
  102. data/spec/models/create_charge_request_spec.rb +75 -0
  103. data/spec/models/create_checkout_request_features_spec.rb +35 -0
  104. data/spec/models/create_checkout_request_features_tokenisation_spec.rb +35 -0
  105. data/spec/models/create_checkout_request_spec.rb +69 -0
  106. data/spec/models/create_refund_request_spec.rb +53 -0
  107. data/spec/models/create_token_request_spec.rb +35 -0
  108. data/spec/models/customer_spec.rb +81 -0
  109. data/spec/models/error_response_error_details_spec.rb +41 -0
  110. data/spec/models/error_response_error_spec.rb +47 -0
  111. data/spec/models/error_response_spec.rb +35 -0
  112. data/spec/models/inline_response_200_spec.rb +35 -0
  113. data/spec/models/metadata_spec.rb +29 -0
  114. data/spec/models/order_item_spec.rb +87 -0
  115. data/spec/models/order_shipping_spec.rb +47 -0
  116. data/spec/models/order_shipping_tracking_spec.rb +47 -0
  117. data/spec/models/refund_spec.rb +65 -0
  118. data/spec/models/shopper_spec.rb +92 -0
  119. data/spec/models/shopper_statistics_spec.rb +86 -0
  120. data/spec/models/token_spec.rb +52 -0
  121. data/spec/payload_helper.rb +96 -0
  122. data/spec/spec_helper.rb +104 -0
  123. data/zip_money.gemspec +38 -0
  124. metadata +380 -0
@@ -0,0 +1,52 @@
1
+ #Merchant API
2
+ #ZipMoney Merchant API Initial build
3
+ #zipMoney Merchant API version: 2017-03-01
4
+
5
+
6
+ require 'spec_helper'
7
+ require 'json'
8
+ require 'date'
9
+
10
+ # Unit tests for ZipMoney::Token
11
+ # Please update as you see appropriate
12
+ describe 'Token' do
13
+ before do
14
+ # run before each test
15
+ @instance = ZipMoney::Token.new
16
+ end
17
+
18
+ after do
19
+ # run after each test
20
+ end
21
+
22
+ describe 'test an instance of Token' do
23
+ it 'should create an instact of Token' do
24
+ expect(@instance).to be_instance_of(ZipMoney::Token)
25
+ end
26
+ end
27
+ describe 'test attribute "id"' do
28
+ it 'should work' do
29
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
30
+ end
31
+ end
32
+
33
+ describe 'test attribute "value"' do
34
+ it 'should work' do
35
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
36
+ end
37
+ end
38
+
39
+ describe 'test attribute "active"' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ describe 'test attribute "created_date"' do
46
+ it 'should work' do
47
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
+ end
49
+ end
50
+
51
+ end
52
+
@@ -0,0 +1,96 @@
1
+ #Merchant API
2
+ #ZipMoney Merchant API Initial build
3
+ #zipMoney Merchant API version: 2017-03-01
4
+
5
+ module ZipMoney
6
+ class PayloadHelper
7
+
8
+ def checkout_request
9
+ @checkoutReq = ZipMoney::CreateCheckoutRequest.new
10
+
11
+ @checkoutReq.config = ZipMoney::CheckoutConfiguration.new;
12
+ @checkoutReq.config.redirect_uri = "http://zipmoney.com.au";
13
+
14
+ @checkoutReq.shopper = shopper;
15
+ @checkoutReq.order = checkout_order;
16
+
17
+ opt = {:body => @checkoutReq};
18
+ end
19
+
20
+ def charge_request
21
+ @chargeReq = ZipMoney::CreateChargeRequest.new
22
+
23
+
24
+ @chargeReq.amount = 100.55;
25
+ @chargeReq.order = charge_order;
26
+ @chargeReq.currency = "AUD";
27
+ @chargeReq.capture = true;
28
+
29
+ @chargeReq.authority = ZipMoney::Authority.new;
30
+ @chargeReq.authority.type = "checkout_id";
31
+ @chargeReq.authority.value = "123456";
32
+
33
+ opt = {:body => @chargeReq};
34
+ end
35
+
36
+
37
+ def shopper
38
+ @shopper = ZipMoney::Shopper.new;
39
+ @shopper.title = "Mr";
40
+ @shopper.first_name = "zipMoney";
41
+ @shopper.last_name = "Test";
42
+ #@shopper.phone = "0400000000";
43
+ @shopper.email = "test93@mailinator.com";
44
+
45
+ @shopper.billing_address = ZipMoney::Address.new;
46
+
47
+ @shopper.billing_address.first_name = "zipMoney";
48
+ @shopper.billing_address.last_name = "Test";
49
+ @shopper.billing_address.line1 = "37/50 Bridge Street";
50
+ @shopper.billing_address.city = "Sydney";
51
+ @shopper.billing_address.state = "NSW";
52
+ @shopper.billing_address.postal_code = "2000";
53
+ @shopper.billing_address.country = "AU";
54
+ @shopper
55
+ end
56
+
57
+ def checkout_order
58
+ @order = ZipMoney::CheckoutOrder.new;
59
+
60
+ @order.reference = "12345";
61
+ @order.amount = 100.55;
62
+ @order.currency = "AUD";
63
+ @order.cart_reference = "0123";
64
+ @order.shipping = shipping;
65
+
66
+ @order
67
+ end
68
+
69
+ def charge_order
70
+ @order = ZipMoney::ChargeOrder.new;
71
+
72
+ @order.reference = "12345";
73
+ @order.cart_reference = "0123";
74
+ @order.shipping = shipping;
75
+
76
+ @order
77
+ end
78
+
79
+ def shipping
80
+ @shipping = ZipMoney::OrderShipping.new;
81
+ @shipping.pickup = false;
82
+
83
+ @shipping.address = ZipMoney::Address.new;
84
+ @shipping.address.first_name = "zipMoney";
85
+ @shipping.address.last_name = "Test";
86
+ @shipping.address.line1 = "37/50 Bridge Street";
87
+ @shipping.address.city = "Sydney";
88
+ @shipping.address.state = "NSW";
89
+ @shipping.address.postal_code = "2000";
90
+ @shipping.address.country = "AU";
91
+ @shipping
92
+ end
93
+
94
+
95
+ end
96
+ end
@@ -0,0 +1,104 @@
1
+ #Merchant API
2
+ #ZipMoney Merchant API Initial build
3
+ #zipMoney Merchant API version: 2017-03-01
4
+
5
+
6
+ # load the gem
7
+ require 'zip_money'
8
+
9
+ # The following was generated by the `rspec --init` command. Conventionally, all
10
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
11
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
12
+ # this file to always be loaded, without a need to explicitly require it in any
13
+ # files.
14
+ #
15
+ # Given that it is always loaded, you are encouraged to keep this file as
16
+ # light-weight as possible. Requiring heavyweight dependencies from this file
17
+ # will add to the boot time of your test suite on EVERY test run, even for an
18
+ # individual file that may not need all of that loaded. Instead, consider making
19
+ # a separate helper file that requires the additional dependencies and performs
20
+ # the additional setup, and require it from the spec files that actually need
21
+ # it.
22
+ #
23
+ # The `.rspec` file also contains a few flags that are not defaults but that
24
+ # users commonly want.
25
+ #
26
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
27
+ RSpec.configure do |config|
28
+ # rspec-expectations config goes here. You can use an alternate
29
+ # assertion/expectation library such as wrong or the stdlib/minitest
30
+ # assertions if you prefer.
31
+ config.expect_with :rspec do |expectations|
32
+ # This option will default to `true` in RSpec 4. It makes the `description`
33
+ # and `failure_message` of custom matchers include text for helper methods
34
+ # defined using `chain`, e.g.:
35
+ # be_bigger_than(2).and_smaller_than(4).description
36
+ # # => "be bigger than 2 and smaller than 4"
37
+ # ...rather than:
38
+ # # => "be bigger than 2"
39
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
40
+ end
41
+
42
+ # rspec-mocks config goes here. You can use an alternate test double
43
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
44
+ config.mock_with :rspec do |mocks|
45
+ # Prevents you from mocking or stubbing a method that does not exist on
46
+ # a real object. This is generally recommended, and will default to
47
+ # `true` in RSpec 4.
48
+ mocks.verify_partial_doubles = true
49
+ end
50
+
51
+ # The settings below are suggested to provide a good initial experience
52
+ # with RSpec, but feel free to customize to your heart's content.
53
+ =begin
54
+ # These two settings work together to allow you to limit a spec run
55
+ # to individual examples or groups you care about by tagging them with
56
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
57
+ # get run.
58
+ config.filter_run :focus
59
+ config.run_all_when_everything_filtered = true
60
+
61
+ # Allows RSpec to persist some state between runs in order to support
62
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
63
+ # you configure your source control system to ignore this file.
64
+ config.example_status_persistence_file_path = "spec/examples.txt"
65
+
66
+ # Limits the available syntax to the non-monkey patched syntax that is
67
+ # recommended. For more details, see:
68
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
69
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
70
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
71
+ config.disable_monkey_patching!
72
+
73
+ # This setting enables warnings. It's recommended, but in some cases may
74
+ # be too noisy due to issues in dependencies.
75
+ config.warnings = true
76
+
77
+ # Many RSpec users commonly either run the entire suite or an individual
78
+ # file, and it's useful to allow more verbose output when running an
79
+ # individual spec file.
80
+ if config.files_to_run.one?
81
+ # Use the documentation formatter for detailed output,
82
+ # unless a formatter has already been configured
83
+ # (e.g. via a command-line flag).
84
+ config.default_formatter = 'doc'
85
+ end
86
+
87
+ # Print the 10 slowest examples and example groups at the
88
+ # end of the spec run, to help surface which specs are running
89
+ # particularly slow.
90
+ config.profile_examples = 10
91
+
92
+ # Run specs in random order to surface order dependencies. If you find an
93
+ # order dependency and want to debug it, you can fix the order by providing
94
+ # the seed, which is printed after each run.
95
+ # --seed 1234
96
+ config.order = :random
97
+
98
+ # Seed global randomization in this process using the `--seed` CLI option.
99
+ # Setting this allows you to use `--seed` to deterministically reproduce
100
+ # test failures related to randomization by passing the same `--seed` value
101
+ # as the one that triggered the failure.
102
+ Kernel.srand config.seed
103
+ =end
104
+ end
@@ -0,0 +1,38 @@
1
+ # -*- encoding: utf-8 -*-
2
+ #
3
+ #Merchant API
4
+ #ZipMoney Merchant API Initial build
5
+ #zipMoney Merchant API version: 2017-03-01
6
+
7
+
8
+ $:.push File.expand_path("../lib", __FILE__)
9
+ require "zip_money/version"
10
+
11
+ Gem::Specification.new do |s|
12
+ s.name = "zip_money"
13
+ s.version = ZipMoney::VERSION
14
+ s.platform = Gem::Platform::RUBY
15
+ s.authors = ["zipMoney Payments", "reinteractive"]
16
+ s.email = ["rubygems@reinteractive.net"]
17
+ s.homepage = "https://github.com/zipMoney/merchantapi-ruby"
18
+ s.summary = "Merchant API Ruby Gem"
19
+ s.description = "ZipMoney Merchant API"
20
+ s.license = "MIT"
21
+ s.required_ruby_version = ">= 1.9"
22
+
23
+ s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
24
+ s.add_runtime_dependency 'json', '>= 2.1.0'
25
+
26
+ s.add_development_dependency 'rspec', '~> 3.4', '>= 3.4.0'
27
+ s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
28
+ s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
29
+ s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
30
+ s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
31
+ s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
32
+ s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.11'
33
+
34
+ s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
35
+ s.test_files = `find spec/*`.split("\n")
36
+ s.executables = []
37
+ s.require_paths = ["lib"]
38
+ end
metadata ADDED
@@ -0,0 +1,380 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zip_money
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.1
5
+ platform: ruby
6
+ authors:
7
+ - zipMoney Payments
8
+ - reinteractive
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2020-03-09 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: typhoeus
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '1.0'
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.0.1
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - "~>"
29
+ - !ruby/object:Gem::Version
30
+ version: '1.0'
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.1
34
+ - !ruby/object:Gem::Dependency
35
+ name: json
36
+ requirement: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 2.1.0
41
+ type: :runtime
42
+ prerelease: false
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 2.1.0
48
+ - !ruby/object:Gem::Dependency
49
+ name: rspec
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 3.4.0
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '3.4'
58
+ type: :development
59
+ prerelease: false
60
+ version_requirements: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 3.4.0
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '3.4'
68
+ - !ruby/object:Gem::Dependency
69
+ name: vcr
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '3.0'
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: 3.0.1
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - "~>"
83
+ - !ruby/object:Gem::Version
84
+ version: '3.0'
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: 3.0.1
88
+ - !ruby/object:Gem::Dependency
89
+ name: webmock
90
+ requirement: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - "~>"
93
+ - !ruby/object:Gem::Version
94
+ version: '1.24'
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: 1.24.3
98
+ type: :development
99
+ prerelease: false
100
+ version_requirements: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: '1.24'
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: 1.24.3
108
+ - !ruby/object:Gem::Dependency
109
+ name: autotest
110
+ requirement: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - "~>"
113
+ - !ruby/object:Gem::Version
114
+ version: '4.4'
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 4.4.6
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '4.4'
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: 4.4.6
128
+ - !ruby/object:Gem::Dependency
129
+ name: autotest-rails-pure
130
+ requirement: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - "~>"
133
+ - !ruby/object:Gem::Version
134
+ version: '4.1'
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: 4.1.2
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: '4.1'
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: 4.1.2
148
+ - !ruby/object:Gem::Dependency
149
+ name: autotest-growl
150
+ requirement: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - "~>"
153
+ - !ruby/object:Gem::Version
154
+ version: '0.2'
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: 0.2.16
158
+ type: :development
159
+ prerelease: false
160
+ version_requirements: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - "~>"
163
+ - !ruby/object:Gem::Version
164
+ version: '0.2'
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: 0.2.16
168
+ - !ruby/object:Gem::Dependency
169
+ name: autotest-fsevent
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - "~>"
173
+ - !ruby/object:Gem::Version
174
+ version: '0.2'
175
+ - - ">="
176
+ - !ruby/object:Gem::Version
177
+ version: 0.2.11
178
+ type: :development
179
+ prerelease: false
180
+ version_requirements: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - "~>"
183
+ - !ruby/object:Gem::Version
184
+ version: '0.2'
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: 0.2.11
188
+ description: ZipMoney Merchant API
189
+ email:
190
+ - rubygems@reinteractive.net
191
+ executables: []
192
+ extensions: []
193
+ extra_rdoc_files: []
194
+ files:
195
+ - Gemfile
196
+ - Gemfile.lock
197
+ - README.md
198
+ - Rakefile
199
+ - docs/Address.md
200
+ - docs/Authority.md
201
+ - docs/CaptureChargeRequest.md
202
+ - docs/Charge.md
203
+ - docs/ChargeCollection.md
204
+ - docs/ChargeOrder.md
205
+ - docs/ChargesApi.md
206
+ - docs/Checkout.md
207
+ - docs/CheckoutConfiguration.md
208
+ - docs/CheckoutFeatures.md
209
+ - docs/CheckoutFeaturesTokenisation.md
210
+ - docs/CheckoutOrder.md
211
+ - docs/CheckoutsApi.md
212
+ - docs/CreateChargeRequest.md
213
+ - docs/CreateCheckoutRequest.md
214
+ - docs/CreateCheckoutRequestFeatures.md
215
+ - docs/CreateCheckoutRequestFeaturesTokenisation.md
216
+ - docs/CreateRefundRequest.md
217
+ - docs/CreateTokenRequest.md
218
+ - docs/Customer.md
219
+ - docs/CustomersApi.md
220
+ - docs/ErrorResponse.md
221
+ - docs/ErrorResponseError.md
222
+ - docs/ErrorResponseErrorDetails.md
223
+ - docs/InlineResponse200.md
224
+ - docs/Metadata.md
225
+ - docs/OrderItem.md
226
+ - docs/OrderShipping.md
227
+ - docs/OrderShippingTracking.md
228
+ - docs/Refund.md
229
+ - docs/RefundsApi.md
230
+ - docs/SettlementsApi.md
231
+ - docs/Shopper.md
232
+ - docs/ShopperStatistics.md
233
+ - docs/Token.md
234
+ - docs/TokensApi.md
235
+ - lib/zip_money.rb
236
+ - lib/zip_money/api/charges_api.rb
237
+ - lib/zip_money/api/checkouts_api.rb
238
+ - lib/zip_money/api/customers_api.rb
239
+ - lib/zip_money/api/refunds_api.rb
240
+ - lib/zip_money/api/settlements_api.rb
241
+ - lib/zip_money/api/tokens_api.rb
242
+ - lib/zip_money/api_client.rb
243
+ - lib/zip_money/api_error.rb
244
+ - lib/zip_money/configuration.rb
245
+ - lib/zip_money/models/address.rb
246
+ - lib/zip_money/models/authority.rb
247
+ - lib/zip_money/models/capture_charge_request.rb
248
+ - lib/zip_money/models/charge.rb
249
+ - lib/zip_money/models/charge_collection.rb
250
+ - lib/zip_money/models/charge_order.rb
251
+ - lib/zip_money/models/checkout.rb
252
+ - lib/zip_money/models/checkout_configuration.rb
253
+ - lib/zip_money/models/checkout_features.rb
254
+ - lib/zip_money/models/checkout_features_tokenisation.rb
255
+ - lib/zip_money/models/checkout_order.rb
256
+ - lib/zip_money/models/create_charge_request.rb
257
+ - lib/zip_money/models/create_checkout_request.rb
258
+ - lib/zip_money/models/create_checkout_request_features.rb
259
+ - lib/zip_money/models/create_checkout_request_features_tokenisation.rb
260
+ - lib/zip_money/models/create_refund_request.rb
261
+ - lib/zip_money/models/create_token_request.rb
262
+ - lib/zip_money/models/customer.rb
263
+ - lib/zip_money/models/error_response.rb
264
+ - lib/zip_money/models/error_response_error.rb
265
+ - lib/zip_money/models/error_response_error_details.rb
266
+ - lib/zip_money/models/inline_response_200.rb
267
+ - lib/zip_money/models/metadata.rb
268
+ - lib/zip_money/models/order_item.rb
269
+ - lib/zip_money/models/order_shipping.rb
270
+ - lib/zip_money/models/order_shipping_tracking.rb
271
+ - lib/zip_money/models/refund.rb
272
+ - lib/zip_money/models/shopper.rb
273
+ - lib/zip_money/models/shopper_statistics.rb
274
+ - lib/zip_money/models/token.rb
275
+ - lib/zip_money/version.rb
276
+ - spec/api/charges_api_spec.rb
277
+ - spec/api/checkouts_api_spec.rb
278
+ - spec/api/customers_api_spec.rb
279
+ - spec/api/refunds_api_spec.rb
280
+ - spec/api/settlements_api_spec.rb
281
+ - spec/api/tokens_api_spec.rb
282
+ - spec/api_client_spec.rb
283
+ - spec/configuration_spec.rb
284
+ - spec/models/address_spec.rb
285
+ - spec/models/authority_spec.rb
286
+ - spec/models/capture_charge_request_spec.rb
287
+ - spec/models/charge_collection_spec.rb
288
+ - spec/models/charge_order_spec.rb
289
+ - spec/models/charge_spec.rb
290
+ - spec/models/checkout_configuration_spec.rb
291
+ - spec/models/checkout_features_spec.rb
292
+ - spec/models/checkout_features_tokenisation_spec.rb
293
+ - spec/models/checkout_order_spec.rb
294
+ - spec/models/checkout_spec.rb
295
+ - spec/models/create_charge_request_spec.rb
296
+ - spec/models/create_checkout_request_features_spec.rb
297
+ - spec/models/create_checkout_request_features_tokenisation_spec.rb
298
+ - spec/models/create_checkout_request_spec.rb
299
+ - spec/models/create_refund_request_spec.rb
300
+ - spec/models/create_token_request_spec.rb
301
+ - spec/models/customer_spec.rb
302
+ - spec/models/error_response_error_details_spec.rb
303
+ - spec/models/error_response_error_spec.rb
304
+ - spec/models/error_response_spec.rb
305
+ - spec/models/inline_response_200_spec.rb
306
+ - spec/models/metadata_spec.rb
307
+ - spec/models/order_item_spec.rb
308
+ - spec/models/order_shipping_spec.rb
309
+ - spec/models/order_shipping_tracking_spec.rb
310
+ - spec/models/refund_spec.rb
311
+ - spec/models/shopper_spec.rb
312
+ - spec/models/shopper_statistics_spec.rb
313
+ - spec/models/token_spec.rb
314
+ - spec/payload_helper.rb
315
+ - spec/spec_helper.rb
316
+ - zip_money.gemspec
317
+ homepage: https://github.com/zipMoney/merchantapi-ruby
318
+ licenses:
319
+ - MIT
320
+ metadata: {}
321
+ post_install_message:
322
+ rdoc_options: []
323
+ require_paths:
324
+ - lib
325
+ required_ruby_version: !ruby/object:Gem::Requirement
326
+ requirements:
327
+ - - ">="
328
+ - !ruby/object:Gem::Version
329
+ version: '1.9'
330
+ required_rubygems_version: !ruby/object:Gem::Requirement
331
+ requirements:
332
+ - - ">="
333
+ - !ruby/object:Gem::Version
334
+ version: '0'
335
+ requirements: []
336
+ rubygems_version: 3.0.3
337
+ signing_key:
338
+ specification_version: 4
339
+ summary: Merchant API Ruby Gem
340
+ test_files:
341
+ - spec/api/customers_api_spec.rb
342
+ - spec/api/refunds_api_spec.rb
343
+ - spec/api/charges_api_spec.rb
344
+ - spec/api/tokens_api_spec.rb
345
+ - spec/api/checkouts_api_spec.rb
346
+ - spec/api/settlements_api_spec.rb
347
+ - spec/api_client_spec.rb
348
+ - spec/configuration_spec.rb
349
+ - spec/models/order_shipping_tracking_spec.rb
350
+ - spec/models/metadata_spec.rb
351
+ - spec/models/charge_collection_spec.rb
352
+ - spec/models/error_response_spec.rb
353
+ - spec/models/checkout_features_tokenisation_spec.rb
354
+ - spec/models/create_checkout_request_features_spec.rb
355
+ - spec/models/capture_charge_request_spec.rb
356
+ - spec/models/create_charge_request_spec.rb
357
+ - spec/models/create_refund_request_spec.rb
358
+ - spec/models/checkout_configuration_spec.rb
359
+ - spec/models/token_spec.rb
360
+ - spec/models/charge_spec.rb
361
+ - spec/models/error_response_error_details_spec.rb
362
+ - spec/models/customer_spec.rb
363
+ - spec/models/create_token_request_spec.rb
364
+ - spec/models/authority_spec.rb
365
+ - spec/models/checkout_spec.rb
366
+ - spec/models/checkout_features_spec.rb
367
+ - spec/models/order_item_spec.rb
368
+ - spec/models/inline_response_200_spec.rb
369
+ - spec/models/charge_order_spec.rb
370
+ - spec/models/shopper_spec.rb
371
+ - spec/models/shopper_statistics_spec.rb
372
+ - spec/models/refund_spec.rb
373
+ - spec/models/create_checkout_request_spec.rb
374
+ - spec/models/order_shipping_spec.rb
375
+ - spec/models/checkout_order_spec.rb
376
+ - spec/models/error_response_error_spec.rb
377
+ - spec/models/create_checkout_request_features_tokenisation_spec.rb
378
+ - spec/models/address_spec.rb
379
+ - spec/payload_helper.rb
380
+ - spec/spec_helper.rb