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
-
#billing_details ⇒ Inttegro::Order::UpdatePaymentMethodOwnerInput
readonly
Value of the
billing_detailsfield in the Inttegro API payload. -
#mobile_money ⇒ Inttegro::Order::UpdateMobileMoneyInput
readonly
Value of the
mobile_moneyfield in the Inttegro API payload. -
#type ⇒ Inttegro::Order::UpdateRequestPaymentMethodDataType
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#billing_details ⇒ Inttegro::Order::UpdatePaymentMethodOwnerInput (readonly)
Value of the billing_details field in the Inttegro API payload.
Required in the API payload. Wire name: billing_details.
40 41 42 43 44 |
# File 'lib/inttegro/order/update_request_payment_method_data.rb', line 40 class UpdateRequestPaymentMethodData < T::Struct const :type, Inttegro::Order::UpdateRequestPaymentMethodDataType const :mobile_money, Inttegro::Order::UpdateMobileMoneyInput const :billing_details, Inttegro::Order::UpdatePaymentMethodOwnerInput end |
#mobile_money ⇒ Inttegro::Order::UpdateMobileMoneyInput (readonly)
Value of the mobile_money field in the Inttegro API payload.
Required in the API payload. Wire name: mobile_money.
40 41 42 43 44 |
# File 'lib/inttegro/order/update_request_payment_method_data.rb', line 40 class UpdateRequestPaymentMethodData < T::Struct const :type, Inttegro::Order::UpdateRequestPaymentMethodDataType const :mobile_money, Inttegro::Order::UpdateMobileMoneyInput const :billing_details, Inttegro::Order::UpdatePaymentMethodOwnerInput end |
#type ⇒ Inttegro::Order::UpdateRequestPaymentMethodDataType (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
40 41 42 43 44 |
# File 'lib/inttegro/order/update_request_payment_method_data.rb', line 40 class UpdateRequestPaymentMethodData < T::Struct const :type, Inttegro::Order::UpdateRequestPaymentMethodDataType const :mobile_money, Inttegro::Order::UpdateMobileMoneyInput const :billing_details, Inttegro::Order::UpdatePaymentMethodOwnerInput end |