Class: OpenApiSDK::Models::Operations::ListPayoutsRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/open_api_sdk/models/operations/listpayouts_request.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(status: nil, partner_id: nil, tenant_id: nil, invoice_id: nil, page: nil, sort_by: Models::Operations::ListPayoutsQueryParamSortBy::AMOUNT, sort_order: Models::Operations::ListPayoutsQueryParamSortOrder::DESC, page_size: 100.0) ⇒ ListPayoutsRequest

Returns a new instance of ListPayoutsRequest.



33
34
35
36
37
38
39
40
41
42
# File 'lib/open_api_sdk/models/operations/listpayouts_request.rb', line 33

def initialize(status: nil, partner_id: nil, tenant_id: nil, invoice_id: nil, page: nil, sort_by: Models::Operations::ListPayoutsQueryParamSortBy::AMOUNT, sort_order: Models::Operations::ListPayoutsQueryParamSortOrder::DESC, page_size: 100.0)
  @status = status
  @partner_id = partner_id
  @tenant_id = tenant_id
  @invoice_id = invoice_id
  @page = page
  @sort_by = sort_by
  @sort_order = sort_order
  @page_size = page_size
end

Instance Method Details

#==(other) ⇒ Object



45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/open_api_sdk/models/operations/listpayouts_request.rb', line 45

def ==(other)
  return false unless other.is_a? self.class
  return false unless @status == other.status
  return false unless @partner_id == other.partner_id
  return false unless @tenant_id == other.tenant_id
  return false unless @invoice_id == other.invoice_id
  return false unless @page == other.page
  return false unless @sort_by == other.sort_by
  return false unless @sort_order == other.sort_order
  return false unless @page_size == other.page_size
  true
end