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