checkout_sdk 1.1.2 → 1.1.3
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/lib/checkout_sdk/accounts/accounts.rb +2 -0
- data/lib/checkout_sdk/accounts/headers.rb +11 -0
- data/lib/checkout_sdk/accounts/instrument_details_card_token.rb +11 -0
- data/lib/checkout_sdk/accounts/payment_instrument_request.rb +0 -4
- data/lib/checkout_sdk/accounts/update_payment_instrument_request.rb +4 -1
- data/lib/checkout_sdk/common/instrument_type.rb +1 -0
- data/lib/checkout_sdk/json_serializer.rb +2 -1
- data/lib/checkout_sdk/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe4967d92854672d3668f97b925b4d66e4ceb1bf08374ce054766596fe2b0181
|
4
|
+
data.tar.gz: 9ba27b9aea9e2eda47755455da5770383b3fa7ec9892c49dc68b81d8b680ff34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82e3fbe3f10193ee8655553b58596fd6821d1b52dc1789e895daedb9f818c43b28a27a5db5c245703046ac24a402a3d5b8ec36efcd2019e02ea0ff3174394038
|
7
|
+
data.tar.gz: ba39851f661ef0885e35f8b2cd94025d358ce4ecaad015c8e14f43bbe97f04c9a62004f0620b1e2523744cb3b2117748563e3d2f717d0de4c1ba98886fbdd7a4
|
@@ -31,6 +31,8 @@ require 'checkout_sdk/accounts/schedule_frequency_monthly'
|
|
31
31
|
require 'checkout_sdk/accounts/instrument_details'
|
32
32
|
require 'checkout_sdk/accounts/instrument_details_faster_payments'
|
33
33
|
require 'checkout_sdk/accounts/instrument_details_sepa'
|
34
|
+
require 'checkout_sdk/accounts/instrument_details_card_token'
|
34
35
|
require 'checkout_sdk/accounts/payment_instrument_request'
|
35
36
|
require 'checkout_sdk/accounts/payment_instruments_query'
|
37
|
+
require 'checkout_sdk/accounts/headers'
|
36
38
|
require 'checkout_sdk/accounts/update_payment_instrument_request'
|
@@ -6,9 +6,12 @@ module CheckoutSdk
|
|
6
6
|
# @return [String]
|
7
7
|
# @!attribute default
|
8
8
|
# @return [TrueClass, FalseClass]
|
9
|
+
# @!attribute headers
|
10
|
+
# @return [Headers]
|
9
11
|
class UpdatePaymentInstrumentRequest
|
10
12
|
attr_accessor :label,
|
11
|
-
:default
|
13
|
+
:default,
|
14
|
+
:headers
|
12
15
|
end
|
13
16
|
end
|
14
17
|
end
|
@@ -5,7 +5,8 @@ module CheckoutSdk
|
|
5
5
|
KEYS_TRANSFORMATIONS = { three_ds: '3ds',
|
6
6
|
account_holder_type: 'account-holder-type',
|
7
7
|
payment_network: 'payment-network',
|
8
|
-
from_: 'from'
|
8
|
+
from_: 'from',
|
9
|
+
if_match: 'if-match' }.freeze
|
9
10
|
|
10
11
|
def self.to_custom_hash(object)
|
11
12
|
hash = {}
|
data/lib/checkout_sdk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: checkout_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Checkout
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -140,9 +140,11 @@ files:
|
|
140
140
|
- lib/checkout_sdk/accounts/entity_financial_details.rb
|
141
141
|
- lib/checkout_sdk/accounts/entity_financial_documents.rb
|
142
142
|
- lib/checkout_sdk/accounts/file_request.rb
|
143
|
+
- lib/checkout_sdk/accounts/headers.rb
|
143
144
|
- lib/checkout_sdk/accounts/identification.rb
|
144
145
|
- lib/checkout_sdk/accounts/individual.rb
|
145
146
|
- lib/checkout_sdk/accounts/instrument_details.rb
|
147
|
+
- lib/checkout_sdk/accounts/instrument_details_card_token.rb
|
146
148
|
- lib/checkout_sdk/accounts/instrument_details_faster_payments.rb
|
147
149
|
- lib/checkout_sdk/accounts/instrument_details_sepa.rb
|
148
150
|
- lib/checkout_sdk/accounts/instrument_document.rb
|