Class: Peddler::APIs::ProductPricingV0::OfferType

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/product_pricing_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#business_pricePeddler::Money? (readonly)

Returns the value of attribute business_price.

Returns:



660
661
662
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 660

def business_price
  @business_price
end

#buying_pricePeddler::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
  @buying_price
end

#fulfillment_channelString (readonly)

Returns the value of attribute fulfillment_channel.

Returns:

  • (String)


662
663
664
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 662

def fulfillment_channel
  @fulfillment_channel
end

#item_conditionString (readonly)

Returns the value of attribute item_condition.

Returns:

  • (String)


663
664
665
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 663

def item_condition
  @item_condition
end

#item_sub_conditionString (readonly)

Returns the value of attribute item_sub_condition.

Returns:

  • (String)


664
665
666
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 664

def item_sub_condition
  @item_sub_condition
end

#offer_typeString? (readonly)

Returns the value of attribute offer_type.

Returns:

  • (String, nil)


665
666
667
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 665

def offer_type
  @offer_type
end

#quantity_discount_pricesArray[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_pricePeddler::Money (readonly)

Returns the value of attribute regular_price.

Returns:



667
668
669
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 667

def regular_price
  @regular_price
end

#seller_skuString (readonly)

Returns the value of attribute seller_sku.

Returns:

  • (String)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::ProductPricingV0::OfferType

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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]? }

Returns:



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]? }