Class: Moov::Models::Operations::ListDisputesRequest
- Inherits:
-
Object
- Object
- Moov::Models::Operations::ListDisputesRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/operations/listdisputes_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id:, skip: nil, count: nil, start_date_time: nil, end_date_time: nil, respond_start_date_time: nil, respond_end_date_time: nil, status: nil, merchant_account_id: nil, cardholder_account_id: nil, dispute_i_ds: nil, transfer_i_ds: nil, order_by: nil, x_moov_version: 'v2024.01.00') ⇒ ListDisputesRequest
constructor
A new instance of ListDisputesRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_id:, skip: nil, count: nil, start_date_time: nil, end_date_time: nil, respond_start_date_time: nil, respond_end_date_time: nil, status: nil, merchant_account_id: nil, cardholder_account_id: nil, dispute_i_ds: nil, transfer_i_ds: nil, order_by: nil, x_moov_version: 'v2024.01.00') ⇒ ListDisputesRequest
Returns a new instance of ListDisputesRequest.
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/moov/models/operations/listdisputes_request.rb', line 54 def initialize(account_id:, skip: nil, count: nil, start_date_time: nil, end_date_time: nil, respond_start_date_time: nil, respond_end_date_time: nil, status: nil, merchant_account_id: nil, cardholder_account_id: nil, dispute_i_ds: nil, transfer_i_ds: nil, order_by: nil, x_moov_version: 'v2024.01.00') @account_id = account_id @skip = skip @count = count @start_date_time = start_date_time @end_date_time = end_date_time @respond_start_date_time = respond_start_date_time @respond_end_date_time = respond_end_date_time @status = status @merchant_account_id = merchant_account_id @cardholder_account_id = cardholder_account_id @dispute_i_ds = dispute_i_ds @transfer_i_ds = transfer_i_ds @order_by = order_by @x_moov_version = x_moov_version end |
Instance Method Details
#==(other) ⇒ Object
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/moov/models/operations/listdisputes_request.rb', line 72 def ==(other) return false unless other.is_a? self.class return false unless @account_id == other.account_id return false unless @skip == other.skip return false unless @count == other.count return false unless @start_date_time == other.start_date_time return false unless @end_date_time == other.end_date_time return false unless @respond_start_date_time == other.respond_start_date_time return false unless @respond_end_date_time == other.respond_end_date_time return false unless @status == other.status return false unless @merchant_account_id == other.merchant_account_id return false unless @cardholder_account_id == other.cardholder_account_id return false unless @dispute_i_ds == other.dispute_i_ds return false unless @transfer_i_ds == other.transfer_i_ds return false unless @order_by == other.order_by return false unless @x_moov_version == other.x_moov_version true end |