Class: Inttegro::PaymentMethod::ActivateResponse
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PaymentMethod::ActivateResponse
- Defined in:
- lib/inttegro/payment_method/activate_response.rb
Overview
Typed representation of the activate response object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#payment_method ⇒ Inttegro::PaymentMethod?
readonly
A tokenized payment instrument tied to a customer.
Instance Attribute Details
#payment_method ⇒ Inttegro::PaymentMethod? (readonly)
A tokenized payment instrument tied to a customer
Optional in the API payload; omitted values default to nil. Wire name: payment_method.
24 25 26 |
# File 'lib/inttegro/payment_method/activate_response.rb', line 24 class ActivateResponse < T::Struct const :payment_method, T.nilable(Inttegro::PaymentMethod), default: nil end |