Class: Believe::Models::TicketSaleListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Believe::Models::TicketSaleListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/believe/models/ticket_sale_list_params.rb
Overview
Instance Attribute Summary collapse
-
#coupon_code ⇒ String?
Filter by coupon code (use ‘none’ for sales without coupons).
-
#currency ⇒ String?
Filter by currency (GBP, USD, EUR).
-
#limit ⇒ Integer?
Maximum number of items to return (max: 100).
-
#match_id ⇒ String?
Filter by match ID.
-
#purchase_method ⇒ Symbol, ...
Filter by purchase method.
-
#skip ⇒ Integer?
Number of items to skip (offset).
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(coupon_code: nil, currency: nil, limit: nil, match_id: nil, purchase_method: nil, skip: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/believe/models/ticket_sale_list_params.rb', line 46
|
Instance Attribute Details
#coupon_code ⇒ String?
Filter by coupon code (use ‘none’ for sales without coupons)
14 |
# File 'lib/believe/models/ticket_sale_list_params.rb', line 14 optional :coupon_code, String, nil?: true |
#currency ⇒ String?
Filter by currency (GBP, USD, EUR)
20 |
# File 'lib/believe/models/ticket_sale_list_params.rb', line 20 optional :currency, String, nil?: true |
#limit ⇒ Integer?
Maximum number of items to return (max: 100)
26 |
# File 'lib/believe/models/ticket_sale_list_params.rb', line 26 optional :limit, Integer |
#match_id ⇒ String?
Filter by match ID
32 |
# File 'lib/believe/models/ticket_sale_list_params.rb', line 32 optional :match_id, String, nil?: true |
#purchase_method ⇒ Symbol, ...
Filter by purchase method
38 |
# File 'lib/believe/models/ticket_sale_list_params.rb', line 38 optional :purchase_method, enum: -> { ::Believe::PurchaseMethod }, nil?: true |
#skip ⇒ Integer?
Number of items to skip (offset)
44 |
# File 'lib/believe/models/ticket_sale_list_params.rb', line 44 optional :skip, Integer |