checkout_sdk 2.3.0 → 2.5.0

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 (51) hide show
  1. checksums.yaml +4 -4
  2. data/lib/checkout_sdk/api_client.rb +37 -10
  3. data/lib/checkout_sdk/checkout_api.rb +5 -1
  4. data/lib/checkout_sdk/identities/address_document_verification/address_document_verification_client.rb +32 -3
  5. data/lib/checkout_sdk/identities/address_document_verification/address_document_verification_request.rb +13 -3
  6. data/lib/checkout_sdk/identities/face_authentication/face_authentication_attempt_request.rb +13 -2
  7. data/lib/checkout_sdk/identities/face_authentication/face_authentication_client.rb +12 -4
  8. data/lib/checkout_sdk/identities/face_authentication/face_authentication_request.rb +19 -0
  9. data/lib/checkout_sdk/identities/id_document_verification/id_document_verification_client.rb +33 -3
  10. data/lib/checkout_sdk/identities/id_document_verification/id_document_verification_request.rb +30 -0
  11. data/lib/checkout_sdk/identities/identities.rb +8 -0
  12. data/lib/checkout_sdk/identities/identity_verification/identity_verification_attempt_request.rb +13 -3
  13. data/lib/checkout_sdk/identities/identity_verification/identity_verification_client.rb +12 -4
  14. data/lib/checkout_sdk/identities/identity_verification/identity_verification_request.rb +25 -4
  15. data/lib/checkout_sdk/identities/identity_verification/idv_client_information.rb +17 -3
  16. data/lib/checkout_sdk/identities/identity_verification/idv_declared_data.rb +16 -3
  17. data/lib/checkout_sdk/identities/identity_verification/idv_identity_client_information.rb +30 -0
  18. data/lib/checkout_sdk/identities/identity_verification/idv_identity_declared_data.rb +34 -0
  19. data/lib/checkout_sdk/identities/idv_address.rb +48 -0
  20. data/lib/checkout_sdk/identities/idv_attempt_assets_query_filter.rb +24 -0
  21. data/lib/checkout_sdk/identities/idv_attempts_query_filter.rb +24 -0
  22. data/lib/checkout_sdk/identities/idv_phone_number.rb +27 -0
  23. data/lib/checkout_sdk/inventory/inventory.rb +9 -0
  24. data/lib/checkout_sdk/inventory/inventory_adjustment_request.rb +24 -0
  25. data/lib/checkout_sdk/inventory/inventory_client.rb +149 -0
  26. data/lib/checkout_sdk/inventory/inventory_money.rb +19 -0
  27. data/lib/checkout_sdk/inventory/inventory_reservation_item.rb +20 -0
  28. data/lib/checkout_sdk/inventory/inventory_reservation_request.rb +27 -0
  29. data/lib/checkout_sdk/inventory/inventory_set_levels_request.rb +22 -0
  30. data/lib/checkout_sdk/inventory/inventory_set_product_request.rb +139 -0
  31. data/lib/checkout_sdk/issuing/card_update_headers.rb +32 -0
  32. data/lib/checkout_sdk/issuing/issuing.rb +1 -0
  33. data/lib/checkout_sdk/issuing/issuing_client.rb +13 -2
  34. data/lib/checkout_sdk/issuing/update_card_request.rb +37 -5
  35. data/lib/checkout_sdk/payments/accommodation_data.rb +160 -0
  36. data/lib/checkout_sdk/payments/ach_service_type.rb +14 -0
  37. data/lib/checkout_sdk/payments/aggregator.rb +28 -0
  38. data/lib/checkout_sdk/payments/airline_data.rb +37 -3
  39. data/lib/checkout_sdk/payments/flight_leg_details.rb +39 -13
  40. data/lib/checkout_sdk/payments/pan_processed_type.rb +15 -0
  41. data/lib/checkout_sdk/payments/partner_customer_risk_data.rb +23 -0
  42. data/lib/checkout_sdk/payments/passenger.rb +24 -7
  43. data/lib/checkout_sdk/payments/payments.rb +7 -1
  44. data/lib/checkout_sdk/payments/processing_card_type.rb +17 -0
  45. data/lib/checkout_sdk/payments/processing_data.rb +4 -4
  46. data/lib/checkout_sdk/payments/processing_settings.rb +249 -55
  47. data/lib/checkout_sdk/payments/ticket.rb +46 -0
  48. data/lib/checkout_sdk/version.rb +1 -1
  49. data/lib/checkout_sdk.rb +1 -0
  50. metadata +24 -3
  51. data/lib/checkout_sdk/payments/sender/ticket.rb +0 -23
@@ -2,81 +2,265 @@
2
2
 
3
3
  module CheckoutSdk
4
4
  module Payments
5
+ # Settings that control how the payment is processed.
6
+ #
7
+ # One shared type covering several request shapes: `POST /payments` resolves to
8
+ # `PaymentRequestProcessing`, while hosted payments, payment links and payment sessions
9
+ # resolve to the wider `PaymentInterfacesProcessing`. A property is therefore not necessarily
10
+ # read by every endpoint that accepts this object, and the notes below say which.
11
+ #
12
+ # Attributes marked "not in any request processing schema" are retained for backwards
13
+ # compatibility. The gateway discards them.
14
+ #
5
15
  # @!attribute order_id
6
- # @return [String]
16
+ # @return [String] The number provided by the cardholder. Purchase order or invoice number
17
+ # may be used.
18
+ # [Optional]
19
+ # max 15 characters
20
+ # Example: "123456789"
7
21
  # @!attribute tax_amount
8
- # @return [Integer]
22
+ # @return [Numeric] The total amount of sales tax on the total purchase amount.
23
+ # [Optional]
24
+ # min 0
25
+ # Example: 3000
9
26
  # @!attribute discount_amount
10
- # @return [Integer]
27
+ # @return [Numeric] The discount amount applied to the transaction by the merchant.
28
+ # [Optional]
29
+ # min 0
11
30
  # @!attribute duty_amount
12
- # @return [Integer]
31
+ # @return [Numeric] The total charges for any import or export duty included in the
32
+ # transaction.
33
+ # [Optional]
34
+ # min 0
13
35
  # @!attribute shipping_amount
14
- # @return [Integer]
36
+ # @return [Numeric] The total freight or shipping and handling charges for the transaction.
37
+ # [Optional]
38
+ # min 0
39
+ # Example: 300
15
40
  # @!attribute shipping_tax_amount
16
- # @return [Integer]
41
+ # @return [Numeric] The tax amount of the freight or shipping and handling charges for the
42
+ # transaction.
43
+ # [Optional]
44
+ # min 0
45
+ # Example: 100
46
+ # @!attribute surcharge_amount
47
+ # @return [Integer] Surcharge amount applied to the transaction in minor units by the
48
+ # merchant.
49
+ # [Optional]
50
+ # min 0
51
+ # Example: 200
52
+ # @!attribute original_order_amount
53
+ # @return [Numeric] The payment for a merchant's order may be split, and the original order
54
+ # price indicates the transaction amount of the entire order.
55
+ # [Optional]
56
+ # min 0
57
+ # @!attribute foreign_retailer_amount
58
+ # @return [Integer] The foreign retailer amount the merchant applied to the transaction, in
59
+ # the minor currency unit.
60
+ # [Optional]
61
+ # min 0
62
+ # Example: 200
17
63
  # @!attribute aft
18
- # @return [TrueClass, FalseClass]
64
+ # @return [TrueClass, FalseClass] Indicates if the payment is an Account Funding
65
+ # Transaction.
66
+ # [Optional]
19
67
  # @!attribute preferred_scheme
20
- # @return [String] {PreferredSchema}
68
+ # @return [String] The preferred scheme for co-badged card payment processing. If performing
69
+ # 3DS via a third party, set this value to the scheme that processed 3DS. This field does
70
+ # not support PINless debit schemes in the US (STAR, PULSE, NYCE, ACCEL, SHAZAM).
71
+ # [Optional]
72
+ # One of: mastercard, visa, cartes_bancaires. See {PreferredSchema}
21
73
  # @!attribute merchant_initiated_reason
22
- # @return [String] {MerchantInitiatedReason}
74
+ # @return [String] Indicates the reason for a merchant-initiated payment request.
75
+ # [Optional]
76
+ # One of: Delayed_charge, Resubmission, No_show, Reauthorization.
77
+ # See {MerchantInitiatedReason}
23
78
  # @!attribute campaign_id
24
- # @return [Integer]
79
+ # @return [Integer] Unique number of the campaign this payment will be running in. Only
80
+ # required for Afterpay campaign invoices.
81
+ # [Optional]
25
82
  # @!attribute product_type
26
- # @return [String] {ProductType}
83
+ # @return [String] Product type of the payment. Required when `source.type` is `wechatpay`,
84
+ # optional for `tamara`, required for `sequra`. The accepted values differ per source
85
+ # type. See {ProductType}
86
+ # [Optional]
87
+ # Example: "QR Code"
27
88
  # @!attribute open_id
28
- # @return [String]
29
- # @!attribute original_order_amount
30
- # @return [Integer]
89
+ # @return [String] Value obtained from the WeChat Web Authorization API before initiating
90
+ # Official Account or Mini Program payments. Required if `source.type` is `wechatpay` and
91
+ # `processing.product_type` is `Official Account` or `Mini Program`.
92
+ # [Optional]
93
+ # Example: "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
31
94
  # @!attribute receipt_id
32
- # @return [String]
95
+ # @return [String] Merchant receipt ID.
96
+ # [Optional]
97
+ # max 32 characters
98
+ # @!attribute reconciliation_id
99
+ # @return [String] The transaction identifier to track a payment request.
100
+ # [Optional]
101
+ # Example: "4123495123"
33
102
  # @!attribute terminal_type
34
- # @return [String] {TerminalType}
103
+ # @return [String] The client-side terminal type, whether it is a website opened via a PC
104
+ # browser, a mobile browser, or a mobile application.
105
+ # [Optional]
106
+ # One of: APP, WAP, WEB. See {TerminalType}
35
107
  # @!attribute os_type
36
- # @return [String] {OsType}
108
+ # @return [String] The device operating system. Required when `terminal_type` is not `WEB`.
109
+ # [Optional]
110
+ # One of: ANDROID, IOS. See {OsType}
37
111
  # @!attribute invoice_id
38
- # @return [String]
112
+ # @return [String] Invoice ID number.
113
+ # [Optional]
114
+ # max 127 characters
39
115
  # @!attribute brand_name
40
- # @return [String]
116
+ # @return [String] The label that overrides the business name in the PayPal account on the
117
+ # PayPal pages.
118
+ # [Optional]
119
+ # max 127 characters
120
+ # Declared on `PaymentInterfacesProcessing` only.
41
121
  # @!attribute locale
42
- # @return [String]
122
+ # @return [String] The language and region of the customer in ISO 639-2 language code; the
123
+ # value consists of language-country.
124
+ # [Optional]
125
+ # Pattern: ^[a-z]{2}(?:-[A-Z][a-z]{3})?(?:-(?:[A-Z]{2}))?$
126
+ # min 2 characters, max 10 characters
127
+ # Example: "en-US"
43
128
  # @!attribute shipping_preference
44
- # @return [String] {ShippingPreference}
129
+ # @return [String] The shipping preference for the payment.
130
+ # [Optional]
131
+ # One of: no_shipping, set_provided_address, get_from_file. See {ShippingPreference}
132
+ # Declared on `PaymentContextProcessing` only, so it is read by POST /payment-contexts.
45
133
  # @!attribute user_action
46
- # @return [String] {UserAction}
47
- # @!attribute set_transaction_context
48
- # @return [Array(Hash{String => String})]
49
- # @!attribute airline_data
50
- # @return [Array(AirlineData)]
51
- # @!attribute otp_value
52
- # @return [String]
134
+ # @return [String] Property required by PayPal to have an appropriate payment flow.
135
+ # [Optional]
136
+ # One of: pay_now, continue. See {UserAction}
137
+ # Declared on `PaymentContextProcessing` only.
138
+ # @!attribute pan_preference
139
+ # @return [String] The preferred type of Primary Account Number (PAN) for the payment. Only
140
+ # works for `source.type` cards, instruments and tokens. `dpan` indicates a preference for
141
+ # the Checkout.com Network Token, `fpan` for the full card number.
142
+ # [Optional]
143
+ # One of: fpan, dpan. See {PanProcessedType}
144
+ # @!attribute provision_network_token
145
+ # @return [TrueClass, FalseClass] Indicates whether to provision a network token for the
146
+ # payment.
147
+ # [Optional]
148
+ # @!attribute card_type
149
+ # @return [String] Specifies whether to process the payment as a credit or debit
150
+ # transaction, if a combo card is used. Required for domestic payments in Brazil performed
151
+ # using a Brazilian card.
152
+ # [Optional]
153
+ # One of: credit, debit. See {ProcessingCardType}
154
+ # @!attribute service_type
155
+ # @return [String] Specifies which ACH service to use for the payment, if you set
156
+ # `source.type` to `ach`.
157
+ # [Optional]
158
+ # One of: same_day, standard. See {AchServiceType}
53
159
  # @!attribute purchase_country
54
- # @return [String] {CheckoutSdk::Common::Country}
160
+ # @return [String] The two-letter ISO country code of the purchase country. If you are a
161
+ # Visa-registered ramp provider operating with affiliates, this field is required.
162
+ # [Optional]
163
+ # max 2 characters
164
+ # Example: "GB". See {CheckoutSdk::Common::Country}
55
165
  # @!attribute custom_payment_method_ids
56
- # @return [Array(String)]
166
+ # @return [Array(String)] Promo codes. They define which of the configured payment options
167
+ # within a payment category (pay_later, pay_over_time, and so on) are shown for this
168
+ # purchase.
169
+ # [Optional]
170
+ # Declared on `PaymentInterfacesProcessing` only.
57
171
  # @!attribute merchant_callback_url
58
- # @return [String]
172
+ # @return [String] A URL which you can use to notify the customer that the order has been
173
+ # created.
174
+ # [Optional]
59
175
  # @!attribute line_of_business
60
- # @return [String]
176
+ # @return [String] Beta. The line of business that the payment is associated with.
177
+ # [Optional]
178
+ # Example: "Flights"
179
+ # @!attribute partner_code
180
+ # @return [String] The customer's 6-digit Blik code. Required when `source.type` is `blik`
181
+ # and `merchant_initiated` is `false`.
182
+ # [Optional]
183
+ # Pattern: ^\d{6}$
184
+ # min 6 characters, max 6 characters
185
+ # Example: "902111"
186
+ # @!attribute scheme_transaction_link_id
187
+ # @return [String] The scheme transaction link identifier.
188
+ # [Optional]
189
+ # @!attribute affiliate_id
190
+ # @return [String] The unique identifier for Visa-registered ramp providers. Must only
191
+ # contain alphanumeric characters. Required if you are a Visa-registered ramp provider
192
+ # operating with affiliates.
193
+ # [Optional]
194
+ # Pattern: ^[a-zA-Z0-9]{1,15}$
195
+ # max 15 characters
196
+ # @!attribute affiliate_url
197
+ # @return [String] The affiliate URL. Required if you are a Visa-registered ramp provider
198
+ # operating with affiliates.
199
+ # [Optional]
200
+ # Example: "www.mycrypto.com"
201
+ # @!attribute aggregator
202
+ # @return [Aggregator] Information about the payment aggregator.
203
+ # [Optional]
204
+ # @!attribute partner_customer_risk_data
205
+ # @return [PartnerCustomerRiskData] Key-and-value pair with merchant-specific data for the
206
+ # transaction.
207
+ # [Optional]
208
+ # Declared on `PaymentInterfacesProcessing` and `PaymentContextProcessing`, not on
209
+ # `PaymentRequestProcessing`.
210
+ # @!attribute airline_data
211
+ # @return [Array(AirlineData)] Contains information about the airline ticket and flights
212
+ # booked by the customer.
213
+ # [Optional]
214
+ # @!attribute accommodation_data
215
+ # @return [Array(AccommodationData)] Contains information about the accommodation booked by
216
+ # the customer.
217
+ # [Optional]
218
+ # @!attribute set_transaction_context
219
+ # @return [Array(Hash{String => String})] Additional transaction context information.
220
+ # [Optional]
221
+ # Not in any request processing schema, in either specification. Serializes as
222
+ # `set_transaction_context`, which no schema defines, so the gateway discards it. Retained
223
+ # for backwards compatibility.
224
+ # @!attribute otp_value
225
+ # @return [String] The one-time password value for authentication.
226
+ # [Optional]
227
+ # Not on `PaymentRequestProcessing` or `PaymentInterfacesProcessing`. It is declared on
228
+ # the payment contexts payment request and on the capture request only, so setting it here
229
+ # has no effect.
61
230
  # @!attribute shipping_delay
62
- # @return [Integer]
231
+ # @return [Integer] The shipping delay in days.
232
+ # [Optional]
233
+ # Not in any request processing schema, in either specification. The gateway discards it.
234
+ # Retained for backwards compatibility.
63
235
  # @!attribute shipping_info
64
- # @return [Array(CheckoutSdk::Common::ShippingInfo)]
236
+ # @return [Array(CheckoutSdk::Common::ShippingInfo)] Additional shipping information for the
237
+ # payment.
238
+ # [Optional]
239
+ # Not in any request processing schema, in either specification. The gateway discards it.
240
+ # Retained for backwards compatibility.
65
241
  # @!attribute dlocal
66
- # @return [DLocalProcessingSettings]
242
+ # @return [DLocalProcessingSettings] dLocal-specific processing settings.
243
+ # [Optional]
244
+ # Previous API (ABC) only. Absent from the current (NAS) processing schemas.
67
245
  # @!attribute senderInformation
68
- # @return [SenderInformation]
246
+ # @return [SenderInformation] Sender information for the payment.
247
+ # [Optional]
248
+ # Not in the current specification. The property appears under neither
249
+ # `senderInformation` nor `sender_information` in any spec available to this workspace,
250
+ # including the live API reference, and no processing schema declares a sender property of
251
+ # any kind. Deprecated in practice; the current API carries sender details in the top
252
+ # level `sender` object on the payment request instead.
253
+ #
254
+ # Left exactly as it is on purpose. Ruby uses attribute names as wire keys verbatim, so
255
+ # this goes out as `senderInformation`. That camelCase spelling is long standing across
256
+ # the SDK family but has never been confirmed against a live ABC endpoint, so treat it as
257
+ # unverified rather than correct, and do not change it in either direction without such a
258
+ # confirmation.
69
259
  # @!attribute purpose
70
- # @return [String]
71
- # @!attribute affiliate_id
72
- # @return [string]
73
- # @!attribute affiliate_url
74
- # @return [string]
75
- # @!attribute partner_code
76
- # @return [String] The customer's 6-digit BLIK code. Required when source.type is "blik"
77
- # and merchant_initiated is false. Pattern: ^\d{6}$
78
- # @!attribute scheme_transaction_link_id
79
- # @return [String] [Optional] The scheme transaction link identifier.
260
+ # @return [String] The purpose of the payment.
261
+ # [Optional]
262
+ # Not declared on any processing schema in either specification. The name appears
263
+ # elsewhere in the spec on unrelated objects. The gateway discards it here.
80
264
  class ProcessingSettings
81
265
  attr_accessor :order_id,
82
266
  :tax_amount,
@@ -84,14 +268,17 @@ module CheckoutSdk
84
268
  :duty_amount,
85
269
  :shipping_amount,
86
270
  :shipping_tax_amount,
271
+ :surcharge_amount,
272
+ :original_order_amount,
273
+ :foreign_retailer_amount,
87
274
  :aft,
88
275
  :preferred_scheme,
89
276
  :merchant_initiated_reason,
90
277
  :campaign_id,
91
278
  :product_type,
92
279
  :open_id,
93
- :original_order_amount,
94
280
  :receipt_id,
281
+ :reconciliation_id,
95
282
  :terminal_type,
96
283
  :os_type,
97
284
  :invoice_id,
@@ -99,22 +286,29 @@ module CheckoutSdk
99
286
  :locale,
100
287
  :shipping_preference,
101
288
  :user_action,
102
- :set_transaction_context,
103
- :airline_data,
104
- :otp_value,
289
+ :pan_preference,
290
+ :provision_network_token,
291
+ :card_type,
292
+ :service_type,
105
293
  :purchase_country,
106
294
  :custom_payment_method_ids,
107
295
  :merchant_callback_url,
108
296
  :line_of_business,
297
+ :partner_code,
298
+ :scheme_transaction_link_id,
299
+ :affiliate_id,
300
+ :affiliate_url,
301
+ :aggregator,
302
+ :partner_customer_risk_data,
303
+ :airline_data,
304
+ :accommodation_data,
305
+ :set_transaction_context,
306
+ :otp_value,
109
307
  :shipping_delay,
110
308
  :shipping_info,
111
309
  :dlocal,
112
310
  :senderInformation,
113
- :purpose,
114
- :affiliate_id,
115
- :affiliate_url,
116
- :partner_code,
117
- :scheme_transaction_link_id
311
+ :purpose
118
312
  end
119
313
  end
120
314
  end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # Contains information about the airline ticket.
6
+ #
7
+ # Maps the inline `ticket` object on the swagger `AirlineData` and
8
+ # `PaymentInterfacesProcessingAirlineData` schemas. Both declare the same six properties.
9
+ #
10
+ # @!attribute number
11
+ # @return [String] The ticket's unique identifier.
12
+ # [Optional]
13
+ # Example: "045-21351455613"
14
+ # @!attribute issue_date
15
+ # @return [String] Date the airline ticket was issued.
16
+ # [Optional]
17
+ # Format: date (YYYY-MM-DD)
18
+ # Example: "2023-05-20"
19
+ # @!attribute issuing_carrier_code
20
+ # @return [String] Carrier code of the ticket issuer.
21
+ # [Optional]
22
+ # Example: "AI"
23
+ # @!attribute travel_package_indicator
24
+ # @return [String] C = Car rental reservation, A = Airline flight reservation,
25
+ # B = Both car rental and airline flight reservations included, N = Unknown.
26
+ # [Optional]
27
+ # Example: "B"
28
+ # @!attribute travel_agency_name
29
+ # @return [String] The name of the travel agency.
30
+ # [Optional]
31
+ # Example: "World Tours"
32
+ # @!attribute travel_agency_code
33
+ # @return [String] The unique identifier from IATA or ARC for the travel agency that
34
+ # issues the ticket.
35
+ # [Optional]
36
+ # Example: "01"
37
+ class Ticket
38
+ attr_accessor :number,
39
+ :issue_date,
40
+ :issuing_carrier_code,
41
+ :travel_package_indicator,
42
+ :travel_agency_name,
43
+ :travel_agency_code
44
+ end
45
+ end
46
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CheckoutSdk
4
- VERSION = '2.3.0'
4
+ VERSION = '2.5.0'
5
5
  end
data/lib/checkout_sdk.rb CHANGED
@@ -75,6 +75,7 @@ require 'checkout_sdk/standalone_account_updater/standalone_account_updater'
75
75
  require 'checkout_sdk/network_tokens/network_tokens'
76
76
  require 'checkout_sdk/payment_methods/payment_methods'
77
77
  require 'checkout_sdk/identities/identities'
78
+ require 'checkout_sdk/inventory/inventory'
78
79
 
79
80
  # Checkout modules (previous)
80
81
  require 'checkout_sdk/sources/sources'
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: 2.3.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Checkout
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-09-17 00:00:00.000000000 Z
11
+ date: 2026-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -343,6 +343,12 @@ files:
343
343
  - lib/checkout_sdk/identities/identity_verification/identity_verification_request.rb
344
344
  - lib/checkout_sdk/identities/identity_verification/idv_client_information.rb
345
345
  - lib/checkout_sdk/identities/identity_verification/idv_declared_data.rb
346
+ - lib/checkout_sdk/identities/identity_verification/idv_identity_client_information.rb
347
+ - lib/checkout_sdk/identities/identity_verification/idv_identity_declared_data.rb
348
+ - lib/checkout_sdk/identities/idv_address.rb
349
+ - lib/checkout_sdk/identities/idv_attempt_assets_query_filter.rb
350
+ - lib/checkout_sdk/identities/idv_attempts_query_filter.rb
351
+ - lib/checkout_sdk/identities/idv_phone_number.rb
346
352
  - lib/checkout_sdk/instruments/ach_account_type.rb
347
353
  - lib/checkout_sdk/instruments/bacs_payment_type.rb
348
354
  - lib/checkout_sdk/instruments/base_instruments_client.rb
@@ -386,9 +392,18 @@ files:
386
392
  - lib/checkout_sdk/instruments/update/update_sepa_account_holder.rb
387
393
  - lib/checkout_sdk/instruments/update/update_sepa_billing_address.rb
388
394
  - lib/checkout_sdk/instruments/update/update_sepa_instrument_data.rb
395
+ - lib/checkout_sdk/inventory/inventory.rb
396
+ - lib/checkout_sdk/inventory/inventory_adjustment_request.rb
397
+ - lib/checkout_sdk/inventory/inventory_client.rb
398
+ - lib/checkout_sdk/inventory/inventory_money.rb
399
+ - lib/checkout_sdk/inventory/inventory_reservation_item.rb
400
+ - lib/checkout_sdk/inventory/inventory_reservation_request.rb
401
+ - lib/checkout_sdk/inventory/inventory_set_levels_request.rb
402
+ - lib/checkout_sdk/inventory/inventory_set_product_request.rb
389
403
  - lib/checkout_sdk/issuing/add_control_group_request.rb
390
404
  - lib/checkout_sdk/issuing/add_control_profile_request.rb
391
405
  - lib/checkout_sdk/issuing/amend_dispute_request.rb
406
+ - lib/checkout_sdk/issuing/card_update_headers.rb
392
407
  - lib/checkout_sdk/issuing/cardholder_access_token_request.rb
393
408
  - lib/checkout_sdk/issuing/create_dispute_request.rb
394
409
  - lib/checkout_sdk/issuing/escalate_dispute_request.rb
@@ -433,6 +448,9 @@ files:
433
448
  - lib/checkout_sdk/payment_methods/payment_methods.rb
434
449
  - lib/checkout_sdk/payment_methods/payment_methods_client.rb
435
450
  - lib/checkout_sdk/payment_methods/payment_methods_query.rb
451
+ - lib/checkout_sdk/payments/accommodation_data.rb
452
+ - lib/checkout_sdk/payments/ach_service_type.rb
453
+ - lib/checkout_sdk/payments/aggregator.rb
436
454
  - lib/checkout_sdk/payments/airline_data.rb
437
455
  - lib/checkout_sdk/payments/apple_pay/apple_pay_certificate_request.rb
438
456
  - lib/checkout_sdk/payments/apple_pay/apple_pay_client.rb
@@ -478,7 +496,9 @@ files:
478
496
  - lib/checkout_sdk/payments/merchant_initiated_reason.rb
479
497
  - lib/checkout_sdk/payments/network_token_type.rb
480
498
  - lib/checkout_sdk/payments/os_type.rb
499
+ - lib/checkout_sdk/payments/pan_processed_type.rb
481
500
  - lib/checkout_sdk/payments/partial_authorization.rb
501
+ - lib/checkout_sdk/payments/partner_customer_risk_data.rb
482
502
  - lib/checkout_sdk/payments/passenger.rb
483
503
  - lib/checkout_sdk/payments/payer.rb
484
504
  - lib/checkout_sdk/payments/payment_instruction.rb
@@ -534,6 +554,7 @@ files:
534
554
  - lib/checkout_sdk/payments/previous/source/network_token_source.rb
535
555
  - lib/checkout_sdk/payments/previous/source/payment_source.rb
536
556
  - lib/checkout_sdk/payments/previous/source/token_source.rb
557
+ - lib/checkout_sdk/payments/processing_card_type.rb
537
558
  - lib/checkout_sdk/payments/processing_data.rb
538
559
  - lib/checkout_sdk/payments/processing_settings.rb
539
560
  - lib/checkout_sdk/payments/product.rb
@@ -552,7 +573,6 @@ files:
552
573
  - lib/checkout_sdk/payments/sender/sender_information.rb
553
574
  - lib/checkout_sdk/payments/sender/sender_type.rb
554
575
  - lib/checkout_sdk/payments/sender/source_of_funds.rb
555
- - lib/checkout_sdk/payments/sender/ticket.rb
556
576
  - lib/checkout_sdk/payments/sessions/payment_methods_type.rb
557
577
  - lib/checkout_sdk/payments/sessions/payment_sessions_client.rb
558
578
  - lib/checkout_sdk/payments/sessions/payment_sessions_request.rb
@@ -650,6 +670,7 @@ files:
650
670
  - lib/checkout_sdk/payments/terminal_type.rb
651
671
  - lib/checkout_sdk/payments/three_ds_flow_type.rb
652
672
  - lib/checkout_sdk/payments/three_ds_request.rb
673
+ - lib/checkout_sdk/payments/ticket.rb
653
674
  - lib/checkout_sdk/payments/user_action.rb
654
675
  - lib/checkout_sdk/payments/void_request.rb
655
676
  - lib/checkout_sdk/platform_type.rb
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module CheckoutSdk
4
- module Payments
5
- # @!attribute number
6
- # @return [String]
7
- # @!attribute issue_date
8
- # @return [String]
9
- # @!attribute issuing_carrier_code
10
- # @return [String]
11
- # @!attribute travel_agency_name
12
- # @return [String]
13
- # @!attribute travel_agency_code
14
- # @return [String]
15
- class Ticket
16
- attr_accessor :number,
17
- :issue_date,
18
- :issuing_carrier_code,
19
- :travel_agency_name,
20
- :travel_agency_code
21
- end
22
- end
23
- end