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