genesis_ruby 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +11 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +158 -0
- data/LICENSE +21 -0
- data/README.md +343 -0
- data/Rakefile +12 -0
- data/VERSION +1 -0
- data/genesis_ruby.gemspec +43 -0
- data/lib/genesis_ruby/api/constants/currencies/iso4217.rb +1106 -0
- data/lib/genesis_ruby/api/constants/date_time_formats.rb +45 -0
- data/lib/genesis_ruby/api/constants/endpoints.rb +18 -0
- data/lib/genesis_ruby/api/constants/environments.rb +17 -0
- data/lib/genesis_ruby/api/constants/states/state.rb +43 -0
- data/lib/genesis_ruby/api/constants/states.rb +86 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/business/payment_types.rb +24 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/recurring/categories.rb +24 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/recurring/types.rb +28 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/sca_exemptions.rb +34 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/browser/color_depths.rb +46 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/card_holder_account/password_change_indicators.rb +37 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/card_holder_account/registration_indicators.rb +37 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/card_holder_account/shipping_address_usage_indicators.rb +34 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/card_holder_account/suspicious_activity_indicators.rb +28 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/card_holder_account/update_indicators.rb +34 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/control/challenge_indicators.rb +34 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/control/challenge_window_sizes.rb +37 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/control/device_types.rb +28 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/merchant_risk/delivery_timeframes.rb +34 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/merchant_risk/pre_order_purchase_indicators.rb +28 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/merchant_risk/reorder_item_indicators.rb +28 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/merchant_risk/shipping_indicators.rb +46 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/purchase/categories.rb +43 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/sdk/interfaces.rb +31 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/sdk/ui_types.rb +37 -0
- data/lib/genesis_ruby/api/constants/transactions.rb +371 -0
- data/lib/genesis_ruby/api/mixins/constants/common.rb +27 -0
- data/lib/genesis_ruby/api/mixins/requests/address_info_attributes.rb +20 -0
- data/lib/genesis_ruby/api/mixins/requests/customer_address/billing_info_attributes.rb +33 -0
- data/lib/genesis_ruby/api/mixins/requests/customer_address/customer_info_attributes.rb +26 -0
- data/lib/genesis_ruby/api/mixins/requests/customer_address/shipping_info_attributes.rb +33 -0
- data/lib/genesis_ruby/api/mixins/requests/document_attributes.rb +14 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/async_attributes.rb +34 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/base_attributes.rb +16 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/business/airlines_air_carriers_attributes.rb +60 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/business/business_attributes.rb +56 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/business/car_plane_and_boat_rentals_attributes.rb +53 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/business/cruise_lines_attributes.rb +50 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/business/event_management_attributes.rb +54 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/business/furniture_attributes.rb +53 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/business/hotels_and_real_estate_rentals_attributes.rb +53 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/business/travel_agencies_attributes.rb +88 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/credit_card_attributes.rb +31 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/fx_rate_attributes.rb +18 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_category_attributes.rb +31 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_type_attributes.rb +31 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/tokenization_attributes.rb +39 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/crypto_attributes.rb +25 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/dynamic_descriptor_attributes.rb +114 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/gaming_attributes.rb +25 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/moto_attributes.rb +25 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/notification_attributes.rb +25 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/payment_attributes.rb +32 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/pending_payment_attributes.rb +25 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/reference_attributes.rb +16 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/risk_attributes.rb +47 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/sca_attributes.rb +37 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/browser.rb +92 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/card_holder_account.rb +183 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/common_attributes.rb +52 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/control.rb +61 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/merchant_risk.rb +114 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/method.rb +44 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/purchase.rb +42 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/recurring.rb +49 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/sdk.rb +107 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/wpf_attributes.rb +61 -0
- data/lib/genesis_ruby/api/mixins/requests/restricted_setter.rb +75 -0
- data/lib/genesis_ruby/api/request.rb +171 -0
- data/lib/genesis_ruby/api/requests/base/financial.rb +44 -0
- data/lib/genesis_ruby/api/requests/base/financials/credit_card.rb +27 -0
- data/lib/genesis_ruby/api/requests/financial/cards/authorize.rb +60 -0
- data/lib/genesis_ruby/api/requests/financial/cards/authorize3d.rb +76 -0
- data/lib/genesis_ruby/api/requests/financial/cards/sale.rb +59 -0
- data/lib/genesis_ruby/api/requests/financial/cards/sale3d.rb +75 -0
- data/lib/genesis_ruby/api/requests/wpf/create.rb +142 -0
- data/lib/genesis_ruby/api/response.rb +91 -0
- data/lib/genesis_ruby/builder.rb +42 -0
- data/lib/genesis_ruby/builders/base.rb +18 -0
- data/lib/genesis_ruby/builders/xml.rb +95 -0
- data/lib/genesis_ruby/configuration.rb +177 -0
- data/lib/genesis_ruby/connection.rb +20 -0
- data/lib/genesis_ruby/dependencies.rb +19 -0
- data/lib/genesis_ruby/errors/builder_error.rb +14 -0
- data/lib/genesis_ruby/errors/endpoint_not_set_error.rb +14 -0
- data/lib/genesis_ruby/errors/error.rb +18 -0
- data/lib/genesis_ruby/errors/invalid_argument_error.rb +14 -0
- data/lib/genesis_ruby/errors/network_error.rb +14 -0
- data/lib/genesis_ruby/errors/object_formatter_error.rb +14 -0
- data/lib/genesis_ruby/errors/parameter_error.rb +12 -0
- data/lib/genesis_ruby/errors/parser_error.rb +14 -0
- data/lib/genesis_ruby/errors/response_error.rb +14 -0
- data/lib/genesis_ruby/network/adapter/base_adapter.rb +31 -0
- data/lib/genesis_ruby/network/adapter/net_http_adapter.rb +92 -0
- data/lib/genesis_ruby/network/base_network.rb +83 -0
- data/lib/genesis_ruby/network/net_http.rb +28 -0
- data/lib/genesis_ruby/parser.rb +44 -0
- data/lib/genesis_ruby/parsers/base.rb +25 -0
- data/lib/genesis_ruby/parsers/xml.rb +120 -0
- data/lib/genesis_ruby/utils/common.rb +108 -0
- data/lib/genesis_ruby/utils/formatters/base.rb +40 -0
- data/lib/genesis_ruby/utils/formatters/response/definitions.rb +21 -0
- data/lib/genesis_ruby/utils/formatters/response/formats/amount.rb +34 -0
- data/lib/genesis_ruby/utils/formatters/response/formats/timestamp.rb +29 -0
- data/lib/genesis_ruby/utils/formatters/response/loader.rb +42 -0
- data/lib/genesis_ruby/utils/money/base/strategy.rb +38 -0
- data/lib/genesis_ruby/utils/money/conversions/amount_to_exponent.rb +22 -0
- data/lib/genesis_ruby/utils/money/conversions/exponent_to_amount.rb +22 -0
- data/lib/genesis_ruby/utils/money/format.rb +34 -0
- data/lib/genesis_ruby/utils/money_format.rb +39 -0
- data/lib/genesis_ruby/utils/object_formatter.rb +67 -0
- data/lib/genesis_ruby/utils/options/api_config.rb +36 -0
- data/lib/genesis_ruby/utils/options/base.rb +35 -0
- data/lib/genesis_ruby/utils/options/network_adapter_config.rb +41 -0
- data/lib/genesis_ruby/utils/transactions/financial_types.rb +50 -0
- data/lib/genesis_ruby/utils/transactions/references/capturable_types.rb +52 -0
- data/lib/genesis_ruby/utils/transactions/references/refundable_types.rb +70 -0
- data/lib/genesis_ruby/utils/transactions/references/voidable_types.rb +49 -0
- data/lib/genesis_ruby/utils/transactions/wpf_types.rb +43 -0
- data/lib/genesis_ruby/version.rb +5 -0
- data/lib/genesis_ruby.rb +57 -0
- metadata +372 -0
data/lib/genesis_ruby.rb
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
require 'genesis_ruby/version'
|
2
|
+
require 'genesis_ruby/configuration'
|
3
|
+
require 'genesis_ruby/connection'
|
4
|
+
require 'genesis_ruby/api/constants/transactions'
|
5
|
+
require 'genesis_ruby/dependencies'
|
6
|
+
require 'genesis_ruby/api/response'
|
7
|
+
|
8
|
+
# Ruby Client for Genesis Payment Processing Gateway
|
9
|
+
module GenesisRuby
|
10
|
+
# Base SDK class
|
11
|
+
class Genesis
|
12
|
+
|
13
|
+
# Transaction Request Initializer
|
14
|
+
def self.for(config:, request:)
|
15
|
+
unless request.is_a?(Class) || request < GenesisRuby::Api::Request
|
16
|
+
raise InvalidArgumentError, 'Given Request is invalid'
|
17
|
+
end
|
18
|
+
|
19
|
+
request_object = request.new(config)
|
20
|
+
|
21
|
+
raise InvalidArgumentError, 'Request Block missing' unless block_given?
|
22
|
+
|
23
|
+
yield request_object
|
24
|
+
|
25
|
+
new config, request_object
|
26
|
+
end
|
27
|
+
|
28
|
+
attr_reader :request, :configuration, :response
|
29
|
+
|
30
|
+
# Initialize the Library
|
31
|
+
def initialize(configuration, request = nil)
|
32
|
+
@configuration = configuration
|
33
|
+
@request = request
|
34
|
+
@response = GenesisRuby::Api::Response.new(configuration)
|
35
|
+
@network = GenesisRuby::Connection.for(configuration)
|
36
|
+
end
|
37
|
+
|
38
|
+
# Execute the Request
|
39
|
+
def execute
|
40
|
+
# Initialize the Network Connection with the given request
|
41
|
+
@network.init_api_data(@request)
|
42
|
+
|
43
|
+
# Send the Request payload to Genesis
|
44
|
+
@network.send_request
|
45
|
+
|
46
|
+
# Parse the Response
|
47
|
+
@response.parse_response(@network)
|
48
|
+
|
49
|
+
self
|
50
|
+
end
|
51
|
+
|
52
|
+
protected
|
53
|
+
|
54
|
+
attr_reader :network
|
55
|
+
|
56
|
+
end
|
57
|
+
end
|
metadata
ADDED
@@ -0,0 +1,372 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: genesis_ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- emerchantpay Ltd.
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-09-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: net-http
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.3.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.3.2
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.14'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.14'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: faker
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.22'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.22'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: faraday-retry
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '2.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pronto
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.11'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.11'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pronto-rubocop
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.11'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.11'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rake
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '13.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '13.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rspec
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '3.0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '3.0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rubocop
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '1.21'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '1.21'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rubocop-faker
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '1.1'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '1.1'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rubocop-rspec
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '2.13'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '2.13'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: sinatra
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '3.0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '3.0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: webmock
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '3.18'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '3.18'
|
209
|
+
description:
|
210
|
+
email:
|
211
|
+
- client_integrations@emerchantpay.com
|
212
|
+
executables: []
|
213
|
+
extensions: []
|
214
|
+
extra_rdoc_files: []
|
215
|
+
files:
|
216
|
+
- CHANGELOG.md
|
217
|
+
- Gemfile
|
218
|
+
- Gemfile.lock
|
219
|
+
- LICENSE
|
220
|
+
- README.md
|
221
|
+
- Rakefile
|
222
|
+
- VERSION
|
223
|
+
- genesis_ruby.gemspec
|
224
|
+
- lib/genesis_ruby.rb
|
225
|
+
- lib/genesis_ruby/api/constants/currencies/iso4217.rb
|
226
|
+
- lib/genesis_ruby/api/constants/date_time_formats.rb
|
227
|
+
- lib/genesis_ruby/api/constants/endpoints.rb
|
228
|
+
- lib/genesis_ruby/api/constants/environments.rb
|
229
|
+
- lib/genesis_ruby/api/constants/states.rb
|
230
|
+
- lib/genesis_ruby/api/constants/states/state.rb
|
231
|
+
- lib/genesis_ruby/api/constants/transactions.rb
|
232
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/business/payment_types.rb
|
233
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/recurring/categories.rb
|
234
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/recurring/types.rb
|
235
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/sca_exemptions.rb
|
236
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/browser/color_depths.rb
|
237
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/card_holder_account/password_change_indicators.rb
|
238
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/card_holder_account/registration_indicators.rb
|
239
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/card_holder_account/shipping_address_usage_indicators.rb
|
240
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/card_holder_account/suspicious_activity_indicators.rb
|
241
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/card_holder_account/update_indicators.rb
|
242
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/control/challenge_indicators.rb
|
243
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/control/challenge_window_sizes.rb
|
244
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/control/device_types.rb
|
245
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/merchant_risk/delivery_timeframes.rb
|
246
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/merchant_risk/pre_order_purchase_indicators.rb
|
247
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/merchant_risk/reorder_item_indicators.rb
|
248
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/merchant_risk/shipping_indicators.rb
|
249
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/purchase/categories.rb
|
250
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/sdk/interfaces.rb
|
251
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/sdk/ui_types.rb
|
252
|
+
- lib/genesis_ruby/api/mixins/constants/common.rb
|
253
|
+
- lib/genesis_ruby/api/mixins/requests/address_info_attributes.rb
|
254
|
+
- lib/genesis_ruby/api/mixins/requests/customer_address/billing_info_attributes.rb
|
255
|
+
- lib/genesis_ruby/api/mixins/requests/customer_address/customer_info_attributes.rb
|
256
|
+
- lib/genesis_ruby/api/mixins/requests/customer_address/shipping_info_attributes.rb
|
257
|
+
- lib/genesis_ruby/api/mixins/requests/document_attributes.rb
|
258
|
+
- lib/genesis_ruby/api/mixins/requests/financial/async_attributes.rb
|
259
|
+
- lib/genesis_ruby/api/mixins/requests/financial/base_attributes.rb
|
260
|
+
- lib/genesis_ruby/api/mixins/requests/financial/business/airlines_air_carriers_attributes.rb
|
261
|
+
- lib/genesis_ruby/api/mixins/requests/financial/business/business_attributes.rb
|
262
|
+
- lib/genesis_ruby/api/mixins/requests/financial/business/car_plane_and_boat_rentals_attributes.rb
|
263
|
+
- lib/genesis_ruby/api/mixins/requests/financial/business/cruise_lines_attributes.rb
|
264
|
+
- lib/genesis_ruby/api/mixins/requests/financial/business/event_management_attributes.rb
|
265
|
+
- lib/genesis_ruby/api/mixins/requests/financial/business/furniture_attributes.rb
|
266
|
+
- lib/genesis_ruby/api/mixins/requests/financial/business/hotels_and_real_estate_rentals_attributes.rb
|
267
|
+
- lib/genesis_ruby/api/mixins/requests/financial/business/travel_agencies_attributes.rb
|
268
|
+
- lib/genesis_ruby/api/mixins/requests/financial/cards/credit_card_attributes.rb
|
269
|
+
- lib/genesis_ruby/api/mixins/requests/financial/cards/fx_rate_attributes.rb
|
270
|
+
- lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_category_attributes.rb
|
271
|
+
- lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_type_attributes.rb
|
272
|
+
- lib/genesis_ruby/api/mixins/requests/financial/cards/tokenization_attributes.rb
|
273
|
+
- lib/genesis_ruby/api/mixins/requests/financial/crypto_attributes.rb
|
274
|
+
- lib/genesis_ruby/api/mixins/requests/financial/dynamic_descriptor_attributes.rb
|
275
|
+
- lib/genesis_ruby/api/mixins/requests/financial/gaming_attributes.rb
|
276
|
+
- lib/genesis_ruby/api/mixins/requests/financial/moto_attributes.rb
|
277
|
+
- lib/genesis_ruby/api/mixins/requests/financial/notification_attributes.rb
|
278
|
+
- lib/genesis_ruby/api/mixins/requests/financial/payment_attributes.rb
|
279
|
+
- lib/genesis_ruby/api/mixins/requests/financial/pending_payment_attributes.rb
|
280
|
+
- lib/genesis_ruby/api/mixins/requests/financial/reference_attributes.rb
|
281
|
+
- lib/genesis_ruby/api/mixins/requests/financial/risk_attributes.rb
|
282
|
+
- lib/genesis_ruby/api/mixins/requests/financial/sca_attributes.rb
|
283
|
+
- lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/browser.rb
|
284
|
+
- lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/card_holder_account.rb
|
285
|
+
- lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/common_attributes.rb
|
286
|
+
- lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/control.rb
|
287
|
+
- lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/merchant_risk.rb
|
288
|
+
- lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/method.rb
|
289
|
+
- lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/purchase.rb
|
290
|
+
- lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/recurring.rb
|
291
|
+
- lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/sdk.rb
|
292
|
+
- lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/wpf_attributes.rb
|
293
|
+
- lib/genesis_ruby/api/mixins/requests/restricted_setter.rb
|
294
|
+
- lib/genesis_ruby/api/request.rb
|
295
|
+
- lib/genesis_ruby/api/requests/base/financial.rb
|
296
|
+
- lib/genesis_ruby/api/requests/base/financials/credit_card.rb
|
297
|
+
- lib/genesis_ruby/api/requests/financial/cards/authorize.rb
|
298
|
+
- lib/genesis_ruby/api/requests/financial/cards/authorize3d.rb
|
299
|
+
- lib/genesis_ruby/api/requests/financial/cards/sale.rb
|
300
|
+
- lib/genesis_ruby/api/requests/financial/cards/sale3d.rb
|
301
|
+
- lib/genesis_ruby/api/requests/wpf/create.rb
|
302
|
+
- lib/genesis_ruby/api/response.rb
|
303
|
+
- lib/genesis_ruby/builder.rb
|
304
|
+
- lib/genesis_ruby/builders/base.rb
|
305
|
+
- lib/genesis_ruby/builders/xml.rb
|
306
|
+
- lib/genesis_ruby/configuration.rb
|
307
|
+
- lib/genesis_ruby/connection.rb
|
308
|
+
- lib/genesis_ruby/dependencies.rb
|
309
|
+
- lib/genesis_ruby/errors/builder_error.rb
|
310
|
+
- lib/genesis_ruby/errors/endpoint_not_set_error.rb
|
311
|
+
- lib/genesis_ruby/errors/error.rb
|
312
|
+
- lib/genesis_ruby/errors/invalid_argument_error.rb
|
313
|
+
- lib/genesis_ruby/errors/network_error.rb
|
314
|
+
- lib/genesis_ruby/errors/object_formatter_error.rb
|
315
|
+
- lib/genesis_ruby/errors/parameter_error.rb
|
316
|
+
- lib/genesis_ruby/errors/parser_error.rb
|
317
|
+
- lib/genesis_ruby/errors/response_error.rb
|
318
|
+
- lib/genesis_ruby/network/adapter/base_adapter.rb
|
319
|
+
- lib/genesis_ruby/network/adapter/net_http_adapter.rb
|
320
|
+
- lib/genesis_ruby/network/base_network.rb
|
321
|
+
- lib/genesis_ruby/network/net_http.rb
|
322
|
+
- lib/genesis_ruby/parser.rb
|
323
|
+
- lib/genesis_ruby/parsers/base.rb
|
324
|
+
- lib/genesis_ruby/parsers/xml.rb
|
325
|
+
- lib/genesis_ruby/utils/common.rb
|
326
|
+
- lib/genesis_ruby/utils/formatters/base.rb
|
327
|
+
- lib/genesis_ruby/utils/formatters/response/definitions.rb
|
328
|
+
- lib/genesis_ruby/utils/formatters/response/formats/amount.rb
|
329
|
+
- lib/genesis_ruby/utils/formatters/response/formats/timestamp.rb
|
330
|
+
- lib/genesis_ruby/utils/formatters/response/loader.rb
|
331
|
+
- lib/genesis_ruby/utils/money/base/strategy.rb
|
332
|
+
- lib/genesis_ruby/utils/money/conversions/amount_to_exponent.rb
|
333
|
+
- lib/genesis_ruby/utils/money/conversions/exponent_to_amount.rb
|
334
|
+
- lib/genesis_ruby/utils/money/format.rb
|
335
|
+
- lib/genesis_ruby/utils/money_format.rb
|
336
|
+
- lib/genesis_ruby/utils/object_formatter.rb
|
337
|
+
- lib/genesis_ruby/utils/options/api_config.rb
|
338
|
+
- lib/genesis_ruby/utils/options/base.rb
|
339
|
+
- lib/genesis_ruby/utils/options/network_adapter_config.rb
|
340
|
+
- lib/genesis_ruby/utils/transactions/financial_types.rb
|
341
|
+
- lib/genesis_ruby/utils/transactions/references/capturable_types.rb
|
342
|
+
- lib/genesis_ruby/utils/transactions/references/refundable_types.rb
|
343
|
+
- lib/genesis_ruby/utils/transactions/references/voidable_types.rb
|
344
|
+
- lib/genesis_ruby/utils/transactions/wpf_types.rb
|
345
|
+
- lib/genesis_ruby/version.rb
|
346
|
+
homepage: https://github.com/GenesisGateway/genesis_ruby
|
347
|
+
licenses:
|
348
|
+
- MIT
|
349
|
+
metadata:
|
350
|
+
homepage_uri: https://github.com/GenesisGateway/genesis_ruby
|
351
|
+
source_code_uri: https://github.com/GenesisGateway/genesis_ruby
|
352
|
+
changelog_uri: https://github.com/GenesisGateway/genesis_ruby/CHANGELOG.md
|
353
|
+
post_install_message:
|
354
|
+
rdoc_options: []
|
355
|
+
require_paths:
|
356
|
+
- lib
|
357
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
358
|
+
requirements:
|
359
|
+
- - ">="
|
360
|
+
- !ruby/object:Gem::Version
|
361
|
+
version: 2.7.0
|
362
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
363
|
+
requirements:
|
364
|
+
- - ">="
|
365
|
+
- !ruby/object:Gem::Version
|
366
|
+
version: '0'
|
367
|
+
requirements: []
|
368
|
+
rubygems_version: 3.1.2
|
369
|
+
signing_key:
|
370
|
+
specification_version: 4
|
371
|
+
summary: Ruby Client for Genesis Payment Processing Gateway
|
372
|
+
test_files: []
|