Class: Moov::Models::Operations::ListPaymentMethodsRequest
- Inherits:
-
Object
- Object
- Moov::Models::Operations::ListPaymentMethodsRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/operations/listpaymentmethods_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id:, source_id: nil, payment_method_type: nil) ⇒ ListPaymentMethodsRequest
constructor
A new instance of ListPaymentMethodsRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_id:, source_id: nil, payment_method_type: nil) ⇒ ListPaymentMethodsRequest
Returns a new instance of ListPaymentMethodsRequest.
26 27 28 29 30 |
# File 'lib/moov/models/operations/listpaymentmethods_request.rb', line 26 def initialize(account_id:, source_id: nil, payment_method_type: nil) @account_id = account_id @source_id = source_id @payment_method_type = payment_method_type end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 |
# File 'lib/moov/models/operations/listpaymentmethods_request.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @account_id == other.account_id return false unless @source_id == other.source_id return false unless @payment_method_type == other.payment_method_type true end |