Class: GustoEmbedded::Shared::AchTransaction
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::AchTransaction
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/ach_transaction.rb
Overview
Representation of an ACH transaction
Instance Method Summary collapse
-
#initialize(uuid: nil, amount: nil, company_uuid: nil, description: nil, error_code: nil, payment_date: nil, payment_direction: nil, payment_event_check_date: nil, payment_event_type: nil, payment_event_uuid: nil, payment_status: nil, recipient_type: nil, recipient_uuid: nil, transaction_type: nil) ⇒ AchTransaction
constructor
A new instance of AchTransaction.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(uuid: nil, amount: nil, company_uuid: nil, description: nil, error_code: nil, payment_date: nil, payment_direction: nil, payment_event_check_date: nil, payment_event_type: nil, payment_event_uuid: nil, payment_status: nil, recipient_type: nil, recipient_uuid: nil, transaction_type: nil) ⇒ AchTransaction
Returns a new instance of AchTransaction.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/gusto_embedded/models/shared/ach_transaction.rb', line 45 def initialize(uuid: nil, amount: nil, company_uuid: nil, description: nil, error_code: nil, payment_date: nil, payment_direction: nil, payment_event_check_date: nil, payment_event_type: nil, payment_event_uuid: nil, payment_status: nil, recipient_type: nil, recipient_uuid: nil, transaction_type: nil) @uuid = uuid @amount = amount @company_uuid = company_uuid @description = description @error_code = error_code @payment_date = payment_date @payment_direction = payment_direction @payment_event_check_date = payment_event_check_date @payment_event_type = payment_event_type @payment_event_uuid = payment_event_uuid @payment_status = payment_status @recipient_type = recipient_type @recipient_uuid = recipient_uuid @transaction_type = transaction_type end |