Class: K2ConnectRuby::K2Entity::K2FinancialEntities::Destination::MerchantMpesaWallet
- Inherits:
-
DestinationRequest
- Object
- DestinationRequest
- K2ConnectRuby::K2Entity::K2FinancialEntities::Destination::MerchantMpesaWallet
- Includes:
- ActiveModel::Validations
- Defined in:
- lib/k2-connect-ruby/k2_entity/k2_financial_entities/destination/merchant_mpesa_wallet.rb
Instance Attribute Summary collapse
-
#reference ⇒ Object
Returns the value of attribute reference.
Attributes inherited from DestinationRequest
#amount, #description, #favourite, #nickname, #type
Instance Method Summary collapse
Methods inherited from DestinationRequest
Constructor Details
This class inherits a constructor from K2ConnectRuby::K2Entity::K2FinancialEntities::Destination::DestinationRequest
Instance Attribute Details
#reference ⇒ Object
Returns the value of attribute reference.
12 13 14 |
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/destination/merchant_mpesa_wallet.rb', line 12 def reference @reference end |
Instance Method Details
#destination_payload ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/destination/merchant_mpesa_wallet.rb', line 16 def destination_payload { type: type, reference: reference, amount: amount, } end |