Class: Moov::Models::Operations::ListInvoicesRequest
- Inherits:
-
Object
- Object
- Moov::Models::Operations::ListInvoicesRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/operations/listinvoices_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id:, x_moov_version: nil, skip: nil, count: nil, status: nil, customer_account_id: nil, created_start_date_time: nil, created_end_date_time: nil, due_start_date_time: nil, due_end_date_time: nil) ⇒ ListInvoicesRequest
constructor
A new instance of ListInvoicesRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_id:, x_moov_version: nil, skip: nil, count: nil, status: nil, customer_account_id: nil, created_start_date_time: nil, created_end_date_time: nil, due_start_date_time: nil, due_end_date_time: nil) ⇒ ListInvoicesRequest
Returns a new instance of ListInvoicesRequest.
46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/moov/models/operations/listinvoices_request.rb', line 46 def initialize(account_id:, x_moov_version: nil, skip: nil, count: nil, status: nil, customer_account_id: nil, created_start_date_time: nil, created_end_date_time: nil, due_start_date_time: nil, due_end_date_time: nil) @account_id = account_id @x_moov_version = x_moov_version @skip = skip @count = count @status = status @customer_account_id = customer_account_id @created_start_date_time = created_start_date_time @created_end_date_time = created_end_date_time @due_start_date_time = due_start_date_time @due_end_date_time = due_end_date_time end |
Instance Method Details
#==(other) ⇒ Object
60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'lib/moov/models/operations/listinvoices_request.rb', line 60 def ==(other) return false unless other.is_a? self.class return false unless @account_id == other.account_id return false unless @x_moov_version == other.x_moov_version return false unless @skip == other.skip return false unless @count == other.count return false unless @status == other.status return false unless @customer_account_id == other.customer_account_id return false unless @created_start_date_time == other.created_start_date_time return false unless @created_end_date_time == other.created_end_date_time return false unless @due_start_date_time == other.due_start_date_time return false unless @due_end_date_time == other.due_end_date_time true end |