genesis_ruby 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +29 -0
- data/Gemfile.lock +4 -4
- data/README.md +8 -0
- data/VERSION +1 -1
- data/lib/genesis_ruby/api/constants/date_time_formats.rb +4 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/cash_payments/cash_payment_types.rb +36 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/credential_on_files.rb +29 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/online_banking/bank_account_types.rb +30 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/online_banking/payout_payment_types.rb +42 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/refund/credit_reason_indicators.rb +30 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/refund/ticket_change_indicators.rb +24 -0
- data/lib/genesis_ruby/api/constants/transactions.rb +4 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/credential_on_file_attributes.rb +29 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/installment_attributes.rb +18 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/mpi_attributes.rb +10 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/ucof_attributes.rb +33 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/online_banking_payments/pix_attributes.rb +28 -0
- data/lib/genesis_ruby/api/request.rb +6 -1
- data/lib/genesis_ruby/api/requests/base/financials/credit_card.rb +25 -2
- data/lib/genesis_ruby/api/requests/base/versioned.rb +88 -0
- data/lib/genesis_ruby/api/requests/financial/capture.rb +6 -3
- data/lib/genesis_ruby/api/requests/financial/cards/authorize.rb +22 -19
- data/lib/genesis_ruby/api/requests/financial/cards/authorize3d.rb +29 -24
- data/lib/genesis_ruby/api/requests/financial/cards/bancontact.rb +47 -0
- data/lib/genesis_ruby/api/requests/financial/cards/sale.rb +22 -19
- data/lib/genesis_ruby/api/requests/financial/cards/sale3d.rb +29 -24
- data/lib/genesis_ruby/api/requests/financial/cash_payments/cash.rb +56 -0
- data/lib/genesis_ruby/api/requests/financial/cash_payments/pix.rb +4 -8
- data/lib/genesis_ruby/api/requests/financial/mobile/apple_pay.rb +4 -1
- data/lib/genesis_ruby/api/requests/financial/mobile/google_pay.rb +5 -3
- data/lib/genesis_ruby/api/requests/financial/online_banking_payments/online_banking/pay_out.rb +129 -0
- data/lib/genesis_ruby/api/requests/financial/refund.rb +32 -12
- data/lib/genesis_ruby/api/requests/non_financial/installments/fetch.rb +59 -0
- data/lib/genesis_ruby/api/requests/non_financial/installments/show.rb +58 -0
- data/lib/genesis_ruby/builder.rb +2 -0
- data/lib/genesis_ruby/builders/json.rb +30 -0
- data/lib/genesis_ruby/dependencies.rb +1 -0
- data/lib/genesis_ruby/network/adapter/net_http_adapter.rb +13 -8
- data/lib/genesis_ruby/parser.rb +3 -0
- data/lib/genesis_ruby/parsers/json.rb +18 -0
- data/lib/genesis_ruby/utils/options/api_config.rb +9 -0
- data/lib/genesis_ruby/version.rb +1 -1
- metadata +21 -3
@@ -1,5 +1,8 @@
|
|
1
1
|
require 'genesis_ruby/api/constants/transactions/parameters/refund/bank_account_types'
|
2
|
+
require 'genesis_ruby/api/constants/transactions/parameters/refund/credit_reason_indicators'
|
3
|
+
require 'genesis_ruby/api/constants/transactions/parameters/refund/ticket_change_indicators'
|
2
4
|
|
5
|
+
# rubocop:disable Naming/VariableNumber
|
3
6
|
module GenesisRuby
|
4
7
|
module Api
|
5
8
|
module Requests
|
@@ -7,27 +10,34 @@ module GenesisRuby
|
|
7
10
|
# Refund reference transaction request
|
8
11
|
class Refund < Requests::Base::Reference
|
9
12
|
|
13
|
+
include Mixins::Requests::Financial::Cards::InstallmentAttributes
|
14
|
+
|
10
15
|
attr_accessor :beneficiary_bank_code, :beneficiary_name, :beneficiary_account_number, :bank, :bank_branch,
|
11
|
-
:bank_account
|
12
|
-
|
13
|
-
|
14
|
-
# The type of account
|
15
|
-
def bank_account_type=(value)
|
16
|
-
allowed_options attribute: __method__,
|
17
|
-
allowed: Api::Constants::Transactions::Parameters::Refund::BankAccountTypes.all,
|
18
|
-
value: value,
|
19
|
-
allow_empty: true
|
20
|
-
end
|
16
|
+
:bank_account, :bank_account_type, :credit_reason_indicator_1, :credit_reason_indicator_2,
|
17
|
+
:ticket_change_indicator
|
21
18
|
|
22
19
|
protected
|
23
20
|
|
21
|
+
# Field Validations
|
22
|
+
def init_field_validations
|
23
|
+
super
|
24
|
+
|
25
|
+
field_values.merge! bank_account_type: Constants::Transactions::Parameters::Refund::BankAccountTypes.all,
|
26
|
+
credit_reason_indicator_1: Constants::Transactions::Parameters::Refund::
|
27
|
+
CreditReasonIndicators.all,
|
28
|
+
credit_reason_indicator_2: Constants::Transactions::Parameters::Refund::
|
29
|
+
CreditReasonIndicators.all,
|
30
|
+
ticket_change_indicator: Constants::Transactions::Parameters::Refund::
|
31
|
+
TicketChangeIndicators.all
|
32
|
+
end
|
33
|
+
|
24
34
|
# Refund Transaction Request type
|
25
35
|
def transaction_type
|
26
36
|
Api::Constants::Transactions::REFUND
|
27
37
|
end
|
28
38
|
|
29
39
|
# Refund Transaction Request Structure
|
30
|
-
def reference_transaction_structure
|
40
|
+
def reference_transaction_structure # rubocop:disable Metrics/MethodLength
|
31
41
|
{
|
32
42
|
beneficiary_bank_code: beneficiary_bank_code,
|
33
43
|
beneficiary_name: beneficiary_name,
|
@@ -35,7 +45,16 @@ module GenesisRuby
|
|
35
45
|
bank: bank,
|
36
46
|
bank_branch: bank_branch,
|
37
47
|
bank_account: bank_account,
|
38
|
-
bank_account_type: bank_account_type
|
48
|
+
bank_account_type: bank_account_type,
|
49
|
+
installment_plan_id: installment_plan_id,
|
50
|
+
installment_plan_reference: installment_plan_reference,
|
51
|
+
travel: {
|
52
|
+
ticket: {
|
53
|
+
credit_reason_indicator_1: credit_reason_indicator_1,
|
54
|
+
credit_reason_indicator_2: credit_reason_indicator_2,
|
55
|
+
ticket_change_indicator: ticket_change_indicator
|
56
|
+
}
|
57
|
+
}
|
39
58
|
}
|
40
59
|
end
|
41
60
|
|
@@ -44,3 +63,4 @@ module GenesisRuby
|
|
44
63
|
end
|
45
64
|
end
|
46
65
|
end
|
66
|
+
# rubocop:enable Naming/VariableNumber
|
@@ -0,0 +1,59 @@
|
|
1
|
+
module GenesisRuby
|
2
|
+
module Api
|
3
|
+
module Requests
|
4
|
+
module NonFinancial
|
5
|
+
module Installments
|
6
|
+
# Fetch the applicable installments for a given amount, currency and card brand.
|
7
|
+
class Fetch < Base::Versioned
|
8
|
+
|
9
|
+
attr_reader :amount, :card_number
|
10
|
+
attr_accessor :currency
|
11
|
+
|
12
|
+
# Installments Fetch initialization
|
13
|
+
def initialize(configuration, _builder_interface = nil)
|
14
|
+
super configuration
|
15
|
+
|
16
|
+
self.request_path = 'installments'
|
17
|
+
end
|
18
|
+
|
19
|
+
# Amount of transaction in minor currency unit
|
20
|
+
def amount=(value)
|
21
|
+
raise InvalidArgumentError, 'Invalid Amount given, only integer value allowed!' unless value.is_a? Integer
|
22
|
+
|
23
|
+
@amount = value
|
24
|
+
end
|
25
|
+
|
26
|
+
# Complete cc number of customer
|
27
|
+
def card_number=(value)
|
28
|
+
value = value.to_s
|
29
|
+
|
30
|
+
raise InvalidArgumentError, 'Invalid Credit Card number given!' unless value =~ /\A[0-9]{13,19}\Z/
|
31
|
+
|
32
|
+
@card_number = value
|
33
|
+
end
|
34
|
+
|
35
|
+
protected
|
36
|
+
|
37
|
+
# Fetch request field validations
|
38
|
+
def init_field_validations
|
39
|
+
super
|
40
|
+
|
41
|
+
required_fields.push *%i[amount currency card_number]
|
42
|
+
field_values.merge! currency: Constants::Currencies::Iso4217.all.map(&:upcase)
|
43
|
+
end
|
44
|
+
|
45
|
+
# Installments Fetch request structure
|
46
|
+
def request_structure
|
47
|
+
{
|
48
|
+
amount: amount,
|
49
|
+
currency: currency,
|
50
|
+
card_number: card_number
|
51
|
+
}
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
module GenesisRuby
|
2
|
+
module Api
|
3
|
+
module Requests
|
4
|
+
module NonFinancial
|
5
|
+
module Installments
|
6
|
+
# Retrieves details about a specific installment based on its ID.
|
7
|
+
class Show < Base::Versioned
|
8
|
+
|
9
|
+
attr_writer :installment_id
|
10
|
+
|
11
|
+
# Installments Show initialization
|
12
|
+
def initialize(configuration, _builder_interface = nil)
|
13
|
+
super configuration
|
14
|
+
|
15
|
+
self.request_path = 'installments/:installment_id'
|
16
|
+
end
|
17
|
+
|
18
|
+
# Installment identifier
|
19
|
+
def installment_id
|
20
|
+
@installment_id.to_s
|
21
|
+
end
|
22
|
+
|
23
|
+
protected
|
24
|
+
|
25
|
+
# Override default Versioned Network configuration
|
26
|
+
def init_configuration
|
27
|
+
super
|
28
|
+
|
29
|
+
init_get_configuration
|
30
|
+
end
|
31
|
+
|
32
|
+
# Fetch request field validations
|
33
|
+
def init_field_validations
|
34
|
+
super
|
35
|
+
|
36
|
+
required_fields.push *%i[installment_id]
|
37
|
+
end
|
38
|
+
|
39
|
+
# Installments Show request structure
|
40
|
+
def request_structure
|
41
|
+
{}
|
42
|
+
end
|
43
|
+
|
44
|
+
# Override API endpoint with provided Installment ID
|
45
|
+
def process_request_parameters
|
46
|
+
super
|
47
|
+
|
48
|
+
request_path.sub!(':installment_id', installment_id)
|
49
|
+
|
50
|
+
init_api_gateway_configuration request_path: "#{version}/#{request_path}", include_token: false
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
data/lib/genesis_ruby/builder.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'genesis_ruby/builders/xml'
|
2
2
|
require 'genesis_ruby/builders/form'
|
3
|
+
require 'genesis_ruby/builders/json'
|
3
4
|
require 'genesis_ruby/errors/builder_error'
|
4
5
|
|
5
6
|
module GenesisRuby
|
@@ -20,6 +21,7 @@ module GenesisRuby
|
|
20
21
|
case request_interface
|
21
22
|
when XML then @builder_context = Builders::Xml.new
|
22
23
|
when FORM then @builder_context = Builders::Form.new
|
24
|
+
when JSON then @builder_context = Builders::Json.new
|
23
25
|
else
|
24
26
|
raise GenesisRuby::BuilderError, 'Invalid Builder interface!'
|
25
27
|
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'genesis_ruby/builders/base'
|
2
|
+
require 'json'
|
3
|
+
|
4
|
+
module GenesisRuby
|
5
|
+
module Builders
|
6
|
+
# JSON Document builder
|
7
|
+
class Json < Base
|
8
|
+
|
9
|
+
# JSON constructor
|
10
|
+
def initialize
|
11
|
+
@document = ''
|
12
|
+
|
13
|
+
super
|
14
|
+
end
|
15
|
+
|
16
|
+
# JSON output string
|
17
|
+
def output
|
18
|
+
@document
|
19
|
+
end
|
20
|
+
|
21
|
+
# Generate JSON document
|
22
|
+
def populate_nodes(structure)
|
23
|
+
@document = JSON.pretty_generate structure
|
24
|
+
rescue StandardError => e
|
25
|
+
raise BuilderError, "Given request structure can not be generated! #{e.message}"
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -20,6 +20,7 @@ require 'genesis_ruby/api/requests/base/financial'
|
|
20
20
|
require 'genesis_ruby/api/requests/base/financials/credit_card'
|
21
21
|
require 'genesis_ruby/api/requests/base/financials/south_american_payments'
|
22
22
|
require 'genesis_ruby/api/requests/base/reference'
|
23
|
+
require 'genesis_ruby/api/requests/base/versioned'
|
23
24
|
require 'genesis_ruby/api/notification'
|
24
25
|
|
25
26
|
# Load Financial and Non Financial API Requests
|
@@ -22,15 +22,15 @@ module GenesisRuby
|
|
22
22
|
end
|
23
23
|
|
24
24
|
# Send the request
|
25
|
-
def execute
|
25
|
+
def execute # rubocop:disable Metrics/AbcSize
|
26
26
|
raise NetworkError, 'Request is not initialized' unless @request
|
27
27
|
|
28
28
|
safe_execute do
|
29
29
|
case request_data.type
|
30
30
|
when Api::Request::METHOD_POST then @response = @request.post path, request_data.body, headers
|
31
31
|
when Api::Request::METHOD_PUT then @response = @request.put path, request_data.body, headers
|
32
|
-
|
33
|
-
|
32
|
+
when Api::Request::METHOD_GET then @response = @request.get path, headers
|
33
|
+
else raise 'Invalid Request Type!'
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|
@@ -90,12 +90,17 @@ module GenesisRuby
|
|
90
90
|
|
91
91
|
# Define Headers
|
92
92
|
def headers
|
93
|
-
{
|
94
|
-
'
|
95
|
-
'
|
96
|
-
'Authorization' => "Basic #{request_data.user_login}",
|
97
|
-
'User-Agent' => request_data.user_agent
|
93
|
+
headers = {
|
94
|
+
'Authorization' => "Basic #{request_data.user_login}",
|
95
|
+
'User-Agent' => request_data.user_agent
|
98
96
|
}
|
97
|
+
|
98
|
+
unless request_data.type == Api::Request::METHOD_GET
|
99
|
+
headers.merge! 'Content-Type' => request_data.format,
|
100
|
+
'Content-Length' => request_data.body&.length.to_s
|
101
|
+
end
|
102
|
+
|
103
|
+
headers
|
99
104
|
end
|
100
105
|
|
101
106
|
# Safe Request execution
|
data/lib/genesis_ruby/parser.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'genesis_ruby/parsers/xml'
|
2
|
+
require 'genesis_ruby/parsers/json'
|
2
3
|
require 'genesis_ruby/errors/parser_error'
|
3
4
|
|
4
5
|
module GenesisRuby
|
@@ -16,6 +17,8 @@ module GenesisRuby
|
|
16
17
|
case response_interface
|
17
18
|
when XML
|
18
19
|
@parser_context = GenesisRuby::Parsers::Xml.new
|
20
|
+
when JSON
|
21
|
+
@parser_context = GenesisRuby::Parsers::Json.new
|
19
22
|
else
|
20
23
|
raise GenesisRuby::ParserError, 'Invalid Parser interface!'
|
21
24
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'genesis_ruby/parsers/base'
|
2
|
+
require 'json'
|
3
|
+
|
4
|
+
module GenesisRuby
|
5
|
+
module Parsers
|
6
|
+
# JSON Document parser
|
7
|
+
class Json < Base
|
8
|
+
|
9
|
+
# Parse received document
|
10
|
+
def parse_document(document)
|
11
|
+
@structure = JSON.parse(document, symbolize_names: true)
|
12
|
+
rescue StandardError => e
|
13
|
+
raise ParserError, "Given JSON string can not be parsed! #{e.message}"
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -33,6 +33,15 @@ module GenesisRuby
|
|
33
33
|
self.parser_skip_root_node = true
|
34
34
|
end
|
35
35
|
|
36
|
+
# Load pre-defined GET configuration
|
37
|
+
def load_get_config
|
38
|
+
self.protocol = GenesisRuby::Api::Request::PROTOCOL_HTTPS
|
39
|
+
self.port = GenesisRuby::Api::Request::PORT_HTTPS
|
40
|
+
self.type = GenesisRuby::Api::Request::METHOD_GET
|
41
|
+
self.format = Builder::XML
|
42
|
+
self.parser_skip_root_node = false
|
43
|
+
end
|
44
|
+
|
36
45
|
end
|
37
46
|
end
|
38
47
|
end
|
data/lib/genesis_ruby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: genesis_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- emerchantpay Ltd.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-http
|
@@ -245,9 +245,11 @@ files:
|
|
245
245
|
- lib/genesis_ruby/api/constants/states/state.rb
|
246
246
|
- lib/genesis_ruby/api/constants/transactions.rb
|
247
247
|
- lib/genesis_ruby/api/constants/transactions/parameters/business/payment_types.rb
|
248
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/cash_payments/cash_payment_types.rb
|
248
249
|
- lib/genesis_ruby/api/constants/transactions/parameters/cash_payments/company_types.rb
|
249
250
|
- lib/genesis_ruby/api/constants/transactions/parameters/cash_payments/genders.rb
|
250
251
|
- lib/genesis_ruby/api/constants/transactions/parameters/cash_payments/marital_statuses.rb
|
252
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/credential_on_files.rb
|
251
253
|
- lib/genesis_ruby/api/constants/transactions/parameters/funding/business_application_identifier_types.rb
|
252
254
|
- lib/genesis_ruby/api/constants/transactions/parameters/funding/identifier_types.rb
|
253
255
|
- lib/genesis_ruby/api/constants/transactions/parameters/funding/receiver_account_types.rb
|
@@ -260,12 +262,16 @@ files:
|
|
260
262
|
- lib/genesis_ruby/api/constants/transactions/parameters/mobile/google_pay/payment_subtypes.rb
|
261
263
|
- lib/genesis_ruby/api/constants/transactions/parameters/mpi_protocol_sub_versions.rb
|
262
264
|
- lib/genesis_ruby/api/constants/transactions/parameters/mpi_protocol_versions.rb
|
265
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/online_banking/bank_account_types.rb
|
263
266
|
- lib/genesis_ruby/api/constants/transactions/parameters/online_banking/bank_code_currencies.rb
|
264
267
|
- lib/genesis_ruby/api/constants/transactions/parameters/online_banking/bank_codes.rb
|
265
268
|
- lib/genesis_ruby/api/constants/transactions/parameters/online_banking/payment_types.rb
|
269
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/online_banking/payout_payment_types.rb
|
266
270
|
- lib/genesis_ruby/api/constants/transactions/parameters/recurring/categories.rb
|
267
271
|
- lib/genesis_ruby/api/constants/transactions/parameters/recurring/types.rb
|
268
272
|
- lib/genesis_ruby/api/constants/transactions/parameters/refund/bank_account_types.rb
|
273
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/refund/credit_reason_indicators.rb
|
274
|
+
- lib/genesis_ruby/api/constants/transactions/parameters/refund/ticket_change_indicators.rb
|
269
275
|
- lib/genesis_ruby/api/constants/transactions/parameters/sca_exemptions.rb
|
270
276
|
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/browser/color_depths.rb
|
271
277
|
- lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/card_holder_account/password_change_indicators.rb
|
@@ -305,14 +311,17 @@ files:
|
|
305
311
|
- lib/genesis_ruby/api/mixins/requests/financial/business/hotels_and_real_estate_rentals_attributes.rb
|
306
312
|
- lib/genesis_ruby/api/mixins/requests/financial/business/travel_agencies_attributes.rb
|
307
313
|
- lib/genesis_ruby/api/mixins/requests/financial/cards/account_owner_attributes.rb
|
314
|
+
- lib/genesis_ruby/api/mixins/requests/financial/cards/credential_on_file_attributes.rb
|
308
315
|
- lib/genesis_ruby/api/mixins/requests/financial/cards/credit_card_attributes.rb
|
309
316
|
- lib/genesis_ruby/api/mixins/requests/financial/cards/fx_rate_attributes.rb
|
317
|
+
- lib/genesis_ruby/api/mixins/requests/financial/cards/installment_attributes.rb
|
310
318
|
- lib/genesis_ruby/api/mixins/requests/financial/cards/mpi_attributes.rb
|
311
319
|
- lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/managed_recurring_attributes.rb
|
312
320
|
- lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/managed_recurring_indian_card_attributes.rb
|
313
321
|
- lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_category_attributes.rb
|
314
322
|
- lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_type_attributes.rb
|
315
323
|
- lib/genesis_ruby/api/mixins/requests/financial/cards/tokenization_attributes.rb
|
324
|
+
- lib/genesis_ruby/api/mixins/requests/financial/cards/ucof_attributes.rb
|
316
325
|
- lib/genesis_ruby/api/mixins/requests/financial/consumer_identifier_attributes.rb
|
317
326
|
- lib/genesis_ruby/api/mixins/requests/financial/crypto_attributes.rb
|
318
327
|
- lib/genesis_ruby/api/mixins/requests/financial/dynamic_descriptor_attributes.rb
|
@@ -322,6 +331,7 @@ files:
|
|
322
331
|
- lib/genesis_ruby/api/mixins/requests/financial/mobile/google_pay_token_attributes.rb
|
323
332
|
- lib/genesis_ruby/api/mixins/requests/financial/moto_attributes.rb
|
324
333
|
- lib/genesis_ruby/api/mixins/requests/financial/notification_attributes.rb
|
334
|
+
- lib/genesis_ruby/api/mixins/requests/financial/online_banking_payments/pix_attributes.rb
|
325
335
|
- lib/genesis_ruby/api/mixins/requests/financial/online_banking_payments/virtual_payment_address_attributes.rb
|
326
336
|
- lib/genesis_ruby/api/mixins/requests/financial/payment_attributes.rb
|
327
337
|
- lib/genesis_ruby/api/mixins/requests/financial/pending_payment_attributes.rb
|
@@ -351,11 +361,13 @@ files:
|
|
351
361
|
- lib/genesis_ruby/api/requests/base/financials/credit_card.rb
|
352
362
|
- lib/genesis_ruby/api/requests/base/financials/south_american_payments.rb
|
353
363
|
- lib/genesis_ruby/api/requests/base/reference.rb
|
364
|
+
- lib/genesis_ruby/api/requests/base/versioned.rb
|
354
365
|
- lib/genesis_ruby/api/requests/financial/capture.rb
|
355
366
|
- lib/genesis_ruby/api/requests/financial/cards/argencard.rb
|
356
367
|
- lib/genesis_ruby/api/requests/financial/cards/aura.rb
|
357
368
|
- lib/genesis_ruby/api/requests/financial/cards/authorize.rb
|
358
369
|
- lib/genesis_ruby/api/requests/financial/cards/authorize3d.rb
|
370
|
+
- lib/genesis_ruby/api/requests/financial/cards/bancontact.rb
|
359
371
|
- lib/genesis_ruby/api/requests/financial/cards/cabal.rb
|
360
372
|
- lib/genesis_ruby/api/requests/financial/cards/cencosud.rb
|
361
373
|
- lib/genesis_ruby/api/requests/financial/cards/elo.rb
|
@@ -368,6 +380,7 @@ files:
|
|
368
380
|
- lib/genesis_ruby/api/requests/financial/cash_payments/baloto.rb
|
369
381
|
- lib/genesis_ruby/api/requests/financial/cash_payments/banco_de_occidente.rb
|
370
382
|
- lib/genesis_ruby/api/requests/financial/cash_payments/boleto.rb
|
383
|
+
- lib/genesis_ruby/api/requests/financial/cash_payments/cash.rb
|
371
384
|
- lib/genesis_ruby/api/requests/financial/cash_payments/efecty.rb
|
372
385
|
- lib/genesis_ruby/api/requests/financial/cash_payments/oxxo.rb
|
373
386
|
- lib/genesis_ruby/api/requests/financial/cash_payments/pago_facil.rb
|
@@ -380,6 +393,7 @@ files:
|
|
380
393
|
- lib/genesis_ruby/api/requests/financial/online_banking_payments/davivienda.rb
|
381
394
|
- lib/genesis_ruby/api/requests/financial/online_banking_payments/itau.rb
|
382
395
|
- lib/genesis_ruby/api/requests/financial/online_banking_payments/online_banking/pay_in.rb
|
396
|
+
- lib/genesis_ruby/api/requests/financial/online_banking_payments/online_banking/pay_out.rb
|
383
397
|
- lib/genesis_ruby/api/requests/financial/online_banking_payments/pse.rb
|
384
398
|
- lib/genesis_ruby/api/requests/financial/online_banking_payments/rapi_pago.rb
|
385
399
|
- lib/genesis_ruby/api/requests/financial/online_banking_payments/santander.rb
|
@@ -387,6 +401,8 @@ files:
|
|
387
401
|
- lib/genesis_ruby/api/requests/financial/refund.rb
|
388
402
|
- lib/genesis_ruby/api/requests/financial/void.rb
|
389
403
|
- lib/genesis_ruby/api/requests/financial/wallets/pay_pay.rb
|
404
|
+
- lib/genesis_ruby/api/requests/non_financial/installments/fetch.rb
|
405
|
+
- lib/genesis_ruby/api/requests/non_financial/installments/show.rb
|
390
406
|
- lib/genesis_ruby/api/requests/non_financial/reconcile/date_range.rb
|
391
407
|
- lib/genesis_ruby/api/requests/non_financial/reconcile/transaction.rb
|
392
408
|
- lib/genesis_ruby/api/requests/wpf/create.rb
|
@@ -395,6 +411,7 @@ files:
|
|
395
411
|
- lib/genesis_ruby/builder.rb
|
396
412
|
- lib/genesis_ruby/builders/base.rb
|
397
413
|
- lib/genesis_ruby/builders/form.rb
|
414
|
+
- lib/genesis_ruby/builders/json.rb
|
398
415
|
- lib/genesis_ruby/builders/xml.rb
|
399
416
|
- lib/genesis_ruby/configuration.rb
|
400
417
|
- lib/genesis_ruby/connection.rb
|
@@ -415,6 +432,7 @@ files:
|
|
415
432
|
- lib/genesis_ruby/network/net_http.rb
|
416
433
|
- lib/genesis_ruby/parser.rb
|
417
434
|
- lib/genesis_ruby/parsers/base.rb
|
435
|
+
- lib/genesis_ruby/parsers/json.rb
|
418
436
|
- lib/genesis_ruby/parsers/xml.rb
|
419
437
|
- lib/genesis_ruby/utils/common.rb
|
420
438
|
- lib/genesis_ruby/utils/formatters/base.rb
|
@@ -465,7 +483,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
465
483
|
- !ruby/object:Gem::Version
|
466
484
|
version: '0'
|
467
485
|
requirements: []
|
468
|
-
rubygems_version: 3.
|
486
|
+
rubygems_version: 3.2.33
|
469
487
|
signing_key:
|
470
488
|
specification_version: 4
|
471
489
|
summary: Ruby Client for Genesis Payment Processing Gateway
|