Class: Clerk::Models::Operations::GetBillingPriceListRequest
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::GetBillingPriceListRequest
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/getbillingpricelist_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(paginated: nil, plan_id: nil, limit: 10, offset: 0) ⇒ GetBillingPriceListRequest
constructor
A new instance of GetBillingPriceListRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(paginated: nil, plan_id: nil, limit: 10, offset: 0) ⇒ GetBillingPriceListRequest
30 31 32 33 34 35 |
# File 'lib/clerk/models/operations/getbillingpricelist_request.rb', line 30 def initialize(paginated: nil, plan_id: nil, limit: 10, offset: 0) @paginated = paginated @plan_id = plan_id @limit = limit @offset = offset end |
Instance Method Details
#==(other) ⇒ Object
38 39 40 41 42 43 44 45 |
# File 'lib/clerk/models/operations/getbillingpricelist_request.rb', line 38 def ==(other) return false unless other.is_a? self.class return false unless @paginated == other.paginated return false unless @plan_id == other.plan_id return false unless @limit == other.limit return false unless @offset == other.offset true end |