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.



537
538
539
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 537

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.



538
539
540
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 538

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.



539
540
541
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 539

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.



540
541
542
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 540

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:



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

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 ])


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

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:



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

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:



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

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 ])


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

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:



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

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