Class: Peddler::Notifications::FeePromotion::PromotionActiveTimeRange

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

#effective_from_dateString (readonly)

Returns the value of attribute effective_from_date.

Returns:

  • (String)


268
269
270
# File 'sig/peddler/notifications/fee_promotion.rbs', line 268

def effective_from_date
  @effective_from_date
end

#effective_through_dateString (readonly)

Returns the value of attribute effective_through_date.

Returns:

  • (String)


269
270
271
# File 'sig/peddler/notifications/fee_promotion.rbs', line 269

def effective_through_date
  @effective_through_date
end

Class Method Details

.[](effective_from_date:, effective_through_date:) ⇒ Peddler::Notifications::FeePromotion::PromotionActiveTimeRange .[](arg0, arg1) ⇒ Peddler::Notifications::FeePromotion::PromotionActiveTimeRange

Overloads:



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

def self.[]: (effective_from_date: String, effective_through_date: String) -> Peddler::Notifications::FeePromotion::PromotionActiveTimeRange
| (String, String) -> Peddler::Notifications::FeePromotion::PromotionActiveTimeRange

.members[ :effective_from_date, :effective_through_date ]

Returns:

  • ([ :effective_from_date, :effective_through_date ])


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

def self.members: () -> [ :effective_from_date, :effective_through_date ]

.new(effective_from_date:, effective_through_date:) ⇒ Peddler::Notifications::FeePromotion::PromotionActiveTimeRange .new(arg0, arg1) ⇒ Peddler::Notifications::FeePromotion::PromotionActiveTimeRange

Overloads:



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

def self.new: (effective_from_date: String, effective_through_date: String) -> Peddler::Notifications::FeePromotion::PromotionActiveTimeRange
| (String, String) -> Peddler::Notifications::FeePromotion::PromotionActiveTimeRange

.parsePeddler::Notifications::FeePromotion::PromotionActiveTimeRange

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :effective_from_date, :effective_through_date ]

Returns:

  • ([ :effective_from_date, :effective_through_date ])


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

def members: () -> [ :effective_from_date, :effective_through_date ]

#to_h{ effective_from_date: String, effective_through_date: String }

Returns:

  • ({ effective_from_date: String, effective_through_date: String })


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

def to_h: () -> { effective_from_date: String, effective_through_date: String }