Class: Inttegro::Order::UpdateRequestPaymentMethodData
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Order::UpdateRequestPaymentMethodData
- Defined in:
- lib/inttegro/order/update_request_payment_method_data.rb
Overview
New payment method details to tokenize and attach to the order. Currently only
mobile_money is supported for order updates. When using inline mobile money details,
include billing_details.name and billing_details.address.country.
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
-
#mobile_money ⇒ Inttegro::PaymentMethod::DataMobileMoney?
readonly
Mobile money wallet details (required when type is mobile_money).
-
#type ⇒ Inttegro::Order::UpdateRequestPaymentMethodDataType
readonly
Payment rail type (currently only mobile_money supported).
Instance Attribute Details
#mobile_money ⇒ Inttegro::PaymentMethod::DataMobileMoney? (readonly)
Mobile money wallet details (required when type is mobile_money)
Optional in the API payload; omitted values default to nil. Wire name: mobile_money.
33 34 35 36 |
# File 'lib/inttegro/order/update_request_payment_method_data.rb', line 33 class UpdateRequestPaymentMethodData < T::Struct const :type, Inttegro::Order::UpdateRequestPaymentMethodDataType const :mobile_money, T.nilable(Inttegro::PaymentMethod::DataMobileMoney), default: nil end |
#type ⇒ Inttegro::Order::UpdateRequestPaymentMethodDataType (readonly)
Payment rail type (currently only mobile_money supported)
Required in the API payload. Wire name: type.
33 34 35 36 |
# File 'lib/inttegro/order/update_request_payment_method_data.rb', line 33 class UpdateRequestPaymentMethodData < T::Struct const :type, Inttegro::Order::UpdateRequestPaymentMethodDataType const :mobile_money, T.nilable(Inttegro::PaymentMethod::DataMobileMoney), default: nil end |