Class: Peddler::Notifications::FeePromotion::PromotionInformation

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/fee_promotion.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fee_discount_monetary_amountPeddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount? (readonly)

Returns the value of attribute fee_discount_monetary_amount.



285
286
287
# File 'sig/peddler/notifications/fee_promotion.rbs', line 285

def fee_discount_monetary_amount
  @fee_discount_monetary_amount
end

#fee_discount_typeString (readonly)

Returns the value of attribute fee_discount_type.

Returns:

  • (String)


286
287
288
# File 'sig/peddler/notifications/fee_promotion.rbs', line 286

def fee_discount_type
  @fee_discount_type
end

#fee_discount_valueFloat? (readonly)

Returns the value of attribute fee_discount_value.

Returns:

  • (Float, nil)


287
288
289
# File 'sig/peddler/notifications/fee_promotion.rbs', line 287

def fee_discount_value
  @fee_discount_value
end

#fee_typeString (readonly)

Returns the value of attribute fee_type.

Returns:

  • (String)


288
289
290
# File 'sig/peddler/notifications/fee_promotion.rbs', line 288

def fee_type
  @fee_type
end

#fees_estimatePeddler::Notifications::FeePromotion::FeesEstimate? (readonly)

Returns the value of attribute fees_estimate.



289
290
291
# File 'sig/peddler/notifications/fee_promotion.rbs', line 289

def fees_estimate
  @fees_estimate
end

#price_thresholdPeddler::Notifications::FeePromotion::PriceThreshold? (readonly)

Returns the value of attribute price_threshold.



290
291
292
# File 'sig/peddler/notifications/fee_promotion.rbs', line 290

def price_threshold
  @price_threshold
end

Class Method Details

.[](fee_discount_type:, fee_type:, fee_discount_monetary_amount:, fee_discount_value:, fees_estimate:, price_threshold:) ⇒ Peddler::Notifications::FeePromotion::PromotionInformation .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::Notifications::FeePromotion::PromotionInformation

Overloads:



278
279
# File 'sig/peddler/notifications/fee_promotion.rbs', line 278

def self.[]: (fee_discount_type: String, fee_type: String, ?fee_discount_monetary_amount: Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, ?fee_discount_value: Float?, ?fees_estimate: Peddler::Notifications::FeePromotion::FeesEstimate?, ?price_threshold: Peddler::Notifications::FeePromotion::PriceThreshold?) -> Peddler::Notifications::FeePromotion::PromotionInformation
| (String, String, Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, Float?, Peddler::Notifications::FeePromotion::FeesEstimate?, Peddler::Notifications::FeePromotion::PriceThreshold?) -> Peddler::Notifications::FeePromotion::PromotionInformation

.members[ :fee_discount_type, :fee_type, :fee_discount_monetary_amount, :fee_discount_value, :fees_estimate, :price_threshold ]

Returns:

  • ([ :fee_discount_type, :fee_type, :fee_discount_monetary_amount, :fee_discount_value, :fees_estimate, :price_threshold ])


281
# File 'sig/peddler/notifications/fee_promotion.rbs', line 281

def self.members: () -> [ :fee_discount_type, :fee_type, :fee_discount_monetary_amount, :fee_discount_value, :fees_estimate, :price_threshold ]

.new(fee_discount_type:, fee_type:, fee_discount_monetary_amount:, fee_discount_value:, fees_estimate:, price_threshold:) ⇒ Peddler::Notifications::FeePromotion::PromotionInformation .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::Notifications::FeePromotion::PromotionInformation

Overloads:



276
277
# File 'sig/peddler/notifications/fee_promotion.rbs', line 276

def self.new: (fee_discount_type: String, fee_type: String, ?fee_discount_monetary_amount: Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, ?fee_discount_value: Float?, ?fees_estimate: Peddler::Notifications::FeePromotion::FeesEstimate?, ?price_threshold: Peddler::Notifications::FeePromotion::PriceThreshold?) -> Peddler::Notifications::FeePromotion::PromotionInformation
| (String, String, Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, Float?, Peddler::Notifications::FeePromotion::FeesEstimate?, Peddler::Notifications::FeePromotion::PriceThreshold?) -> Peddler::Notifications::FeePromotion::PromotionInformation

.parsePeddler::Notifications::FeePromotion::PromotionInformation

Parameters:

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

Returns:



283
# File 'sig/peddler/notifications/fee_promotion.rbs', line 283

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::FeePromotion::PromotionInformation

Instance Method Details

#members[ :fee_discount_type, :fee_type, :fee_discount_monetary_amount, :fee_discount_value, :fees_estimate, :price_threshold ]

Returns:

  • ([ :fee_discount_type, :fee_type, :fee_discount_monetary_amount, :fee_discount_value, :fees_estimate, :price_threshold ])


292
# File 'sig/peddler/notifications/fee_promotion.rbs', line 292

def members: () -> [ :fee_discount_type, :fee_type, :fee_discount_monetary_amount, :fee_discount_value, :fees_estimate, :price_threshold ]

#to_h{ fee_discount_type: String, fee_type: String, fee_discount_monetary_amount: Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, fee_discount_value: Float?, fees_estimate: Peddler::Notifications::FeePromotion::FeesEstimate?, price_threshold: Peddler::Notifications::FeePromotion::PriceThreshold? }

Returns:



293
# File 'sig/peddler/notifications/fee_promotion.rbs', line 293

def to_h: () -> { fee_discount_type: String, fee_type: String, fee_discount_monetary_amount: Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, fee_discount_value: Float?, fees_estimate: Peddler::Notifications::FeePromotion::FeesEstimate?, price_threshold: Peddler::Notifications::FeePromotion::PriceThreshold? }