Class: Inttegro::PaymentMethod::DataMobileMoney

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/payment_method/data_mobile_money.rb

Overview

Mobile money wallet details (required when type is mobile_money)

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

#account_number ⇒ String (readonly)

Mobile money account number (international or local format)

Required in the API payload. Wire name: account_number.

Returns:

  • (String)


30
31
32
33
# File 'lib/inttegro/payment_method/data_mobile_money.rb', line 30

class DataMobileMoney < T::Struct
  const :network, Inttegro::Shared::MobileMoneyNetwork
  const :account_number, String
end

#network ⇒ Inttegro::Shared::MobileMoneyNetwork (readonly)

Mobile money network provider

Required in the API payload. Wire name: network.



30
31
32
33
# File 'lib/inttegro/payment_method/data_mobile_money.rb', line 30

class DataMobileMoney < T::Struct
  const :network, Inttegro::Shared::MobileMoneyNetwork
  const :account_number, String
end