Class: Moov::Models::Components::CardPaymentSettings
- Inherits:
-
Object
- Object
- Moov::Models::Components::CardPaymentSettings
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/cardpaymentsettings.rb
Overview
User provided settings to manage card payments. This data is only allowed on a business account.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(statement_descriptor: nil) ⇒ CardPaymentSettings
constructor
A new instance of CardPaymentSettings.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(statement_descriptor: nil) ⇒ CardPaymentSettings
Returns a new instance of CardPaymentSettings.
20 21 22 |
# File 'lib/moov/models/components/cardpaymentsettings.rb', line 20 def initialize(statement_descriptor: nil) @statement_descriptor = statement_descriptor end |
Instance Method Details
#==(other) ⇒ Object
25 26 27 28 29 |
# File 'lib/moov/models/components/cardpaymentsettings.rb', line 25 def ==(other) return false unless other.is_a? self.class return false unless @statement_descriptor == other.statement_descriptor true end |