Class: Moov::Models::Components::TransferProcessingDetails
- Inherits:
-
Object
- Object
- Moov::Models::Components::TransferProcessingDetails
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/transferprocessingdetails.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(card_payment: nil, push_to_card: nil, pull_from_card: nil, ach_debit: nil, ach_credit: nil, instant_bank_credit: nil) ⇒ TransferProcessingDetails
constructor
A new instance of TransferProcessingDetails.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(card_payment: nil, push_to_card: nil, pull_from_card: nil, ach_debit: nil, ach_credit: nil, instant_bank_credit: nil) ⇒ TransferProcessingDetails
Returns a new instance of TransferProcessingDetails.
29 30 31 32 33 34 35 36 |
# File 'lib/moov/models/components/transferprocessingdetails.rb', line 29 def initialize(card_payment: nil, push_to_card: nil, pull_from_card: nil, ach_debit: nil, ach_credit: nil, instant_bank_credit: nil) @card_payment = card_payment @push_to_card = push_to_card @pull_from_card = pull_from_card @ach_debit = ach_debit @ach_credit = ach_credit @instant_bank_credit = instant_bank_credit end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/moov/models/components/transferprocessingdetails.rb', line 39 def ==(other) return false unless other.is_a? self.class return false unless @card_payment == other.card_payment return false unless @push_to_card == other.push_to_card return false unless @pull_from_card == other.pull_from_card return false unless @ach_debit == other.ach_debit return false unless @ach_credit == other.ach_credit return false unless @instant_bank_credit == other.instant_bank_credit true end |