Class: Peddler::APIs::ProductPricingV0::OfferType
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricingV0::OfferType
- Defined in:
- sig/peddler/apis/product_pricing_v0.rbs
Instance Attribute Summary collapse
-
#business_price ⇒ Peddler::Money?
readonly
Returns the value of attribute business_price.
-
#buying_price ⇒ Peddler::APIs::ProductPricingV0::PriceType
readonly
Returns the value of attribute buying_price.
-
#fulfillment_channel ⇒ String
readonly
Returns the value of attribute fulfillment_channel.
-
#item_condition ⇒ String
readonly
Returns the value of attribute item_condition.
-
#item_sub_condition ⇒ String
readonly
Returns the value of attribute item_sub_condition.
-
#offer_type ⇒ String?
readonly
Returns the value of attribute offer_type.
-
#quantity_discount_prices ⇒ Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]?
readonly
Returns the value of attribute quantity_discount_prices.
-
#regular_price ⇒ Peddler::Money
readonly
Returns the value of attribute regular_price.
-
#seller_sku ⇒ String
readonly
Returns the value of attribute seller_sku.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :buying_price, :fulfillment_channel, :item_condition, :item_sub_condition, :regular_price, :seller_sku, :business_price, :offer_type, :quantity_discount_prices ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricingV0::OfferType
Instance Method Summary collapse
-
#members ⇒ [ :buying_price, :fulfillment_channel, :item_condition, :item_sub_condition, :regular_price, :seller_sku, :business_price, :offer_type, :quantity_discount_prices ]
-
#to_h ⇒ { buying_price: Peddler::APIs::ProductPricingV0::PriceType, fulfillment_channel: String, item_condition: String, item_sub_condition: String, regular_price: Peddler::Money, seller_sku: String, business_price: Peddler::Money?, offer_type: String?, quantity_discount_prices: Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]? }
Instance Attribute Details
#business_price ⇒ Peddler::Money? (readonly)
Returns the value of attribute business_price.
660 661 662 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 660 def business_price @business_price end |
#buying_price ⇒ Peddler::APIs::ProductPricingV0::PriceType (readonly)
Returns the value of attribute buying_price.
661 662 663 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 661 def @buying_price end |
#fulfillment_channel ⇒ String (readonly)
Returns the value of attribute fulfillment_channel.
662 663 664 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 662 def fulfillment_channel @fulfillment_channel end |
#item_condition ⇒ String (readonly)
Returns the value of attribute item_condition.
663 664 665 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 663 def item_condition @item_condition end |
#item_sub_condition ⇒ String (readonly)
Returns the value of attribute item_sub_condition.
664 665 666 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 664 def item_sub_condition @item_sub_condition end |
#offer_type ⇒ String? (readonly)
Returns the value of attribute offer_type.
665 666 667 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 665 def offer_type @offer_type end |
#quantity_discount_prices ⇒ Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]? (readonly)
Returns the value of attribute quantity_discount_prices.
666 667 668 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 666 def quantity_discount_prices @quantity_discount_prices end |
#regular_price ⇒ Peddler::Money (readonly)
Returns the value of attribute regular_price.
667 668 669 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 667 def regular_price @regular_price end |
#seller_sku ⇒ String (readonly)
Returns the value of attribute seller_sku.
668 669 670 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 668 def seller_sku @seller_sku end |
Class Method Details
.[](buying_price:, fulfillment_channel:, item_condition:, item_sub_condition:, regular_price:, seller_sku:, business_price:, offer_type:, quantity_discount_prices:) ⇒ Peddler::APIs::ProductPricingV0::OfferType .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::APIs::ProductPricingV0::OfferType
653 654 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 653
def self.[]: (buying_price: Peddler::APIs::ProductPricingV0::PriceType, fulfillment_channel: String, item_condition: String, item_sub_condition: String, regular_price: Peddler::Money, seller_sku: String, ?business_price: Peddler::Money?, ?offer_type: String?, ?quantity_discount_prices: Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]?) -> Peddler::APIs::ProductPricingV0::OfferType
| (Peddler::APIs::ProductPricingV0::PriceType, String, String, String, Peddler::Money, String, Peddler::Money?, String?, Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]?) -> Peddler::APIs::ProductPricingV0::OfferType
|
.members ⇒ [ :buying_price, :fulfillment_channel, :item_condition, :item_sub_condition, :regular_price, :seller_sku, :business_price, :offer_type, :quantity_discount_prices ]
656 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 656
def self.members: () -> [ :buying_price, :fulfillment_channel, :item_condition, :item_sub_condition, :regular_price, :seller_sku, :business_price, :offer_type, :quantity_discount_prices ]
|
.new(buying_price:, fulfillment_channel:, item_condition:, item_sub_condition:, regular_price:, seller_sku:, business_price:, offer_type:, quantity_discount_prices:) ⇒ Peddler::APIs::ProductPricingV0::OfferType .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::APIs::ProductPricingV0::OfferType
651 652 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 651
def self.new: (buying_price: Peddler::APIs::ProductPricingV0::PriceType, fulfillment_channel: String, item_condition: String, item_sub_condition: String, regular_price: Peddler::Money, seller_sku: String, ?business_price: Peddler::Money?, ?offer_type: String?, ?quantity_discount_prices: Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]?) -> Peddler::APIs::ProductPricingV0::OfferType
| (Peddler::APIs::ProductPricingV0::PriceType, String, String, String, Peddler::Money, String, Peddler::Money?, String?, Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]?) -> Peddler::APIs::ProductPricingV0::OfferType
|
.parse ⇒ Peddler::APIs::ProductPricingV0::OfferType
658 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 658
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricingV0::OfferType
|
Instance Method Details
#members ⇒ [ :buying_price, :fulfillment_channel, :item_condition, :item_sub_condition, :regular_price, :seller_sku, :business_price, :offer_type, :quantity_discount_prices ]
670 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 670
def members: () -> [ :buying_price, :fulfillment_channel, :item_condition, :item_sub_condition, :regular_price, :seller_sku, :business_price, :offer_type, :quantity_discount_prices ]
|
#to_h ⇒ { buying_price: Peddler::APIs::ProductPricingV0::PriceType, fulfillment_channel: String, item_condition: String, item_sub_condition: String, regular_price: Peddler::Money, seller_sku: String, business_price: Peddler::Money?, offer_type: String?, quantity_discount_prices: Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]? }
671 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 671
def to_h: () -> { buying_price: Peddler::APIs::ProductPricingV0::PriceType, fulfillment_channel: String, item_condition: String, item_sub_condition: String, regular_price: Peddler::Money, seller_sku: String, business_price: Peddler::Money?, offer_type: String?, quantity_discount_prices: Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]? }
|