stone_ecommerce 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +202 -0
- data/README.md +64 -0
- data/lib/gateway/Address/billing_address.rb +32 -0
- data/lib/gateway/Address/buyer_address.rb +36 -0
- data/lib/gateway/Address/delivery_address.rb +32 -0
- data/lib/gateway/AntiFraud/anti_fraud_analysis_result.rb +47 -0
- data/lib/gateway/AntiFraud/query_sale_anti_fraud_analysis_data.rb +51 -0
- data/lib/gateway/AntiFraud/query_sale_anti_fraud_analysis_history_data.rb +41 -0
- data/lib/gateway/BaseRequest.rb +11 -0
- data/lib/gateway/BaseResponse.rb +17 -0
- data/lib/gateway/BoletoTransaction/boleto_transaction.rb +43 -0
- data/lib/gateway/BoletoTransaction/boleto_transaction_data.rb +44 -0
- data/lib/gateway/BoletoTransaction/boleto_transaction_options.rb +14 -0
- data/lib/gateway/BoletoTransaction/boleto_transaction_report_file.rb +20 -0
- data/lib/gateway/BoletoTransaction/boleto_transaction_result.rb +35 -0
- data/lib/gateway/CreditCardTransaction/credit_card.rb +30 -0
- data/lib/gateway/CreditCardTransaction/credit_card_transaction.rb +32 -0
- data/lib/gateway/CreditCardTransaction/credit_card_transaction_data.rb +104 -0
- data/lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb +27 -0
- data/lib/gateway/CreditCardTransaction/credit_card_transaction_report_file.rb +29 -0
- data/lib/gateway/CreditCardTransaction/manage_credit_card_transaction.rb +12 -0
- data/lib/gateway/CreditCardTransaction/retry_sale_credit_card_transaction.rb +13 -0
- data/lib/gateway/ErrorItem.rb +17 -0
- data/lib/gateway/ErrorReport.rb +18 -0
- data/lib/gateway/Gateway.rb +442 -0
- data/lib/gateway/InstantBuy/credit_card_data.rb +41 -0
- data/lib/gateway/InstantBuy/get_instant_buy_data_response.rb +18 -0
- data/lib/gateway/Merchant/merchant.rb +11 -0
- data/lib/gateway/OnlineDebit/online_debit_transaction_report_file.rb +18 -0
- data/lib/gateway/Order/order.rb +11 -0
- data/lib/gateway/Order/order_transaction_report_file.rb +6 -0
- data/lib/gateway/Parsers/boleto_transaction_parser.rb +31 -0
- data/lib/gateway/Parsers/credit_card_transaction_parser.rb +40 -0
- data/lib/gateway/Parsers/header_parser.rb +14 -0
- data/lib/gateway/Parsers/online_debit_transaction_parser.rb +30 -0
- data/lib/gateway/Parsers/trailer_parser.rb +15 -0
- data/lib/gateway/Person/buyer.rb +33 -0
- data/lib/gateway/Person/person.rb +47 -0
- data/lib/gateway/Recurrency/recurrency.rb +23 -0
- data/lib/gateway/Sale/create_sale_request.rb +36 -0
- data/lib/gateway/Sale/create_sale_response.rb +25 -0
- data/lib/gateway/Sale/manage_sale_request.rb +17 -0
- data/lib/gateway/Sale/manage_sale_response.rb +15 -0
- data/lib/gateway/Sale/query_sale_request.rb +36 -0
- data/lib/gateway/Sale/query_sale_response.rb +18 -0
- data/lib/gateway/Sale/request_data.rb +20 -0
- data/lib/gateway/Sale/retry_sale_options.rb +14 -0
- data/lib/gateway/Sale/retry_sale_request.rb +22 -0
- data/lib/gateway/Sale/retry_sale_response.rb +14 -0
- data/lib/gateway/Sale/sale_data.rb +33 -0
- data/lib/gateway/Sale/sale_order_data.rb +17 -0
- data/lib/gateway/SalesOption.rb +17 -0
- data/lib/gateway/ShoppingCart/shopping_cart.rb +26 -0
- data/lib/gateway/ShoppingCart/shopping_cart_item.rb +23 -0
- data/lib/gateway/Trailer.rb +6 -0
- data/lib/gateway/address.rb +25 -0
- data/lib/gateway/header.rb +5 -0
- data/lib/gateway/post_notification.rb +29 -0
- data/lib/gateway/transaction_report_file.rb +45 -0
- data/lib/stone_ecommerce.rb +70 -0
- data/spec/integration/gateway_spec.rb +616 -0
- data/spec/integration/test_helper.rb +69 -0
- data/spec/spec_helper.rb +96 -0
- data/stone_ecommerce.gemspec +19 -0
- metadata +247 -0
@@ -0,0 +1,69 @@
|
|
1
|
+
require_relative '../../lib/stone_ecommerce'
|
2
|
+
require 'gyoku'
|
3
|
+
class TestHelper
|
4
|
+
|
5
|
+
def self.JoinAndConvertAmountAndCents(amount, cents)
|
6
|
+
amount_with_cents = amount.gsub(',', '.')
|
7
|
+
return BigDecimal.new(amount_with_cents)
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.CreateFakePostNotification(create_order_result, manage_order_result)
|
11
|
+
xml = '<StatusNotification xmlns="http://schemas.datacontract.org/2004/07/Gateway.NotificationService.DataContract"
|
12
|
+
xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
|
13
|
+
<AmountInCents>?</AmountInCents>
|
14
|
+
<AmountPaidInCents>?</AmountPaidInCents>
|
15
|
+
<BoletoTransaction i:nil="true"/>
|
16
|
+
<CreditCardTransaction>
|
17
|
+
<Acquirer>Cielo</Acquirer>
|
18
|
+
<AmountInCents>?</AmountInCents>
|
19
|
+
<AuthorizedAmountInCents>?</AuthorizedAmountInCents>
|
20
|
+
<CapturedAmountInCents>?</CapturedAmountInCents>
|
21
|
+
<CreditCardBrand>?</CreditCardBrand>
|
22
|
+
<RefundedAmountInCents i:nil="true"/>
|
23
|
+
<StatusChangedDate>?</StatusChangedDate>
|
24
|
+
<TransactionIdentifier>?</TransactionIdentifier>
|
25
|
+
<TransactionKey>?</TransactionKey>
|
26
|
+
<TransactionReference>?</TransactionReference>
|
27
|
+
<UniqueSequentialNumber>?</UniqueSequentialNumber>
|
28
|
+
<VoidedAmountInCents i:nil="true"/>
|
29
|
+
<PreviousCreditCardTransactionStatus>?</PreviousCreditCardTransactionStatus>
|
30
|
+
<CreditCardTransactionStatus>?</CreditCardTransactionStatus>
|
31
|
+
</CreditCardTransaction>
|
32
|
+
<MerchantKey>?</MerchantKey>
|
33
|
+
<OrderKey>?</OrderKey>
|
34
|
+
<OrderReference>?</OrderReference>
|
35
|
+
<OrderStatus>?</OrderStatus>
|
36
|
+
</StatusNotification>'
|
37
|
+
|
38
|
+
parser = Nori.new(:convert_tags_to => lambda { |tag| tag })
|
39
|
+
hash = parser.parse(xml)
|
40
|
+
|
41
|
+
credit_card_result = create_order_result['CreditCardTransactionResultCollection'][0]
|
42
|
+
manage_transaction_result = manage_order_result['CreditCardTransactionResultCollection'][0]
|
43
|
+
|
44
|
+
root = hash['StatusNotification']
|
45
|
+
|
46
|
+
root['AmountPaidInCents'] = 0
|
47
|
+
root['CreditCardTransaction'] = {
|
48
|
+
'Acquirer' => 'Cielo',
|
49
|
+
'AmountInCents' =>credit_card_result['AmountInCents'],
|
50
|
+
'AuthorizedAmountInCents'=> credit_card_result['AmountInCents'],
|
51
|
+
'CapturedAmountInCents' =>credit_card_result['AmountInCents'],
|
52
|
+
'CreditCardBrand' => 'Visa',
|
53
|
+
'RefundedAmountInCents' => nil,
|
54
|
+
'StatusChangedDate' => DateTime.now,
|
55
|
+
'TransactionIdentifier' => Array.new(12){[*'0'..'9', *'A'..'Z'].sample}.join,
|
56
|
+
'TransactionKey'=> credit_card_result['TransactionKey'],
|
57
|
+
'TransactionReference'=> credit_card_result['TransactionReference'],
|
58
|
+
'UniqueSequentialNumber' => Array.new(6){[*'0'..'9'].sample}.join,
|
59
|
+
'PreviousCreditCardTransactionStatus' => credit_card_result['CreditCardTransactionStatus'],
|
60
|
+
'CreditCardTransactionStatus' => (manage_transaction_result.nil? == true) ? 'null' : manage_transaction_result['CreditCardTransactionStatus']
|
61
|
+
}
|
62
|
+
root['MerchantKey'] = create_order_result['MerchantKey']
|
63
|
+
root['OrderKey'] = create_order_result['OrderResult']['OrderKey']
|
64
|
+
root['OrderReference'] = create_order_result['OrderResult']['OrderReference']
|
65
|
+
root['OrderStatus'] = (manage_transaction_result.nil? == true) ? 'null' : manage_transaction_result['CreditCardTransactionStatus']
|
66
|
+
|
67
|
+
return CGI::escapeHTML(Gyoku.xml(hash))
|
68
|
+
end
|
69
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
4
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
5
|
+
# files.
|
6
|
+
#
|
7
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
8
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
9
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
10
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
11
|
+
# a separate helper file that requires the additional dependencies and performs
|
12
|
+
# the additional setup, and require it from the spec files that actually need
|
13
|
+
# it.
|
14
|
+
#
|
15
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
16
|
+
# users commonly want.
|
17
|
+
#
|
18
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
19
|
+
RSpec.configure do |config|
|
20
|
+
# rspec-expectations config goes here. You can use an alternate
|
21
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
22
|
+
# assertions if you prefer.
|
23
|
+
config.expect_with :rspec do |expectations|
|
24
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
25
|
+
# and `failure_message` of custom matchers include text for helper methods
|
26
|
+
# defined using `chain`, e.g.:
|
27
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
28
|
+
# # => "be bigger than 2 and smaller than 4"
|
29
|
+
# ...rather than:
|
30
|
+
# # => "be bigger than 2"
|
31
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
32
|
+
end
|
33
|
+
|
34
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
35
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
36
|
+
config.mock_with :rspec do |mocks|
|
37
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
38
|
+
# a real object. This is generally recommended, and will default to
|
39
|
+
# `true` in RSpec 4.
|
40
|
+
mocks.verify_partial_doubles = true
|
41
|
+
end
|
42
|
+
|
43
|
+
# The settings below are suggested to provide a good initial experience
|
44
|
+
# with RSpec, but feel free to customize to your heart's content.
|
45
|
+
=begin
|
46
|
+
# These two settings work together to allow you to limit a spec run
|
47
|
+
# to individual examples or groups you care about by tagging them with
|
48
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
49
|
+
# get run.
|
50
|
+
config.filter_run :focus
|
51
|
+
config.run_all_when_everything_filtered = true
|
52
|
+
|
53
|
+
# Allows RSpec to persist some state between runs in order to support
|
54
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
55
|
+
# you configure your source control system to ignore this file.
|
56
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
57
|
+
|
58
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
59
|
+
# recommended. For more details, see:
|
60
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
61
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
62
|
+
# - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
|
63
|
+
config.disable_monkey_patching!
|
64
|
+
|
65
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
66
|
+
# be too noisy due to issues in dependencies.
|
67
|
+
config.warnings = true
|
68
|
+
|
69
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
70
|
+
# file, and it's useful to allow more verbose output when running an
|
71
|
+
# individual spec file.
|
72
|
+
if config.files_to_run.one?
|
73
|
+
# Use the documentation formatter for detailed output,
|
74
|
+
# unless a formatter has already been configured
|
75
|
+
# (e.g. via a command-line flag).
|
76
|
+
config.default_formatter = 'doc'
|
77
|
+
end
|
78
|
+
|
79
|
+
# Print the 10 slowest examples and example groups at the
|
80
|
+
# end of the spec run, to help surface which specs are running
|
81
|
+
# particularly slow.
|
82
|
+
config.profile_examples = 10
|
83
|
+
|
84
|
+
# Run specs in random order to surface order dependencies. If you find an
|
85
|
+
# order dependency and want to debug it, you can fix the order by providing
|
86
|
+
# the seed, which is printed after each run.
|
87
|
+
# --seed 1234
|
88
|
+
config.order = :random
|
89
|
+
|
90
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
91
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
92
|
+
# test failures related to randomization by passing the same `--seed` value
|
93
|
+
# as the one that triggered the failure.
|
94
|
+
Kernel.srand config.seed
|
95
|
+
=end
|
96
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = 'stone_ecommerce'
|
3
|
+
s.summary = 'Stone Ruby Client Library'
|
4
|
+
s.description = 'Ruby library for integrating with the Stone payment web services.'
|
5
|
+
s.version = '1.0.0' # Major.Minor.Revision
|
6
|
+
s.author = 'Stone Pagamentos'
|
7
|
+
s.email = 'meajuda@stone.com.br'
|
8
|
+
s.homepage = 'http://stone.com.br/'
|
9
|
+
s.files = Dir.glob ["README.md", "LICENSE", "lib/**/*.{rb}", "spec/**/*", "*.gemspec"]
|
10
|
+
s.add_dependency 'rest-client', '~> 1.8', '>= 1.8.0'
|
11
|
+
s.add_dependency 'rspec', '~> 3.3', '>= 3.3.0'
|
12
|
+
s.add_dependency 'nori', '~> 2.6', '>= 2.6.0'
|
13
|
+
s.add_dependency 'gyoku', '~> 1.3', '>= 1.3.1'
|
14
|
+
s.add_dependency 'nokogiri', '~> 1.6', '>= 1.6.6.2'
|
15
|
+
s.add_dependency 'ffi', '~> 1.9', '>= 1.9.10'
|
16
|
+
s.add_dependency 'bundler', '~> 1.10', '>= 1.10.6'
|
17
|
+
s.required_ruby_version = '>= 2.1.7'
|
18
|
+
s.license = 'Apache 2.0'
|
19
|
+
end
|
metadata
ADDED
@@ -0,0 +1,247 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: stone_ecommerce
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Stone Pagamentos
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-11-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rest-client
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.8'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.8.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.8'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.8.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rspec
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '3.3'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 3.3.0
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '3.3'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 3.3.0
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: nori
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '2.6'
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 2.6.0
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '2.6'
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 2.6.0
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: gyoku
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '1.3'
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.3.1
|
83
|
+
type: :runtime
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.3'
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 1.3.1
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: nokogiri
|
95
|
+
requirement: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '1.6'
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 1.6.6.2
|
103
|
+
type: :runtime
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.6'
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 1.6.6.2
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: ffi
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - "~>"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '1.9'
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 1.9.10
|
123
|
+
type: :runtime
|
124
|
+
prerelease: false
|
125
|
+
version_requirements: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - "~>"
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '1.9'
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 1.9.10
|
133
|
+
- !ruby/object:Gem::Dependency
|
134
|
+
name: bundler
|
135
|
+
requirement: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '1.10'
|
140
|
+
- - ">="
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: 1.10.6
|
143
|
+
type: :runtime
|
144
|
+
prerelease: false
|
145
|
+
version_requirements: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - "~>"
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '1.10'
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.10.6
|
153
|
+
description: Ruby library for integrating with the Stone payment web services.
|
154
|
+
email: meajuda@stone.com.br
|
155
|
+
executables: []
|
156
|
+
extensions: []
|
157
|
+
extra_rdoc_files: []
|
158
|
+
files:
|
159
|
+
- LICENSE
|
160
|
+
- README.md
|
161
|
+
- lib/gateway/Address/billing_address.rb
|
162
|
+
- lib/gateway/Address/buyer_address.rb
|
163
|
+
- lib/gateway/Address/delivery_address.rb
|
164
|
+
- lib/gateway/AntiFraud/anti_fraud_analysis_result.rb
|
165
|
+
- lib/gateway/AntiFraud/query_sale_anti_fraud_analysis_data.rb
|
166
|
+
- lib/gateway/AntiFraud/query_sale_anti_fraud_analysis_history_data.rb
|
167
|
+
- lib/gateway/BaseRequest.rb
|
168
|
+
- lib/gateway/BaseResponse.rb
|
169
|
+
- lib/gateway/BoletoTransaction/boleto_transaction.rb
|
170
|
+
- lib/gateway/BoletoTransaction/boleto_transaction_data.rb
|
171
|
+
- lib/gateway/BoletoTransaction/boleto_transaction_options.rb
|
172
|
+
- lib/gateway/BoletoTransaction/boleto_transaction_report_file.rb
|
173
|
+
- lib/gateway/BoletoTransaction/boleto_transaction_result.rb
|
174
|
+
- lib/gateway/CreditCardTransaction/credit_card.rb
|
175
|
+
- lib/gateway/CreditCardTransaction/credit_card_transaction.rb
|
176
|
+
- lib/gateway/CreditCardTransaction/credit_card_transaction_data.rb
|
177
|
+
- lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb
|
178
|
+
- lib/gateway/CreditCardTransaction/credit_card_transaction_report_file.rb
|
179
|
+
- lib/gateway/CreditCardTransaction/manage_credit_card_transaction.rb
|
180
|
+
- lib/gateway/CreditCardTransaction/retry_sale_credit_card_transaction.rb
|
181
|
+
- lib/gateway/ErrorItem.rb
|
182
|
+
- lib/gateway/ErrorReport.rb
|
183
|
+
- lib/gateway/Gateway.rb
|
184
|
+
- lib/gateway/InstantBuy/credit_card_data.rb
|
185
|
+
- lib/gateway/InstantBuy/get_instant_buy_data_response.rb
|
186
|
+
- lib/gateway/Merchant/merchant.rb
|
187
|
+
- lib/gateway/OnlineDebit/online_debit_transaction_report_file.rb
|
188
|
+
- lib/gateway/Order/order.rb
|
189
|
+
- lib/gateway/Order/order_transaction_report_file.rb
|
190
|
+
- lib/gateway/Parsers/boleto_transaction_parser.rb
|
191
|
+
- lib/gateway/Parsers/credit_card_transaction_parser.rb
|
192
|
+
- lib/gateway/Parsers/header_parser.rb
|
193
|
+
- lib/gateway/Parsers/online_debit_transaction_parser.rb
|
194
|
+
- lib/gateway/Parsers/trailer_parser.rb
|
195
|
+
- lib/gateway/Person/buyer.rb
|
196
|
+
- lib/gateway/Person/person.rb
|
197
|
+
- lib/gateway/Recurrency/recurrency.rb
|
198
|
+
- lib/gateway/Sale/create_sale_request.rb
|
199
|
+
- lib/gateway/Sale/create_sale_response.rb
|
200
|
+
- lib/gateway/Sale/manage_sale_request.rb
|
201
|
+
- lib/gateway/Sale/manage_sale_response.rb
|
202
|
+
- lib/gateway/Sale/query_sale_request.rb
|
203
|
+
- lib/gateway/Sale/query_sale_response.rb
|
204
|
+
- lib/gateway/Sale/request_data.rb
|
205
|
+
- lib/gateway/Sale/retry_sale_options.rb
|
206
|
+
- lib/gateway/Sale/retry_sale_request.rb
|
207
|
+
- lib/gateway/Sale/retry_sale_response.rb
|
208
|
+
- lib/gateway/Sale/sale_data.rb
|
209
|
+
- lib/gateway/Sale/sale_order_data.rb
|
210
|
+
- lib/gateway/SalesOption.rb
|
211
|
+
- lib/gateway/ShoppingCart/shopping_cart.rb
|
212
|
+
- lib/gateway/ShoppingCart/shopping_cart_item.rb
|
213
|
+
- lib/gateway/Trailer.rb
|
214
|
+
- lib/gateway/address.rb
|
215
|
+
- lib/gateway/header.rb
|
216
|
+
- lib/gateway/post_notification.rb
|
217
|
+
- lib/gateway/transaction_report_file.rb
|
218
|
+
- lib/stone_ecommerce.rb
|
219
|
+
- spec/integration/gateway_spec.rb
|
220
|
+
- spec/integration/test_helper.rb
|
221
|
+
- spec/spec_helper.rb
|
222
|
+
- stone_ecommerce.gemspec
|
223
|
+
homepage: http://stone.com.br/
|
224
|
+
licenses:
|
225
|
+
- Apache 2.0
|
226
|
+
metadata: {}
|
227
|
+
post_install_message:
|
228
|
+
rdoc_options: []
|
229
|
+
require_paths:
|
230
|
+
- lib
|
231
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
232
|
+
requirements:
|
233
|
+
- - ">="
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
version: 2.1.7
|
236
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
237
|
+
requirements:
|
238
|
+
- - ">="
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
version: '0'
|
241
|
+
requirements: []
|
242
|
+
rubyforge_project:
|
243
|
+
rubygems_version: 2.4.8
|
244
|
+
signing_key:
|
245
|
+
specification_version: 4
|
246
|
+
summary: Stone Ruby Client Library
|
247
|
+
test_files: []
|