Class: Inttegro::Payment::MethodSnapshotMobileMoney
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Payment::MethodSnapshotMobileMoney
- Defined in:
- lib/inttegro/payment/method_snapshot_mobile_money.rb
Overview
Typed representation of the method snapshot mobile money object in the Inttegro API.
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
-
#account_number ⇒ String
readonly
Masked number in the form
****1234. -
#last4 ⇒ String
readonly
Value of the
last4field in the Inttegro API payload. -
#network ⇒ Inttegro::Shared::MobileMoneyNetwork
readonly
Value of the
networkfield in the Inttegro API payload.
Instance Attribute Details
#account_number ⇒ String (readonly)
Masked number in the form ****1234.
Required in the API payload. Wire name: account_number.
36 37 38 39 40 |
# File 'lib/inttegro/payment/method_snapshot_mobile_money.rb', line 36 class MethodSnapshotMobileMoney < T::Struct const :network, Inttegro::Shared::MobileMoneyNetwork const :account_number, String const :last4, String end |
#last4 ⇒ String (readonly)
Value of the last4 field in the Inttegro API payload.
Required in the API payload. Wire name: last4.
36 37 38 39 40 |
# File 'lib/inttegro/payment/method_snapshot_mobile_money.rb', line 36 class MethodSnapshotMobileMoney < T::Struct const :network, Inttegro::Shared::MobileMoneyNetwork const :account_number, String const :last4, String end |
#network ⇒ Inttegro::Shared::MobileMoneyNetwork (readonly)
Value of the network field in the Inttegro API payload.
Required in the API payload. Wire name: network.
36 37 38 39 40 |
# File 'lib/inttegro/payment/method_snapshot_mobile_money.rb', line 36 class MethodSnapshotMobileMoney < T::Struct const :network, Inttegro::Shared::MobileMoneyNetwork const :account_number, String const :last4, String end |