Class: Inttegro::Order::UpdatePaymentMethodData

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/order/update_payment_method_data.rb

Overview

New mobile-money payment method and required owner details for an order update.

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

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.



38
39
40
41
42
# File 'lib/inttegro/order/update_payment_method_data.rb', line 38

class UpdatePaymentMethodData < T::Struct
  const :type, Inttegro::Order::UpdatePaymentMethodDataType
  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.



38
39
40
41
42
# File 'lib/inttegro/order/update_payment_method_data.rb', line 38

class UpdatePaymentMethodData < T::Struct
  const :type, Inttegro::Order::UpdatePaymentMethodDataType
  const :mobile_money, Inttegro::Order::UpdateMobileMoneyInput
  const :billing_details, Inttegro::Order::UpdatePaymentMethodOwnerInput
end

#type ⇒ Inttegro::Order::UpdatePaymentMethodDataType (readonly)

Value of the type field in the Inttegro API payload.

Required in the API payload. Wire name: type.



38
39
40
41
42
# File 'lib/inttegro/order/update_payment_method_data.rb', line 38

class UpdatePaymentMethodData < T::Struct
  const :type, Inttegro::Order::UpdatePaymentMethodDataType
  const :mobile_money, Inttegro::Order::UpdateMobileMoneyInput
  const :billing_details, Inttegro::Order::UpdatePaymentMethodOwnerInput
end