Class: Peddler::APIs::Replenishment20221107::Promotion

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#amazon_funded_base_discountPeddler::APIs::Replenishment20221107::DiscountFunding? (readonly)

Returns the value of attribute amazon_funded_base_discount.



564
565
566
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 564

def amazon_funded_base_discount
  @amazon_funded_base_discount
end

#amazon_funded_tiered_discountPeddler::APIs::Replenishment20221107::DiscountFunding? (readonly)

Returns the value of attribute amazon_funded_tiered_discount.



565
566
567
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 565

def amazon_funded_tiered_discount
  @amazon_funded_tiered_discount
end

#selling_partner_funded_base_discountPeddler::APIs::Replenishment20221107::DiscountFunding? (readonly)

Returns the value of attribute selling_partner_funded_base_discount.



566
567
568
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 566

def selling_partner_funded_base_discount
  @selling_partner_funded_base_discount
end

#selling_partner_funded_tiered_discountPeddler::APIs::Replenishment20221107::DiscountFunding? (readonly)

Returns the value of attribute selling_partner_funded_tiered_discount.



567
568
569
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 567

def selling_partner_funded_tiered_discount
  @selling_partner_funded_tiered_discount
end

Class Method Details

.[](amazon_funded_base_discount:, amazon_funded_tiered_discount:, selling_partner_funded_base_discount:, selling_partner_funded_tiered_discount:) ⇒ Peddler::APIs::Replenishment20221107::Promotion .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::Replenishment20221107::Promotion

Overloads:



557
558
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 557

def self.[]: (?amazon_funded_base_discount: Peddler::APIs::Replenishment20221107::DiscountFunding?, ?amazon_funded_tiered_discount: Peddler::APIs::Replenishment20221107::DiscountFunding?, ?selling_partner_funded_base_discount: Peddler::APIs::Replenishment20221107::DiscountFunding?, ?selling_partner_funded_tiered_discount: Peddler::APIs::Replenishment20221107::DiscountFunding?) -> Peddler::APIs::Replenishment20221107::Promotion
| (Peddler::APIs::Replenishment20221107::DiscountFunding?, Peddler::APIs::Replenishment20221107::DiscountFunding?, Peddler::APIs::Replenishment20221107::DiscountFunding?, Peddler::APIs::Replenishment20221107::DiscountFunding?) -> Peddler::APIs::Replenishment20221107::Promotion

.members[ :amazon_funded_base_discount, :amazon_funded_tiered_discount, :selling_partner_funded_base_discount, :selling_partner_funded_tiered_discount ]

Returns:

  • ([ :amazon_funded_base_discount, :amazon_funded_tiered_discount, :selling_partner_funded_base_discount, :selling_partner_funded_tiered_discount ])


560
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 560

def self.members: () -> [ :amazon_funded_base_discount, :amazon_funded_tiered_discount, :selling_partner_funded_base_discount, :selling_partner_funded_tiered_discount ]

.new(amazon_funded_base_discount:, amazon_funded_tiered_discount:, selling_partner_funded_base_discount:, selling_partner_funded_tiered_discount:) ⇒ Peddler::APIs::Replenishment20221107::Promotion .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::Replenishment20221107::Promotion

Overloads:



555
556
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 555

def self.new: (?amazon_funded_base_discount: Peddler::APIs::Replenishment20221107::DiscountFunding?, ?amazon_funded_tiered_discount: Peddler::APIs::Replenishment20221107::DiscountFunding?, ?selling_partner_funded_base_discount: Peddler::APIs::Replenishment20221107::DiscountFunding?, ?selling_partner_funded_tiered_discount: Peddler::APIs::Replenishment20221107::DiscountFunding?) -> Peddler::APIs::Replenishment20221107::Promotion
| (Peddler::APIs::Replenishment20221107::DiscountFunding?, Peddler::APIs::Replenishment20221107::DiscountFunding?, Peddler::APIs::Replenishment20221107::DiscountFunding?, Peddler::APIs::Replenishment20221107::DiscountFunding?) -> Peddler::APIs::Replenishment20221107::Promotion

.parsePeddler::APIs::Replenishment20221107::Promotion

Parameters:

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

Returns:



562
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 562

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Replenishment20221107::Promotion

Instance Method Details

#members[ :amazon_funded_base_discount, :amazon_funded_tiered_discount, :selling_partner_funded_base_discount, :selling_partner_funded_tiered_discount ]

Returns:

  • ([ :amazon_funded_base_discount, :amazon_funded_tiered_discount, :selling_partner_funded_base_discount, :selling_partner_funded_tiered_discount ])


569
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 569

def members: () -> [ :amazon_funded_base_discount, :amazon_funded_tiered_discount, :selling_partner_funded_base_discount, :selling_partner_funded_tiered_discount ]

#to_h{ amazon_funded_base_discount: Peddler::APIs::Replenishment20221107::DiscountFunding?, amazon_funded_tiered_discount: Peddler::APIs::Replenishment20221107::DiscountFunding?, selling_partner_funded_base_discount: Peddler::APIs::Replenishment20221107::DiscountFunding?, selling_partner_funded_tiered_discount: Peddler::APIs::Replenishment20221107::DiscountFunding? }

Returns:



570
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 570

def to_h: () -> { amazon_funded_base_discount: Peddler::APIs::Replenishment20221107::DiscountFunding?, amazon_funded_tiered_discount: Peddler::APIs::Replenishment20221107::DiscountFunding?, selling_partner_funded_base_discount: Peddler::APIs::Replenishment20221107::DiscountFunding?, selling_partner_funded_tiered_discount: Peddler::APIs::Replenishment20221107::DiscountFunding? }