Class: CheckoutSdk::AgenticCommerce::DelegatedPaymentAllowance
- Inherits:
-
Object
- Object
- CheckoutSdk::AgenticCommerce::DelegatedPaymentAllowance
- Defined in:
- lib/checkout_sdk/agentic_commerce/delegated_payment_allowance.rb
Overview
Spend-limit allowance attached to a delegated payment.
Instance Attribute Summary collapse
- #checkout_session_id ⇒ String
- #currency ⇒ String
-
#expires_at ⇒ String
RFC 3339 timestamp.
-
#max_amount ⇒ Integer
Maximum amount in the minor currency unit.
- #merchant_id ⇒ String
-
#reason ⇒ String
E.g.
Instance Attribute Details
#checkout_session_id ⇒ String
19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/agentic_commerce/delegated_payment_allowance.rb', line 19 class DelegatedPaymentAllowance attr_accessor :reason, :max_amount, :currency, :checkout_session_id, :merchant_id, :expires_at end |
#currency ⇒ String
Returns Common::Currency.
19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/agentic_commerce/delegated_payment_allowance.rb', line 19 class DelegatedPaymentAllowance attr_accessor :reason, :max_amount, :currency, :checkout_session_id, :merchant_id, :expires_at end |
#expires_at ⇒ String
Returns RFC 3339 timestamp.
19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/agentic_commerce/delegated_payment_allowance.rb', line 19 class DelegatedPaymentAllowance attr_accessor :reason, :max_amount, :currency, :checkout_session_id, :merchant_id, :expires_at end |
#max_amount ⇒ Integer
Returns Maximum amount in the minor currency unit.
19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/agentic_commerce/delegated_payment_allowance.rb', line 19 class DelegatedPaymentAllowance attr_accessor :reason, :max_amount, :currency, :checkout_session_id, :merchant_id, :expires_at end |
#merchant_id ⇒ String
19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/agentic_commerce/delegated_payment_allowance.rb', line 19 class DelegatedPaymentAllowance attr_accessor :reason, :max_amount, :currency, :checkout_session_id, :merchant_id, :expires_at end |
#reason ⇒ String
Returns e.g. “purchase”.
19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/agentic_commerce/delegated_payment_allowance.rb', line 19 class DelegatedPaymentAllowance attr_accessor :reason, :max_amount, :currency, :checkout_session_id, :merchant_id, :expires_at end |