Class: Peddler::APIs::ProductPricingV0::CompetitivePriceType
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricingV0::CompetitivePriceType
- Defined in:
- sig/peddler/apis/product_pricing_v0.rbs
Instance Attribute Summary collapse
-
#belongs_to_requester ⇒ Boolean?
readonly
Returns the value of attribute belongs_to_requester.
-
#competitive_price_id ⇒ String
readonly
Returns the value of attribute competitive_price_id.
-
#condition ⇒ String?
readonly
Returns the value of attribute condition.
-
#offer_type ⇒ String?
readonly
Returns the value of attribute offer_type.
-
#price ⇒ Peddler::APIs::ProductPricingV0::PriceType
readonly
Returns the value of attribute price.
-
#quantity_discount_type ⇒ String?
readonly
Returns the value of attribute quantity_discount_type.
-
#quantity_tier ⇒ Integer?
readonly
Returns the value of attribute quantity_tier.
-
#seller_id ⇒ String?
readonly
Returns the value of attribute seller_id.
-
#subcondition ⇒ String?
readonly
Returns the value of attribute subcondition.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :competitive_price_id, :price, :belongs_to_requester, :condition, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id, :subcondition ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricingV0::CompetitivePriceType
Instance Method Summary collapse
-
#belongs_to_requester? ⇒ Boolean
-
#members ⇒ [ :competitive_price_id, :price, :belongs_to_requester, :condition, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id, :subcondition ]
-
#to_h ⇒ { competitive_price_id: String, price: Peddler::APIs::ProductPricingV0::PriceType, belongs_to_requester: bool?, condition: String?, offer_type: String?, quantity_discount_type: String?, quantity_tier: Integer?, seller_id: String?, subcondition: String? }
Instance Attribute Details
#belongs_to_requester ⇒ Boolean? (readonly)
Returns the value of attribute belongs_to_requester.
125 126 127 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 125 def belongs_to_requester @belongs_to_requester end |
#competitive_price_id ⇒ String (readonly)
Returns the value of attribute competitive_price_id.
126 127 128 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 126 def competitive_price_id @competitive_price_id end |
#condition ⇒ String? (readonly)
Returns the value of attribute condition.
127 128 129 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 127 def condition @condition end |
#offer_type ⇒ String? (readonly)
Returns the value of attribute offer_type.
128 129 130 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 128 def offer_type @offer_type end |
#price ⇒ Peddler::APIs::ProductPricingV0::PriceType (readonly)
Returns the value of attribute price.
129 130 131 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 129 def price @price end |
#quantity_discount_type ⇒ String? (readonly)
Returns the value of attribute quantity_discount_type.
130 131 132 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 130 def quantity_discount_type @quantity_discount_type end |
#quantity_tier ⇒ Integer? (readonly)
Returns the value of attribute quantity_tier.
131 132 133 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 131 def quantity_tier @quantity_tier end |
#seller_id ⇒ String? (readonly)
Returns the value of attribute seller_id.
132 133 134 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 132 def seller_id @seller_id end |
#subcondition ⇒ String? (readonly)
Returns the value of attribute subcondition.
133 134 135 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 133 def subcondition @subcondition end |
Class Method Details
.[](competitive_price_id:, price:, belongs_to_requester:, condition:, offer_type:, quantity_discount_type:, quantity_tier:, seller_id:, subcondition:) ⇒ Peddler::APIs::ProductPricingV0::CompetitivePriceType .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::APIs::ProductPricingV0::CompetitivePriceType
118 119 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 118
def self.[]: (competitive_price_id: String, price: Peddler::APIs::ProductPricingV0::PriceType, ?belongs_to_requester: bool?, ?condition: String?, ?offer_type: String?, ?quantity_discount_type: String?, ?quantity_tier: Integer?, ?seller_id: String?, ?subcondition: String?) -> Peddler::APIs::ProductPricingV0::CompetitivePriceType
| (String, Peddler::APIs::ProductPricingV0::PriceType, bool?, String?, String?, String?, Integer?, String?, String?) -> Peddler::APIs::ProductPricingV0::CompetitivePriceType
|
.members ⇒ [ :competitive_price_id, :price, :belongs_to_requester, :condition, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id, :subcondition ]
121 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 121
def self.members: () -> [ :competitive_price_id, :price, :belongs_to_requester, :condition, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id, :subcondition ]
|
.new(competitive_price_id:, price:, belongs_to_requester:, condition:, offer_type:, quantity_discount_type:, quantity_tier:, seller_id:, subcondition:) ⇒ Peddler::APIs::ProductPricingV0::CompetitivePriceType .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::APIs::ProductPricingV0::CompetitivePriceType
116 117 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 116
def self.new: (competitive_price_id: String, price: Peddler::APIs::ProductPricingV0::PriceType, ?belongs_to_requester: bool?, ?condition: String?, ?offer_type: String?, ?quantity_discount_type: String?, ?quantity_tier: Integer?, ?seller_id: String?, ?subcondition: String?) -> Peddler::APIs::ProductPricingV0::CompetitivePriceType
| (String, Peddler::APIs::ProductPricingV0::PriceType, bool?, String?, String?, String?, Integer?, String?, String?) -> Peddler::APIs::ProductPricingV0::CompetitivePriceType
|
.parse ⇒ Peddler::APIs::ProductPricingV0::CompetitivePriceType
123 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 123
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricingV0::CompetitivePriceType
|
Instance Method Details
#belongs_to_requester? ⇒ Boolean
135 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 135
def belongs_to_requester?: () -> bool
|
#members ⇒ [ :competitive_price_id, :price, :belongs_to_requester, :condition, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id, :subcondition ]
136 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 136
def members: () -> [ :competitive_price_id, :price, :belongs_to_requester, :condition, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id, :subcondition ]
|
#to_h ⇒ { competitive_price_id: String, price: Peddler::APIs::ProductPricingV0::PriceType, belongs_to_requester: bool?, condition: String?, offer_type: String?, quantity_discount_type: String?, quantity_tier: Integer?, seller_id: String?, subcondition: String? }
137 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 137
def to_h: () -> { competitive_price_id: String, price: Peddler::APIs::ProductPricingV0::PriceType, belongs_to_requester: bool?, condition: String?, offer_type: String?, quantity_discount_type: String?, quantity_tier: Integer?, seller_id: String?, subcondition: String? }
|