Class: Inttegro::Order::CreateExistingCustomerPaymentMethodData
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Order::CreateExistingCustomerPaymentMethodData
- Defined in:
- lib/inttegro/order/create_existing_customer_payment_method_data.rb
Overview
New payment instrument details to use instead of a saved payment method.
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::MobileMoneyInput
readonly
Mobile-money wallet details.
-
#type ⇒ Inttegro::Order::CreateExistingCustomerPaymentMethodDataType
readonly
Payment rail type (currently only mobile_money supported).
Instance Attribute Details
#mobile_money ⇒ Inttegro::PaymentMethod::MobileMoneyInput (readonly)
Mobile-money wallet details.
Required in the API payload. Wire name: mobile_money.
31 32 33 34 |
# File 'lib/inttegro/order/create_existing_customer_payment_method_data.rb', line 31 class CreateExistingCustomerPaymentMethodData < T::Struct const :type, Inttegro::Order::CreateExistingCustomerPaymentMethodDataType const :mobile_money, Inttegro::PaymentMethod::MobileMoneyInput end |
#type ⇒ Inttegro::Order::CreateExistingCustomerPaymentMethodDataType (readonly)
Payment rail type (currently only mobile_money supported)
Required in the API payload. Wire name: type.
31 32 33 34 |
# File 'lib/inttegro/order/create_existing_customer_payment_method_data.rb', line 31 class CreateExistingCustomerPaymentMethodData < T::Struct const :type, Inttegro::Order::CreateExistingCustomerPaymentMethodDataType const :mobile_money, Inttegro::PaymentMethod::MobileMoneyInput end |