Class: OpenApiSDK::Models::Operations::ListCommissionsRequest
- Inherits:
-
Object
- Object
- OpenApiSDK::Models::Operations::ListCommissionsRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/open_api_sdk/models/operations/listcommissions_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(type: nil, customer_id: nil, payout_id: nil, partner_id: nil, tenant_id: nil, group_id: nil, invoice_id: nil, status: nil, start: nil, end_: nil, timezone: nil, ending_before: nil, starting_after: nil, page: nil, sort_by: Models::Operations::ListCommissionsQueryParamSortBy::CREATED_AT, sort_order: Models::Operations::ListCommissionsQueryParamSortOrder::DESC, interval: Models::Operations::ListCommissionsQueryParamInterval::ALL, page_size: 100.0) ⇒ ListCommissionsRequest
constructor
A new instance of ListCommissionsRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(type: nil, customer_id: nil, payout_id: nil, partner_id: nil, tenant_id: nil, group_id: nil, invoice_id: nil, status: nil, start: nil, end_: nil, timezone: nil, ending_before: nil, starting_after: nil, page: nil, sort_by: Models::Operations::ListCommissionsQueryParamSortBy::CREATED_AT, sort_order: Models::Operations::ListCommissionsQueryParamSortOrder::DESC, interval: Models::Operations::ListCommissionsQueryParamInterval::ALL, page_size: 100.0) ⇒ ListCommissionsRequest
Returns a new instance of ListCommissionsRequest.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/open_api_sdk/models/operations/listcommissions_request.rb', line 53 def initialize(type: nil, customer_id: nil, payout_id: nil, partner_id: nil, tenant_id: nil, group_id: nil, invoice_id: nil, status: nil, start: nil, end_: nil, timezone: nil, ending_before: nil, starting_after: nil, page: nil, sort_by: Models::Operations::ListCommissionsQueryParamSortBy::CREATED_AT, sort_order: Models::Operations::ListCommissionsQueryParamSortOrder::DESC, interval: Models::Operations::ListCommissionsQueryParamInterval::ALL, page_size: 100.0) @type = type @customer_id = customer_id @payout_id = payout_id @partner_id = partner_id @tenant_id = tenant_id @group_id = group_id @invoice_id = invoice_id @status = status @start = start @end_ = end_ @timezone = timezone @ending_before = ending_before @starting_after = starting_after @page = page @sort_by = sort_by @sort_order = sort_order @interval = interval @page_size = page_size end |
Instance Method Details
#==(other) ⇒ Object
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/open_api_sdk/models/operations/listcommissions_request.rb', line 75 def ==(other) return false unless other.is_a? self.class return false unless @type == other.type return false unless @customer_id == other.customer_id return false unless @payout_id == other.payout_id return false unless @partner_id == other.partner_id return false unless @tenant_id == other.tenant_id return false unless @group_id == other.group_id return false unless @invoice_id == other.invoice_id return false unless @status == other.status return false unless @start == other.start return false unless @end_ == other.end_ return false unless @timezone == other.timezone return false unless @ending_before == other.ending_before return false unless @starting_after == other.starting_after 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 @interval == other.interval return false unless @page_size == other.page_size true end |