Class: Peddler::Notifications::FeePromotion::FeePromotionNotification

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_promotion_typeString (readonly)

Returns the value of attribute fee_promotion_type.

Returns:

  • (String)


86
87
88
# File 'sig/peddler/notifications/fee_promotion.rbs', line 86

def fee_promotion_type
  @fee_promotion_type
end

#fee_promotion_type_descriptionString (readonly)

Returns the value of attribute fee_promotion_type_description.

Returns:

  • (String)


87
88
89
# File 'sig/peddler/notifications/fee_promotion.rbs', line 87

def fee_promotion_type_description
  @fee_promotion_type_description
end

#identifiersArray[Peddler::Notifications::FeePromotion::Identifier] (readonly)

Returns the value of attribute identifiers.



88
89
90
# File 'sig/peddler/notifications/fee_promotion.rbs', line 88

def identifiers
  @identifiers
end

#marketplace_idString (readonly)

Returns the value of attribute marketplace_id.

Returns:

  • (String)


89
90
91
# File 'sig/peddler/notifications/fee_promotion.rbs', line 89

def marketplace_id
  @marketplace_id
end

#merchant_idString (readonly)

Returns the value of attribute merchant_id.

Returns:

  • (String)


90
91
92
# File 'sig/peddler/notifications/fee_promotion.rbs', line 90

def merchant_id
  @merchant_id
end

#promotion_active_time_rangePeddler::Notifications::FeePromotion::PromotionActiveTimeRange (readonly)

Returns the value of attribute promotion_active_time_range.



91
92
93
# File 'sig/peddler/notifications/fee_promotion.rbs', line 91

def promotion_active_time_range
  @promotion_active_time_range
end

#promotion_informationArray[Peddler::Notifications::FeePromotion::PromotionInformation] (readonly)

Returns the value of attribute promotion_information.



92
93
94
# File 'sig/peddler/notifications/fee_promotion.rbs', line 92

def promotion_information
  @promotion_information
end

Class Method Details

.[](fee_promotion_type:, fee_promotion_type_description:, identifiers:, marketplace_id:, merchant_id:, promotion_active_time_range:, promotion_information:) ⇒ Peddler::Notifications::FeePromotion::FeePromotionNotification .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::Notifications::FeePromotion::FeePromotionNotification

Overloads:



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

def self.[]: (fee_promotion_type: String, fee_promotion_type_description: String, identifiers: Array[Peddler::Notifications::FeePromotion::Identifier], marketplace_id: String, merchant_id: String, promotion_active_time_range: Peddler::Notifications::FeePromotion::PromotionActiveTimeRange, promotion_information: Array[Peddler::Notifications::FeePromotion::PromotionInformation]) -> Peddler::Notifications::FeePromotion::FeePromotionNotification
| (String, String, Array[Peddler::Notifications::FeePromotion::Identifier], String, String, Peddler::Notifications::FeePromotion::PromotionActiveTimeRange, Array[Peddler::Notifications::FeePromotion::PromotionInformation]) -> Peddler::Notifications::FeePromotion::FeePromotionNotification

.members[ :fee_promotion_type, :fee_promotion_type_description, :identifiers, :marketplace_id, :merchant_id, :promotion_active_time_range, :promotion_information ]

Returns:

  • ([ :fee_promotion_type, :fee_promotion_type_description, :identifiers, :marketplace_id, :merchant_id, :promotion_active_time_range, :promotion_information ])


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

def self.members: () -> [ :fee_promotion_type, :fee_promotion_type_description, :identifiers, :marketplace_id, :merchant_id, :promotion_active_time_range, :promotion_information ]

.new(fee_promotion_type:, fee_promotion_type_description:, identifiers:, marketplace_id:, merchant_id:, promotion_active_time_range:, promotion_information:) ⇒ Peddler::Notifications::FeePromotion::FeePromotionNotification .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::Notifications::FeePromotion::FeePromotionNotification

Overloads:



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

def self.new: (fee_promotion_type: String, fee_promotion_type_description: String, identifiers: Array[Peddler::Notifications::FeePromotion::Identifier], marketplace_id: String, merchant_id: String, promotion_active_time_range: Peddler::Notifications::FeePromotion::PromotionActiveTimeRange, promotion_information: Array[Peddler::Notifications::FeePromotion::PromotionInformation]) -> Peddler::Notifications::FeePromotion::FeePromotionNotification
| (String, String, Array[Peddler::Notifications::FeePromotion::Identifier], String, String, Peddler::Notifications::FeePromotion::PromotionActiveTimeRange, Array[Peddler::Notifications::FeePromotion::PromotionInformation]) -> Peddler::Notifications::FeePromotion::FeePromotionNotification

.parsePeddler::Notifications::FeePromotion::FeePromotionNotification

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :fee_promotion_type, :fee_promotion_type_description, :identifiers, :marketplace_id, :merchant_id, :promotion_active_time_range, :promotion_information ]

Returns:

  • ([ :fee_promotion_type, :fee_promotion_type_description, :identifiers, :marketplace_id, :merchant_id, :promotion_active_time_range, :promotion_information ])


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

def members: () -> [ :fee_promotion_type, :fee_promotion_type_description, :identifiers, :marketplace_id, :merchant_id, :promotion_active_time_range, :promotion_information ]

#to_h{ fee_promotion_type: String, fee_promotion_type_description: String, identifiers: Array[Peddler::Notifications::FeePromotion::Identifier], marketplace_id: String, merchant_id: String, promotion_active_time_range: Peddler::Notifications::FeePromotion::PromotionActiveTimeRange, promotion_information: Array[Peddler::Notifications::FeePromotion::PromotionInformation] }

Returns:



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

def to_h: () -> { fee_promotion_type: String, fee_promotion_type_description: String, identifiers: Array[Peddler::Notifications::FeePromotion::Identifier], marketplace_id: String, merchant_id: String, promotion_active_time_range: Peddler::Notifications::FeePromotion::PromotionActiveTimeRange, promotion_information: Array[Peddler::Notifications::FeePromotion::PromotionInformation] }