Class: Moov::Models::Components::ACHPaymentDetails
- Inherits:
-
Object
- Object
- Moov::Models::Components::ACHPaymentDetails
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/achpaymentdetails.rb
Overview
Options for payment links used to collect an ACH payment.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(company_entry_description: nil, originating_company_name: nil) ⇒ ACHPaymentDetails
constructor
A new instance of ACHPaymentDetails.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(company_entry_description: nil, originating_company_name: nil) ⇒ ACHPaymentDetails
Returns a new instance of ACHPaymentDetails.
22 23 24 25 |
# File 'lib/moov/models/components/achpaymentdetails.rb', line 22 def initialize(company_entry_description: nil, originating_company_name: nil) @company_entry_description = company_entry_description @originating_company_name = originating_company_name end |
Instance Method Details
#==(other) ⇒ Object
28 29 30 31 32 33 |
# File 'lib/moov/models/components/achpaymentdetails.rb', line 28 def ==(other) return false unless other.is_a? self.class return false unless @company_entry_description == other.company_entry_description return false unless @originating_company_name == other.originating_company_name true end |