inttegro 9.2.2 → 9.3.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/inttegro/checkout/amount_selection.rb +84 -0
- data/lib/inttegro/checkout/lookup_request.rb +18 -0
- data/lib/inttegro/checkout/lookup_request_variant2.rb +27 -0
- data/lib/inttegro/checkout/lookup_response.rb +47 -0
- data/lib/inttegro/checkout/select_amount_request.rb +18 -0
- data/lib/inttegro/checkout/select_amount_request_variant1.rb +35 -0
- data/lib/inttegro/checkout/select_amount_request_variant2.rb +35 -0
- data/lib/inttegro/checkout/selected_amount.rb +36 -0
- data/lib/inttegro/financial_account/compact.rb +10 -0
- data/lib/inttegro/financial_account/connected.rb +10 -0
- data/lib/inttegro/financial_account/created.rb +10 -0
- data/lib/inttegro/financial_account/details.rb +10 -0
- data/lib/inttegro/financial_account/financial_account.rb +10 -0
- data/lib/inttegro/financial_account/updated.rb +10 -0
- data/lib/inttegro/generated/models.rb +19 -2
- data/lib/inttegro/generated/operations.rb +5 -2
- data/lib/inttegro/purchase_intent/create_presentation.rb +29 -0
- data/lib/inttegro/purchase_intent/create_presentation_buy_page.rb +28 -0
- data/lib/inttegro/purchase_intent/create_presentation_buy_page_text.rb +42 -0
- data/lib/inttegro/purchase_intent/create_request.rb +9 -0
- data/lib/inttegro/purchase_intent/presentation.rb +28 -0
- data/lib/inttegro/purchase_intent/presentation_buy_page.rb +28 -0
- data/lib/inttegro/purchase_intent/presentation_buy_page_text.rb +41 -0
- data/lib/inttegro/purchase_intent/purchase_intent.rb +8 -0
- data/lib/inttegro/purchase_intent/update_presentation.rb +29 -0
- data/lib/inttegro/purchase_intent/update_presentation_buy_page.rb +28 -0
- data/lib/inttegro/purchase_intent/update_presentation_buy_page_text.rb +41 -0
- data/lib/inttegro/purchase_intent/update_request.rb +9 -0
- data/lib/inttegro/version.rb +1 -1
- metadata +19 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e6533427a76d738f2463213ee3bc8e987e2f449ec8f2a9f6ad50b1006145dda4
|
|
4
|
+
data.tar.gz: 5e0a5ec6bae4612c68f6b0d0c2a03643e89fd46d8730ea7b2b06c397d5281839
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5557e31bd3bf1f00d9482ba3ce1cf70f003af7a5ced7615deb66069c1b7d34484dbaf1305af99324de121ff134a19a26d8f91222150473c685da2fbe9fb8f900
|
|
7
|
+
data.tar.gz: 44e13f26e0f5505c396d589faa0d38bc0152acc3e407722790b4921d9db17f030bb31d62917022bdcb5225b627a4ac67f91e1009f96e4f4f84a626c17449bf50
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [9.3.0] - 2026-10-03
|
|
4
|
+
|
|
5
|
+
- Added typed hosted Buy-page text overrides to Purchase Intent create,
|
|
6
|
+
update, and response models, including explicit default restoration.
|
|
7
|
+
- Added the application-scoped financial-account fingerprint to typed
|
|
8
|
+
responses.
|
|
9
|
+
|
|
3
10
|
## [9.2.2] - 2026-10-02
|
|
4
11
|
|
|
5
12
|
- Restored the broad Inttegro API description while retaining searchable gem
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
require_relative "../price/customer_selected_amount"
|
|
8
|
+
|
|
9
|
+
module Inttegro
|
|
10
|
+
module Checkout
|
|
11
|
+
# Typed representation of the amount selection object in the Inttegro API.
|
|
12
|
+
#
|
|
13
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
14
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
15
|
+
# field names and serialized enum values.
|
|
16
|
+
#
|
|
17
|
+
# @api public
|
|
18
|
+
#
|
|
19
|
+
# @!attribute [r] purchase_intent_id
|
|
20
|
+
# Purchase Intent reference present when selection creates an Order.
|
|
21
|
+
#
|
|
22
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `purchase_intent_id`.
|
|
23
|
+
# @return [String, nil]
|
|
24
|
+
#
|
|
25
|
+
# @!attribute [r] order_id
|
|
26
|
+
# Order reference present when selection changes an existing Order.
|
|
27
|
+
#
|
|
28
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `order_id`.
|
|
29
|
+
# @return [String, nil]
|
|
30
|
+
#
|
|
31
|
+
# @!attribute [r] price_id
|
|
32
|
+
# Value of the `price_id` field in the Inttegro API payload.
|
|
33
|
+
#
|
|
34
|
+
# Required in the API payload. Wire name: `price_id`.
|
|
35
|
+
# @return [String]
|
|
36
|
+
#
|
|
37
|
+
# @!attribute [r] product_id
|
|
38
|
+
# Value of the `product_id` field in the Inttegro API payload.
|
|
39
|
+
#
|
|
40
|
+
# Required in the API payload. Wire name: `product_id`.
|
|
41
|
+
# @return [String]
|
|
42
|
+
#
|
|
43
|
+
# @!attribute [r] merchant_name
|
|
44
|
+
# Value of the `merchant_name` field in the Inttegro API payload.
|
|
45
|
+
#
|
|
46
|
+
# Required in the API payload. Wire name: `merchant_name`.
|
|
47
|
+
# @return [String]
|
|
48
|
+
#
|
|
49
|
+
# @!attribute [r] product_name
|
|
50
|
+
# Value of the `product_name` field in the Inttegro API payload.
|
|
51
|
+
#
|
|
52
|
+
# Required in the API payload. Wire name: `product_name`.
|
|
53
|
+
# @return [String]
|
|
54
|
+
#
|
|
55
|
+
# @!attribute [r] product_about
|
|
56
|
+
# Value of the `product_about` field in the Inttegro API payload.
|
|
57
|
+
#
|
|
58
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `product_about`.
|
|
59
|
+
# @return [String, nil]
|
|
60
|
+
#
|
|
61
|
+
# @!attribute [r] expires_at
|
|
62
|
+
# Value of the `expires_at` field in the Inttegro API payload.
|
|
63
|
+
#
|
|
64
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `expires_at`.
|
|
65
|
+
# @return [Time, nil]
|
|
66
|
+
#
|
|
67
|
+
# @!attribute [r] customer_selected_amount
|
|
68
|
+
# Value of the `customer_selected_amount` field in the Inttegro API payload.
|
|
69
|
+
#
|
|
70
|
+
# Required in the API payload. Wire name: `customer_selected_amount`.
|
|
71
|
+
# @return [Inttegro::Price::CustomerSelectedAmount]
|
|
72
|
+
class AmountSelection < T::Struct
|
|
73
|
+
const :purchase_intent_id, T.nilable(String), default: nil
|
|
74
|
+
const :order_id, T.nilable(String), default: nil
|
|
75
|
+
const :price_id, String
|
|
76
|
+
const :product_id, String
|
|
77
|
+
const :merchant_name, String
|
|
78
|
+
const :product_name, String
|
|
79
|
+
const :product_about, T.nilable(String), default: nil
|
|
80
|
+
const :expires_at, T.nilable(Time), default: nil
|
|
81
|
+
const :customer_selected_amount, Inttegro::Price::CustomerSelectedAmount
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
require_relative "lookup_request_variant2"
|
|
8
|
+
require_relative "order_reference_request"
|
|
9
|
+
|
|
10
|
+
module Inttegro
|
|
11
|
+
module Checkout
|
|
12
|
+
# Typed representation of the lookup request object in the Inttegro API.
|
|
13
|
+
#
|
|
14
|
+
# @api public
|
|
15
|
+
# @return [Inttegro::Checkout::OrderReferenceRequest, Inttegro::Checkout::LookupRequestVariant2]
|
|
16
|
+
LookupRequest = T.type_alias { T.any(Inttegro::Checkout::OrderReferenceRequest, Inttegro::Checkout::LookupRequestVariant2) }
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
|
|
8
|
+
module Inttegro
|
|
9
|
+
module Checkout
|
|
10
|
+
# Typed representation of the lookup request variant2 object in the Inttegro API.
|
|
11
|
+
#
|
|
12
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
13
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
14
|
+
# field names and serialized enum values.
|
|
15
|
+
#
|
|
16
|
+
# @api public
|
|
17
|
+
#
|
|
18
|
+
# @!attribute [r] purchase_intent_id
|
|
19
|
+
# Purchase Intent whose customer-selected amount policy should be loaded.
|
|
20
|
+
#
|
|
21
|
+
# Required in the API payload. Wire name: `purchase_intent_id`.
|
|
22
|
+
# @return [String]
|
|
23
|
+
class LookupRequestVariant2 < T::Struct
|
|
24
|
+
const :purchase_intent_id, String
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
require_relative "../shared/error_payload"
|
|
8
|
+
require_relative "amount_selection"
|
|
9
|
+
require_relative "order"
|
|
10
|
+
|
|
11
|
+
module Inttegro
|
|
12
|
+
module Checkout
|
|
13
|
+
# A Purchase Intent lookup returns `amount_selection`. An Order lookup returns `order` and
|
|
14
|
+
# also returns `amount_selection` while that Order's amount can still be changed.
|
|
15
|
+
#
|
|
16
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
17
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
18
|
+
# field names and serialized enum values.
|
|
19
|
+
#
|
|
20
|
+
# @api public
|
|
21
|
+
#
|
|
22
|
+
# @!attribute [r] order
|
|
23
|
+
# Current checkout projection. Its existing fields are published unchanged for the initial
|
|
24
|
+
# mobile SDK contract and may be narrowed in a future contract revision.
|
|
25
|
+
#
|
|
26
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `order`.
|
|
27
|
+
# @return [Inttegro::Checkout::Order, nil]
|
|
28
|
+
#
|
|
29
|
+
# @!attribute [r] amount_selection
|
|
30
|
+
# Value of the `amount_selection` field in the Inttegro API payload.
|
|
31
|
+
#
|
|
32
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `amount_selection`.
|
|
33
|
+
# @return [Inttegro::Checkout::AmountSelection, nil]
|
|
34
|
+
#
|
|
35
|
+
# @!attribute [r] error
|
|
36
|
+
# Standard error response structure returned by all API endpoints. Provides machine-readable
|
|
37
|
+
# codes, human-readable messages, and actionable guidance for resolution.
|
|
38
|
+
#
|
|
39
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `error`.
|
|
40
|
+
# @return [Inttegro::Shared::ErrorPayload, nil]
|
|
41
|
+
class LookupResponse < T::Struct
|
|
42
|
+
const :order, T.nilable(Inttegro::Checkout::Order), default: nil
|
|
43
|
+
const :amount_selection, T.nilable(Inttegro::Checkout::AmountSelection), default: nil
|
|
44
|
+
const :error, T.nilable(Inttegro::Shared::ErrorPayload), default: nil
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
require_relative "select_amount_request_variant1"
|
|
8
|
+
require_relative "select_amount_request_variant2"
|
|
9
|
+
|
|
10
|
+
module Inttegro
|
|
11
|
+
module Checkout
|
|
12
|
+
# Typed representation of the select amount request object in the Inttegro API.
|
|
13
|
+
#
|
|
14
|
+
# @api public
|
|
15
|
+
# @return [Inttegro::Checkout::SelectAmountRequestVariant1, Inttegro::Checkout::SelectAmountRequestVariant2]
|
|
16
|
+
SelectAmountRequest = T.type_alias { T.any(Inttegro::Checkout::SelectAmountRequestVariant1, Inttegro::Checkout::SelectAmountRequestVariant2) }
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
require_relative "selected_amount"
|
|
8
|
+
|
|
9
|
+
module Inttegro
|
|
10
|
+
module Checkout
|
|
11
|
+
# Typed representation of the select amount request variant1 object in the Inttegro API.
|
|
12
|
+
#
|
|
13
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
14
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
15
|
+
# field names and serialized enum values.
|
|
16
|
+
#
|
|
17
|
+
# @api public
|
|
18
|
+
#
|
|
19
|
+
# @!attribute [r] purchase_intent_id
|
|
20
|
+
# Purchase Intent used to create a new Checkout Order.
|
|
21
|
+
#
|
|
22
|
+
# Required in the API payload. Wire name: `purchase_intent_id`.
|
|
23
|
+
# @return [String]
|
|
24
|
+
#
|
|
25
|
+
# @!attribute [r] selected_amount
|
|
26
|
+
# Value of the `selected_amount` field in the Inttegro API payload.
|
|
27
|
+
#
|
|
28
|
+
# Required in the API payload. Wire name: `selected_amount`.
|
|
29
|
+
# @return [Inttegro::Checkout::SelectedAmount]
|
|
30
|
+
class SelectAmountRequestVariant1 < T::Struct
|
|
31
|
+
const :purchase_intent_id, String
|
|
32
|
+
const :selected_amount, Inttegro::Checkout::SelectedAmount
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
require_relative "selected_amount"
|
|
8
|
+
|
|
9
|
+
module Inttegro
|
|
10
|
+
module Checkout
|
|
11
|
+
# Typed representation of the select amount request variant2 object in the Inttegro API.
|
|
12
|
+
#
|
|
13
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
14
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
15
|
+
# field names and serialized enum values.
|
|
16
|
+
#
|
|
17
|
+
# @api public
|
|
18
|
+
#
|
|
19
|
+
# @!attribute [r] order_id
|
|
20
|
+
# Existing finalized Order whose amount should be changed before payment begins.
|
|
21
|
+
#
|
|
22
|
+
# Required in the API payload. Wire name: `order_id`.
|
|
23
|
+
# @return [String]
|
|
24
|
+
#
|
|
25
|
+
# @!attribute [r] selected_amount
|
|
26
|
+
# Value of the `selected_amount` field in the Inttegro API payload.
|
|
27
|
+
#
|
|
28
|
+
# Required in the API payload. Wire name: `selected_amount`.
|
|
29
|
+
# @return [Inttegro::Checkout::SelectedAmount]
|
|
30
|
+
class SelectAmountRequestVariant2 < T::Struct
|
|
31
|
+
const :order_id, String
|
|
32
|
+
const :selected_amount, Inttegro::Checkout::SelectedAmount
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
require_relative "../money/currency"
|
|
8
|
+
|
|
9
|
+
module Inttegro
|
|
10
|
+
module Checkout
|
|
11
|
+
# Typed representation of the selected amount object in the Inttegro API.
|
|
12
|
+
#
|
|
13
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
14
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
15
|
+
# field names and serialized enum values.
|
|
16
|
+
#
|
|
17
|
+
# @api public
|
|
18
|
+
#
|
|
19
|
+
# @!attribute [r] currency
|
|
20
|
+
# A currency code recognized by the Inttegro API. Individual operations can support a subset
|
|
21
|
+
# of these currencies.
|
|
22
|
+
#
|
|
23
|
+
# Required in the API payload. Wire name: `currency`.
|
|
24
|
+
# @return [Inttegro::Money::Currency]
|
|
25
|
+
#
|
|
26
|
+
# @!attribute [r] value
|
|
27
|
+
# Payer-selected amount in the currency's smallest unit.
|
|
28
|
+
#
|
|
29
|
+
# Required in the API payload. Wire name: `value`.
|
|
30
|
+
# @return [Integer]
|
|
31
|
+
class SelectedAmount < T::Struct
|
|
32
|
+
const :currency, Inttegro::Money::Currency
|
|
33
|
+
const :value, Integer
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -40,6 +40,15 @@ module Inttegro
|
|
|
40
40
|
# Optional in the API payload; omitted values default to `nil`. Wire name: `disconnected_at`.
|
|
41
41
|
# @return [Time, nil]
|
|
42
42
|
#
|
|
43
|
+
# @!attribute [r] fingerprint
|
|
44
|
+
# Application-scoped value for recognizing the same underlying financial account within the
|
|
45
|
+
# authenticated application. Matching nonempty fingerprints can be used to detect duplicate
|
|
46
|
+
# connections. Compare fingerprints only within the same application. Omitted when reliable
|
|
47
|
+
# fingerprint material is unavailable.
|
|
48
|
+
#
|
|
49
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `fingerprint`.
|
|
50
|
+
# @return [String, nil]
|
|
51
|
+
#
|
|
43
52
|
# @!attribute [r] id
|
|
44
53
|
# Value of the `id` field in the Inttegro API payload.
|
|
45
54
|
#
|
|
@@ -62,6 +71,7 @@ module Inttegro
|
|
|
62
71
|
const :currency, String
|
|
63
72
|
const :description, T.nilable(String), default: nil
|
|
64
73
|
const :disconnected_at, T.nilable(Time), default: nil
|
|
74
|
+
const :fingerprint, T.nilable(String), default: nil
|
|
65
75
|
const :id, String
|
|
66
76
|
const :label, T.nilable(String), default: nil
|
|
67
77
|
const :type, Inttegro::FinancialAccount::Type
|
|
@@ -57,6 +57,15 @@ module Inttegro
|
|
|
57
57
|
# Optional in the API payload; omitted values default to `nil`. Wire name: `description`.
|
|
58
58
|
# @return [String, nil]
|
|
59
59
|
#
|
|
60
|
+
# @!attribute [r] fingerprint
|
|
61
|
+
# Application-scoped value for recognizing the same underlying financial account within the
|
|
62
|
+
# authenticated application. Matching nonempty fingerprints can be used to detect duplicate
|
|
63
|
+
# connections. Compare fingerprints only within the same application. Omitted when reliable
|
|
64
|
+
# fingerprint material is unavailable.
|
|
65
|
+
#
|
|
66
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `fingerprint`.
|
|
67
|
+
# @return [String, nil]
|
|
68
|
+
#
|
|
60
69
|
# @!attribute [r] id
|
|
61
70
|
# Value of the `id` field in the Inttegro API payload.
|
|
62
71
|
#
|
|
@@ -141,6 +150,7 @@ module Inttegro
|
|
|
141
150
|
const :currency, String
|
|
142
151
|
const :custom_data, T.nilable(Inttegro::CustomData), default: nil
|
|
143
152
|
const :description, T.nilable(String), default: nil
|
|
153
|
+
const :fingerprint, T.nilable(String), default: nil
|
|
144
154
|
const :id, String
|
|
145
155
|
const :institution, T.nilable(Inttegro::Shared::FinancialInstitution), default: nil
|
|
146
156
|
const :label, T.nilable(String), default: nil
|
|
@@ -56,6 +56,15 @@ module Inttegro
|
|
|
56
56
|
# Optional in the API payload; omitted values default to `nil`. Wire name: `description`.
|
|
57
57
|
# @return [String, nil]
|
|
58
58
|
#
|
|
59
|
+
# @!attribute [r] fingerprint
|
|
60
|
+
# Application-scoped value for recognizing the same underlying financial account within the
|
|
61
|
+
# authenticated application. Matching nonempty fingerprints can be used to detect duplicate
|
|
62
|
+
# connections. Compare fingerprints only within the same application. Omitted when reliable
|
|
63
|
+
# fingerprint material is unavailable.
|
|
64
|
+
#
|
|
65
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `fingerprint`.
|
|
66
|
+
# @return [String, nil]
|
|
67
|
+
#
|
|
59
68
|
# @!attribute [r] id
|
|
60
69
|
# Value of the `id` field in the Inttegro API payload.
|
|
61
70
|
#
|
|
@@ -133,6 +142,7 @@ module Inttegro
|
|
|
133
142
|
const :currency, String
|
|
134
143
|
const :custom_data, T.nilable(Inttegro::CustomData), default: nil
|
|
135
144
|
const :description, T.nilable(String), default: nil
|
|
145
|
+
const :fingerprint, T.nilable(String), default: nil
|
|
136
146
|
const :id, String
|
|
137
147
|
const :institution, T.nilable(Inttegro::Shared::FinancialInstitution), default: nil
|
|
138
148
|
const :label, T.nilable(String), default: nil
|
|
@@ -53,6 +53,15 @@ module Inttegro
|
|
|
53
53
|
# Optional in the API payload; omitted values default to `nil`. Wire name: `description`.
|
|
54
54
|
# @return [String, nil]
|
|
55
55
|
#
|
|
56
|
+
# @!attribute [r] fingerprint
|
|
57
|
+
# Application-scoped value for recognizing the same underlying financial account within the
|
|
58
|
+
# authenticated application. Matching nonempty fingerprints can be used to detect duplicate
|
|
59
|
+
# connections. Compare fingerprints only within the same application. Omitted when reliable
|
|
60
|
+
# fingerprint material is unavailable.
|
|
61
|
+
#
|
|
62
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `fingerprint`.
|
|
63
|
+
# @return [String, nil]
|
|
64
|
+
#
|
|
56
65
|
# @!attribute [r] id
|
|
57
66
|
# Value of the `id` field in the Inttegro API payload.
|
|
58
67
|
#
|
|
@@ -112,6 +121,7 @@ module Inttegro
|
|
|
112
121
|
const :currency, String
|
|
113
122
|
const :custom_data, T.nilable(Inttegro::CustomData), default: nil
|
|
114
123
|
const :description, T.nilable(String), default: nil
|
|
124
|
+
const :fingerprint, T.nilable(String), default: nil
|
|
115
125
|
const :id, String
|
|
116
126
|
const :institution, T.nilable(Inttegro::Shared::FinancialInstitution), default: nil
|
|
117
127
|
const :label, T.nilable(String), default: nil
|
|
@@ -56,6 +56,15 @@ module Inttegro
|
|
|
56
56
|
# Optional in the API payload; omitted values default to `nil`. Wire name: `description`.
|
|
57
57
|
# @return [String, nil]
|
|
58
58
|
#
|
|
59
|
+
# @!attribute [r] fingerprint
|
|
60
|
+
# Application-scoped value for recognizing the same underlying financial account within the
|
|
61
|
+
# authenticated application. Matching nonempty fingerprints can be used to detect duplicate
|
|
62
|
+
# connections. Compare fingerprints only within the same application. Omitted when reliable
|
|
63
|
+
# fingerprint material is unavailable.
|
|
64
|
+
#
|
|
65
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `fingerprint`.
|
|
66
|
+
# @return [String, nil]
|
|
67
|
+
#
|
|
59
68
|
# @!attribute [r] id
|
|
60
69
|
# Value of the `id` field in the Inttegro API payload.
|
|
61
70
|
#
|
|
@@ -146,6 +155,7 @@ module Inttegro
|
|
|
146
155
|
const :currency, String
|
|
147
156
|
const :custom_data, T.nilable(Inttegro::CustomData), default: nil
|
|
148
157
|
const :description, T.nilable(String), default: nil
|
|
158
|
+
const :fingerprint, T.nilable(String), default: nil
|
|
149
159
|
const :id, String
|
|
150
160
|
const :institution, T.nilable(Inttegro::Shared::FinancialInstitution), default: nil
|
|
151
161
|
const :label, T.nilable(String), default: nil
|
|
@@ -57,6 +57,15 @@ module Inttegro
|
|
|
57
57
|
# Optional in the API payload; omitted values default to `nil`. Wire name: `description`.
|
|
58
58
|
# @return [String, nil]
|
|
59
59
|
#
|
|
60
|
+
# @!attribute [r] fingerprint
|
|
61
|
+
# Application-scoped value for recognizing the same underlying financial account within the
|
|
62
|
+
# authenticated application. Matching nonempty fingerprints can be used to detect duplicate
|
|
63
|
+
# connections. Compare fingerprints only within the same application. Omitted when reliable
|
|
64
|
+
# fingerprint material is unavailable.
|
|
65
|
+
#
|
|
66
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `fingerprint`.
|
|
67
|
+
# @return [String, nil]
|
|
68
|
+
#
|
|
60
69
|
# @!attribute [r] id
|
|
61
70
|
# Value of the `id` field in the Inttegro API payload.
|
|
62
71
|
#
|
|
@@ -147,6 +156,7 @@ module Inttegro
|
|
|
147
156
|
const :currency, String
|
|
148
157
|
const :custom_data, T.nilable(Inttegro::CustomData), default: nil
|
|
149
158
|
const :description, T.nilable(String), default: nil
|
|
159
|
+
const :fingerprint, T.nilable(String), default: nil
|
|
150
160
|
const :id, String
|
|
151
161
|
const :institution, T.nilable(Inttegro::Shared::FinancialInstitution), default: nil
|
|
152
162
|
const :label, T.nilable(String), default: nil
|
|
@@ -106,6 +106,7 @@ require_relative "../product/catalog_with_customer_selected_price"
|
|
|
106
106
|
require_relative "../price/price_params"
|
|
107
107
|
require_relative "../product/catalog_with_price_data"
|
|
108
108
|
require_relative "../product/catalog_with_price_reference"
|
|
109
|
+
require_relative "../checkout/amount_selection"
|
|
109
110
|
require_relative "../checkout/payment_address"
|
|
110
111
|
require_relative "../checkout/billing_details"
|
|
111
112
|
require_relative "../checkout/confirm_payment_request"
|
|
@@ -118,7 +119,9 @@ require_relative "../checkout/invoice_view_format_receipt"
|
|
|
118
119
|
require_relative "../checkout/invoice_view_format"
|
|
119
120
|
require_relative "../checkout/invoice_view_beneficiary"
|
|
120
121
|
require_relative "../checkout/invoice_view"
|
|
121
|
-
require_relative "../checkout/
|
|
122
|
+
require_relative "../checkout/order_reference_request"
|
|
123
|
+
require_relative "../checkout/lookup_request_variant2"
|
|
124
|
+
require_relative "../checkout/lookup_request"
|
|
122
125
|
require_relative "../checkout/order_checkout_settings"
|
|
123
126
|
require_relative "../product/inline_details"
|
|
124
127
|
require_relative "../product/details"
|
|
@@ -140,12 +143,17 @@ require_relative "../checkout/order_payment_next_action"
|
|
|
140
143
|
require_relative "../checkout/order_payment_latest_error"
|
|
141
144
|
require_relative "../checkout/order_payment"
|
|
142
145
|
require_relative "../checkout/order"
|
|
143
|
-
require_relative "../checkout/
|
|
146
|
+
require_relative "../checkout/lookup_response"
|
|
147
|
+
require_relative "../checkout/mobile_money_data"
|
|
144
148
|
require_relative "../checkout/order_response"
|
|
145
149
|
require_relative "../checkout/payment_method_data_billing_details"
|
|
146
150
|
require_relative "../checkout/pay_request_payment_method_data"
|
|
147
151
|
require_relative "../checkout/pay_request"
|
|
148
152
|
require_relative "../checkout/payment_method_data"
|
|
153
|
+
require_relative "../checkout/selected_amount"
|
|
154
|
+
require_relative "../checkout/select_amount_request_variant1"
|
|
155
|
+
require_relative "../checkout/select_amount_request_variant2"
|
|
156
|
+
require_relative "../checkout/select_amount_request"
|
|
149
157
|
require_relative "../chime/recipient_detail_phone"
|
|
150
158
|
require_relative "../chime/recipient_detail_email"
|
|
151
159
|
require_relative "../chime/recipient_detail"
|
|
@@ -284,6 +292,9 @@ require_relative "../order/create_new_customer"
|
|
|
284
292
|
require_relative "../product/shipment_input"
|
|
285
293
|
require_relative "../product/attribute"
|
|
286
294
|
require_relative "../product/create_request"
|
|
295
|
+
require_relative "../purchase_intent/create_presentation_buy_page_text"
|
|
296
|
+
require_relative "../purchase_intent/create_presentation_buy_page"
|
|
297
|
+
require_relative "../purchase_intent/create_presentation"
|
|
287
298
|
require_relative "../purchase_intent/create_request_product"
|
|
288
299
|
require_relative "../purchase_intent/create_request_price_original"
|
|
289
300
|
require_relative "../purchase_intent/create_request_price"
|
|
@@ -461,6 +472,9 @@ require_relative "../purchase_intent/page_request"
|
|
|
461
472
|
require_relative "../purchase_intent/merchant"
|
|
462
473
|
require_relative "../purchase_intent/original_price"
|
|
463
474
|
require_relative "../purchase_intent/price"
|
|
475
|
+
require_relative "../purchase_intent/presentation_buy_page_text"
|
|
476
|
+
require_relative "../purchase_intent/presentation_buy_page"
|
|
477
|
+
require_relative "../purchase_intent/presentation"
|
|
464
478
|
require_relative "../purchase_intent/product"
|
|
465
479
|
require_relative "../purchase_intent/quantity"
|
|
466
480
|
require_relative "../purchase_intent/usage_order"
|
|
@@ -575,6 +589,9 @@ require_relative "../price/update_request"
|
|
|
575
589
|
require_relative "../product/update_request"
|
|
576
590
|
require_relative "../product/updated"
|
|
577
591
|
require_relative "../product/update_response"
|
|
592
|
+
require_relative "../purchase_intent/update_presentation_buy_page_text"
|
|
593
|
+
require_relative "../purchase_intent/update_presentation_buy_page"
|
|
594
|
+
require_relative "../purchase_intent/update_presentation"
|
|
578
595
|
require_relative "../purchase_intent/update_request_quantity"
|
|
579
596
|
require_relative "../purchase_intent/update_request"
|
|
580
597
|
require_relative "../secret_key/update_request"
|
|
@@ -31,7 +31,8 @@ module Inttegro
|
|
|
31
31
|
"/customers/lookup" => Inttegro::Customer::Response,
|
|
32
32
|
"/customers/update" => Inttegro::Customer::Response,
|
|
33
33
|
"/customers/page" => Inttegro::Customer::PageResponse,
|
|
34
|
-
"/checkout/lookup" => Inttegro::Checkout::
|
|
34
|
+
"/checkout/lookup" => Inttegro::Checkout::LookupResponse,
|
|
35
|
+
"/checkout/select_amount" => Inttegro::Checkout::OrderResponse,
|
|
35
36
|
"/checkout/pay" => Inttegro::Checkout::OrderResponse,
|
|
36
37
|
"/checkout/confirm_payment" => Inttegro::Checkout::OrderResponse,
|
|
37
38
|
"/checkout/request_confirmation" => Inttegro::Checkout::OrderResponse,
|
|
@@ -158,7 +159,8 @@ module Inttegro
|
|
|
158
159
|
"/customers/lookup" => "Inttegro::Customer::LookupRequest",
|
|
159
160
|
"/customers/update" => "Inttegro::Customer::UpdateRequest",
|
|
160
161
|
"/customers/page" => "Inttegro::Customer::PageRequest",
|
|
161
|
-
"/checkout/lookup" => "Inttegro::Checkout::
|
|
162
|
+
"/checkout/lookup" => "Inttegro::Checkout::LookupRequest",
|
|
163
|
+
"/checkout/select_amount" => "Inttegro::Checkout::SelectAmountRequest",
|
|
162
164
|
"/checkout/pay" => "Inttegro::Checkout::PayRequest",
|
|
163
165
|
"/checkout/confirm_payment" => "Inttegro::Checkout::ConfirmPaymentRequest",
|
|
164
166
|
"/checkout/request_confirmation" => "Inttegro::Checkout::OrderReferenceRequest",
|
|
@@ -284,6 +286,7 @@ module Inttegro
|
|
|
284
286
|
"/customers/update" => "updateCustomer",
|
|
285
287
|
"/customers/page" => "pageCustomers",
|
|
286
288
|
"/checkout/lookup" => "lookupCheckoutOrder",
|
|
289
|
+
"/checkout/select_amount" => "selectCheckoutAmount",
|
|
287
290
|
"/checkout/pay" => "payCheckoutOrder",
|
|
288
291
|
"/checkout/confirm_payment" => "confirmCheckoutPayment",
|
|
289
292
|
"/checkout/request_confirmation" => "requestCheckoutConfirmation",
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
require_relative "create_presentation_buy_page"
|
|
8
|
+
|
|
9
|
+
module Inttegro
|
|
10
|
+
class PurchaseIntent
|
|
11
|
+
# Optional merchant-authored copy for the hosted Buy page. Omit it to use product-aware
|
|
12
|
+
# defaults.
|
|
13
|
+
#
|
|
14
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
15
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
16
|
+
# field names and serialized enum values.
|
|
17
|
+
#
|
|
18
|
+
# @api public
|
|
19
|
+
#
|
|
20
|
+
# @!attribute [r] buy_page
|
|
21
|
+
# Value of the `buy_page` field in the Inttegro API payload.
|
|
22
|
+
#
|
|
23
|
+
# Required in the API payload. Wire name: `buy_page`.
|
|
24
|
+
# @return [Inttegro::PurchaseIntent::CreatePresentationBuyPage]
|
|
25
|
+
class CreatePresentation < T::Struct
|
|
26
|
+
const :buy_page, Inttegro::PurchaseIntent::CreatePresentationBuyPage
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
require_relative "create_presentation_buy_page_text"
|
|
8
|
+
|
|
9
|
+
module Inttegro
|
|
10
|
+
class PurchaseIntent
|
|
11
|
+
# Typed representation of the create presentation buy page object in the Inttegro API.
|
|
12
|
+
#
|
|
13
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
14
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
15
|
+
# field names and serialized enum values.
|
|
16
|
+
#
|
|
17
|
+
# @api public
|
|
18
|
+
#
|
|
19
|
+
# @!attribute [r] text
|
|
20
|
+
# Value of the `text` field in the Inttegro API payload.
|
|
21
|
+
#
|
|
22
|
+
# Required in the API payload. Wire name: `text`.
|
|
23
|
+
# @return [Inttegro::PurchaseIntent::CreatePresentationBuyPageText]
|
|
24
|
+
class CreatePresentationBuyPage < T::Struct
|
|
25
|
+
const :text, Inttegro::PurchaseIntent::CreatePresentationBuyPageText
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
|
|
8
|
+
module Inttegro
|
|
9
|
+
class PurchaseIntent
|
|
10
|
+
# Typed representation of the create presentation buy page text object in the Inttegro API.
|
|
11
|
+
#
|
|
12
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
13
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
14
|
+
# field names and serialized enum values.
|
|
15
|
+
#
|
|
16
|
+
# @api public
|
|
17
|
+
#
|
|
18
|
+
# @!attribute [r] checkout_section_title
|
|
19
|
+
# Plain, single-line title shown above the Buy page form
|
|
20
|
+
#
|
|
21
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `checkout_section_title`.
|
|
22
|
+
# @return [String, nil]
|
|
23
|
+
#
|
|
24
|
+
# @!attribute [r] amount_field_label
|
|
25
|
+
# Plain, single-line label for a customer-selected amount field
|
|
26
|
+
#
|
|
27
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `amount_field_label`.
|
|
28
|
+
# @return [String, nil]
|
|
29
|
+
#
|
|
30
|
+
# @!attribute [r] primary_action_label
|
|
31
|
+
# Plain, single-line label used for the ready primary action. Validation and loading labels
|
|
32
|
+
# remain system-owned.
|
|
33
|
+
#
|
|
34
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `primary_action_label`.
|
|
35
|
+
# @return [String, nil]
|
|
36
|
+
class CreatePresentationBuyPageText < T::Struct
|
|
37
|
+
const :checkout_section_title, T.nilable(String), default: nil
|
|
38
|
+
const :amount_field_label, T.nilable(String), default: nil
|
|
39
|
+
const :primary_action_label, T.nilable(String), default: nil
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
5
|
|
|
6
6
|
require_relative "base"
|
|
7
|
+
require_relative "create_presentation"
|
|
7
8
|
require_relative "create_request_price"
|
|
8
9
|
require_relative "create_request_product"
|
|
9
10
|
require_relative "create_request_quantity"
|
|
@@ -62,6 +63,13 @@ module Inttegro
|
|
|
62
63
|
#
|
|
63
64
|
# Optional in the API payload; omitted values default to `nil`. Wire name: `expires_at`.
|
|
64
65
|
# @return [Time, nil]
|
|
66
|
+
#
|
|
67
|
+
# @!attribute [r] presentation
|
|
68
|
+
# Optional merchant-authored copy for the hosted Buy page. Omit it to use product-aware
|
|
69
|
+
# defaults.
|
|
70
|
+
#
|
|
71
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `presentation`.
|
|
72
|
+
# @return [Inttegro::PurchaseIntent::CreatePresentation, nil]
|
|
65
73
|
class CreateRequest < T::Struct
|
|
66
74
|
const :product, T.nilable(Inttegro::PurchaseIntent::CreateRequestProduct), default: nil
|
|
67
75
|
const :product_id, T.nilable(String), default: nil
|
|
@@ -70,6 +78,7 @@ module Inttegro
|
|
|
70
78
|
const :quantity, Inttegro::PurchaseIntent::CreateRequestQuantity
|
|
71
79
|
const :usage, T.nilable(Inttegro::PurchaseIntent::CreateRequestUsage), default: nil
|
|
72
80
|
const :expires_at, T.nilable(Time), default: nil
|
|
81
|
+
const :presentation, T.nilable(Inttegro::PurchaseIntent::CreatePresentation), default: nil
|
|
73
82
|
end
|
|
74
83
|
end
|
|
75
84
|
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
require_relative "presentation_buy_page"
|
|
8
|
+
|
|
9
|
+
module Inttegro
|
|
10
|
+
class PurchaseIntent
|
|
11
|
+
# Typed representation of the presentation object in the Inttegro API.
|
|
12
|
+
#
|
|
13
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
14
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
15
|
+
# field names and serialized enum values.
|
|
16
|
+
#
|
|
17
|
+
# @api public
|
|
18
|
+
#
|
|
19
|
+
# @!attribute [r] buy_page
|
|
20
|
+
# Value of the `buy_page` field in the Inttegro API payload.
|
|
21
|
+
#
|
|
22
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `buy_page`.
|
|
23
|
+
# @return [Inttegro::PurchaseIntent::PresentationBuyPage, nil]
|
|
24
|
+
class Presentation < T::Struct
|
|
25
|
+
const :buy_page, T.nilable(Inttegro::PurchaseIntent::PresentationBuyPage), default: nil
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
require_relative "presentation_buy_page_text"
|
|
8
|
+
|
|
9
|
+
module Inttegro
|
|
10
|
+
class PurchaseIntent
|
|
11
|
+
# Typed representation of the presentation buy page object in the Inttegro API.
|
|
12
|
+
#
|
|
13
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
14
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
15
|
+
# field names and serialized enum values.
|
|
16
|
+
#
|
|
17
|
+
# @api public
|
|
18
|
+
#
|
|
19
|
+
# @!attribute [r] text
|
|
20
|
+
# Value of the `text` field in the Inttegro API payload.
|
|
21
|
+
#
|
|
22
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `text`.
|
|
23
|
+
# @return [Inttegro::PurchaseIntent::PresentationBuyPageText, nil]
|
|
24
|
+
class PresentationBuyPage < T::Struct
|
|
25
|
+
const :text, T.nilable(Inttegro::PurchaseIntent::PresentationBuyPageText), default: nil
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
|
|
8
|
+
module Inttegro
|
|
9
|
+
class PurchaseIntent
|
|
10
|
+
# Typed representation of the presentation buy page text object in the Inttegro API.
|
|
11
|
+
#
|
|
12
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
13
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
14
|
+
# field names and serialized enum values.
|
|
15
|
+
#
|
|
16
|
+
# @api public
|
|
17
|
+
#
|
|
18
|
+
# @!attribute [r] checkout_section_title
|
|
19
|
+
# Value of the `checkout_section_title` field in the Inttegro API payload.
|
|
20
|
+
#
|
|
21
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `checkout_section_title`.
|
|
22
|
+
# @return [String, nil]
|
|
23
|
+
#
|
|
24
|
+
# @!attribute [r] amount_field_label
|
|
25
|
+
# Value of the `amount_field_label` field in the Inttegro API payload.
|
|
26
|
+
#
|
|
27
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `amount_field_label`.
|
|
28
|
+
# @return [String, nil]
|
|
29
|
+
#
|
|
30
|
+
# @!attribute [r] primary_action_label
|
|
31
|
+
# Value of the `primary_action_label` field in the Inttegro API payload.
|
|
32
|
+
#
|
|
33
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `primary_action_label`.
|
|
34
|
+
# @return [String, nil]
|
|
35
|
+
class PresentationBuyPageText < T::Struct
|
|
36
|
+
const :checkout_section_title, T.nilable(String), default: nil
|
|
37
|
+
const :amount_field_label, T.nilable(String), default: nil
|
|
38
|
+
const :primary_action_label, T.nilable(String), default: nil
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
require_relative "base"
|
|
7
7
|
require_relative "merchant"
|
|
8
|
+
require_relative "presentation"
|
|
8
9
|
require_relative "price"
|
|
9
10
|
require_relative "product"
|
|
10
11
|
require_relative "quantity"
|
|
@@ -65,6 +66,12 @@ module Inttegro
|
|
|
65
66
|
# Optional in the API payload; omitted values default to `nil`. Wire name: `price`.
|
|
66
67
|
# @return [Inttegro::PurchaseIntent::Price, nil]
|
|
67
68
|
#
|
|
69
|
+
# @!attribute [r] presentation
|
|
70
|
+
# Value of the `presentation` field in the Inttegro API payload.
|
|
71
|
+
#
|
|
72
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `presentation`.
|
|
73
|
+
# @return [Inttegro::PurchaseIntent::Presentation, nil]
|
|
74
|
+
#
|
|
68
75
|
# @!attribute [r] product
|
|
69
76
|
# Value of the `product` field in the Inttegro API payload.
|
|
70
77
|
#
|
|
@@ -110,6 +117,7 @@ module Inttegro
|
|
|
110
117
|
const :inactive_at, T.nilable(Time), default: nil
|
|
111
118
|
const :merchant, T.nilable(Inttegro::PurchaseIntent::Merchant), default: nil
|
|
112
119
|
const :price, T.nilable(Inttegro::PurchaseIntent::Price), default: nil
|
|
120
|
+
const :presentation, T.nilable(Inttegro::PurchaseIntent::Presentation), default: nil
|
|
113
121
|
const :product, T.nilable(Inttegro::PurchaseIntent::Product), default: nil
|
|
114
122
|
const :quantity, Inttegro::PurchaseIntent::Quantity
|
|
115
123
|
const :status, Inttegro::PurchaseIntent::Status
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
require_relative "update_presentation_buy_page"
|
|
8
|
+
|
|
9
|
+
module Inttegro
|
|
10
|
+
class PurchaseIntent
|
|
11
|
+
# Sparse Buy page copy update. Omit a field to preserve it, or send null to restore the
|
|
12
|
+
# product-aware default.
|
|
13
|
+
#
|
|
14
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
15
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
16
|
+
# field names and serialized enum values.
|
|
17
|
+
#
|
|
18
|
+
# @api public
|
|
19
|
+
#
|
|
20
|
+
# @!attribute [r] buy_page
|
|
21
|
+
# Value of the `buy_page` field in the Inttegro API payload.
|
|
22
|
+
#
|
|
23
|
+
# Required in the API payload. Wire name: `buy_page`.
|
|
24
|
+
# @return [Inttegro::PurchaseIntent::UpdatePresentationBuyPage]
|
|
25
|
+
class UpdatePresentation < T::Struct
|
|
26
|
+
const :buy_page, Inttegro::PurchaseIntent::UpdatePresentationBuyPage
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
require_relative "update_presentation_buy_page_text"
|
|
8
|
+
|
|
9
|
+
module Inttegro
|
|
10
|
+
class PurchaseIntent
|
|
11
|
+
# Typed representation of the update presentation buy page object in the Inttegro API.
|
|
12
|
+
#
|
|
13
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
14
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
15
|
+
# field names and serialized enum values.
|
|
16
|
+
#
|
|
17
|
+
# @api public
|
|
18
|
+
#
|
|
19
|
+
# @!attribute [r] text
|
|
20
|
+
# Value of the `text` field in the Inttegro API payload.
|
|
21
|
+
#
|
|
22
|
+
# Required in the API payload. Wire name: `text`.
|
|
23
|
+
# @return [Inttegro::PurchaseIntent::UpdatePresentationBuyPageText]
|
|
24
|
+
class UpdatePresentationBuyPage < T::Struct
|
|
25
|
+
const :text, Inttegro::PurchaseIntent::UpdatePresentationBuyPageText
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# typed: strict
|
|
3
|
+
|
|
4
|
+
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
|
+
|
|
6
|
+
require_relative "base"
|
|
7
|
+
|
|
8
|
+
module Inttegro
|
|
9
|
+
class PurchaseIntent
|
|
10
|
+
# Typed representation of the update presentation buy page text object in the Inttegro API.
|
|
11
|
+
#
|
|
12
|
+
# This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
|
|
13
|
+
# payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
|
|
14
|
+
# field names and serialized enum values.
|
|
15
|
+
#
|
|
16
|
+
# @api public
|
|
17
|
+
#
|
|
18
|
+
# @!attribute [r] checkout_section_title
|
|
19
|
+
# Value of the `checkout_section_title` field in the Inttegro API payload.
|
|
20
|
+
#
|
|
21
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `checkout_section_title`.
|
|
22
|
+
# @return [String, nil]
|
|
23
|
+
#
|
|
24
|
+
# @!attribute [r] amount_field_label
|
|
25
|
+
# Value of the `amount_field_label` field in the Inttegro API payload.
|
|
26
|
+
#
|
|
27
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `amount_field_label`.
|
|
28
|
+
# @return [String, nil]
|
|
29
|
+
#
|
|
30
|
+
# @!attribute [r] primary_action_label
|
|
31
|
+
# Value of the `primary_action_label` field in the Inttegro API payload.
|
|
32
|
+
#
|
|
33
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `primary_action_label`.
|
|
34
|
+
# @return [String, nil]
|
|
35
|
+
class UpdatePresentationBuyPageText < T::Struct
|
|
36
|
+
const :checkout_section_title, T.nilable(String), default: nil
|
|
37
|
+
const :amount_field_label, T.nilable(String), default: nil
|
|
38
|
+
const :primary_action_label, T.nilable(String), default: nil
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
5
5
|
|
|
6
6
|
require_relative "base"
|
|
7
|
+
require_relative "update_presentation"
|
|
7
8
|
require_relative "update_request_quantity"
|
|
8
9
|
|
|
9
10
|
module Inttegro
|
|
@@ -50,12 +51,20 @@ module Inttegro
|
|
|
50
51
|
#
|
|
51
52
|
# Optional in the API payload; omitted values default to `nil`. Wire name: `reactivate`.
|
|
52
53
|
# @return [Boolean, nil]
|
|
54
|
+
#
|
|
55
|
+
# @!attribute [r] presentation
|
|
56
|
+
# Sparse Buy page copy update. Omit a field to preserve it, or send null to restore the
|
|
57
|
+
# product-aware default.
|
|
58
|
+
#
|
|
59
|
+
# Optional in the API payload; omitted values default to `nil`. Wire name: `presentation`.
|
|
60
|
+
# @return [Inttegro::PurchaseIntent::UpdatePresentation, nil]
|
|
53
61
|
class UpdateRequest < T::Struct
|
|
54
62
|
const :expires_at, T.nilable(Time), default: nil
|
|
55
63
|
const :id, T.nilable(String), default: nil
|
|
56
64
|
const :quantity, T.nilable(Inttegro::PurchaseIntent::UpdateRequestQuantity), default: nil
|
|
57
65
|
const :purchase_intent_id, T.nilable(String), default: nil
|
|
58
66
|
const :reactivate, T.nilable(T::Boolean), default: nil
|
|
67
|
+
const :presentation, T.nilable(Inttegro::PurchaseIntent::UpdatePresentation), default: nil
|
|
59
68
|
end
|
|
60
69
|
end
|
|
61
70
|
end
|
data/lib/inttegro/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: inttegro
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 9.
|
|
4
|
+
version: 9.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Inttegro Engineering
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sorbet-runtime
|
|
@@ -148,6 +148,7 @@ files:
|
|
|
148
148
|
- lib/inttegro/broadcast/request.rb
|
|
149
149
|
- lib/inttegro/broadcast/request_request_meta.rb
|
|
150
150
|
- lib/inttegro/broadcast/response.rb
|
|
151
|
+
- lib/inttegro/checkout/amount_selection.rb
|
|
151
152
|
- lib/inttegro/checkout/base.rb
|
|
152
153
|
- lib/inttegro/checkout/billing_details.rb
|
|
153
154
|
- lib/inttegro/checkout/confirm_payment_request.rb
|
|
@@ -158,6 +159,9 @@ files:
|
|
|
158
159
|
- lib/inttegro/checkout/invoice_view_format_receipt.rb
|
|
159
160
|
- lib/inttegro/checkout/invoice_view_format_web.rb
|
|
160
161
|
- lib/inttegro/checkout/invoice_view_status.rb
|
|
162
|
+
- lib/inttegro/checkout/lookup_request.rb
|
|
163
|
+
- lib/inttegro/checkout/lookup_request_variant2.rb
|
|
164
|
+
- lib/inttegro/checkout/lookup_response.rb
|
|
161
165
|
- lib/inttegro/checkout/mobile_money_data.rb
|
|
162
166
|
- lib/inttegro/checkout/mobile_money_data_network.rb
|
|
163
167
|
- lib/inttegro/checkout/order.rb
|
|
@@ -183,6 +187,10 @@ files:
|
|
|
183
187
|
- lib/inttegro/checkout/payment_method_data.rb
|
|
184
188
|
- lib/inttegro/checkout/payment_method_data_billing_details.rb
|
|
185
189
|
- lib/inttegro/checkout/payment_method_data_type.rb
|
|
190
|
+
- lib/inttegro/checkout/select_amount_request.rb
|
|
191
|
+
- lib/inttegro/checkout/select_amount_request_variant1.rb
|
|
192
|
+
- lib/inttegro/checkout/select_amount_request_variant2.rb
|
|
193
|
+
- lib/inttegro/checkout/selected_amount.rb
|
|
186
194
|
- lib/inttegro/chime/base.rb
|
|
187
195
|
- lib/inttegro/chime/chime.rb
|
|
188
196
|
- lib/inttegro/chime/email_event.rb
|
|
@@ -633,6 +641,9 @@ files:
|
|
|
633
641
|
- lib/inttegro/product/updated.rb
|
|
634
642
|
- lib/inttegro/purchase_intent/base.rb
|
|
635
643
|
- lib/inttegro/purchase_intent/cancel_request.rb
|
|
644
|
+
- lib/inttegro/purchase_intent/create_presentation.rb
|
|
645
|
+
- lib/inttegro/purchase_intent/create_presentation_buy_page.rb
|
|
646
|
+
- lib/inttegro/purchase_intent/create_presentation_buy_page_text.rb
|
|
636
647
|
- lib/inttegro/purchase_intent/create_request.rb
|
|
637
648
|
- lib/inttegro/purchase_intent/create_request_price.rb
|
|
638
649
|
- lib/inttegro/purchase_intent/create_request_price_original.rb
|
|
@@ -645,6 +656,9 @@ files:
|
|
|
645
656
|
- lib/inttegro/purchase_intent/page.rb
|
|
646
657
|
- lib/inttegro/purchase_intent/page_request.rb
|
|
647
658
|
- lib/inttegro/purchase_intent/page_response.rb
|
|
659
|
+
- lib/inttegro/purchase_intent/presentation.rb
|
|
660
|
+
- lib/inttegro/purchase_intent/presentation_buy_page.rb
|
|
661
|
+
- lib/inttegro/purchase_intent/presentation_buy_page_text.rb
|
|
648
662
|
- lib/inttegro/purchase_intent/price.rb
|
|
649
663
|
- lib/inttegro/purchase_intent/product.rb
|
|
650
664
|
- lib/inttegro/purchase_intent/product_attributes_item.rb
|
|
@@ -653,6 +667,9 @@ files:
|
|
|
653
667
|
- lib/inttegro/purchase_intent/questions.rb
|
|
654
668
|
- lib/inttegro/purchase_intent/response.rb
|
|
655
669
|
- lib/inttegro/purchase_intent/status.rb
|
|
670
|
+
- lib/inttegro/purchase_intent/update_presentation.rb
|
|
671
|
+
- lib/inttegro/purchase_intent/update_presentation_buy_page.rb
|
|
672
|
+
- lib/inttegro/purchase_intent/update_presentation_buy_page_text.rb
|
|
656
673
|
- lib/inttegro/purchase_intent/update_request.rb
|
|
657
674
|
- lib/inttegro/purchase_intent/update_request_quantity.rb
|
|
658
675
|
- lib/inttegro/purchase_intent/usage.rb
|