Class: Peddler::Notifications::FeePromotion::FeePromotionNotification
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::FeePromotion::FeePromotionNotification
- Defined in:
- sig/peddler/notifications/fee_promotion.rbs
Instance Attribute Summary collapse
-
#fee_promotion_type ⇒ String
readonly
Returns the value of attribute fee_promotion_type.
-
#fee_promotion_type_description ⇒ String
readonly
Returns the value of attribute fee_promotion_type_description.
-
#identifiers ⇒ Array[Peddler::Notifications::FeePromotion::Identifier]
readonly
Returns the value of attribute identifiers.
-
#marketplace_id ⇒ String
readonly
Returns the value of attribute marketplace_id.
-
#merchant_id ⇒ String
readonly
Returns the value of attribute merchant_id.
-
#promotion_active_time_range ⇒ Peddler::Notifications::FeePromotion::PromotionActiveTimeRange
readonly
Returns the value of attribute promotion_active_time_range.
-
#promotion_information ⇒ Array[Peddler::Notifications::FeePromotion::PromotionInformation]
readonly
Returns the value of attribute promotion_information.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :fee_promotion_type, :fee_promotion_type_description, :identifiers, :marketplace_id, :merchant_id, :promotion_active_time_range, :promotion_information ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Notifications::FeePromotion::FeePromotionNotification
Instance Method Summary collapse
-
#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] }
Instance Attribute Details
#fee_promotion_type ⇒ String (readonly)
Returns the value of attribute fee_promotion_type.
86 87 88 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 86 def fee_promotion_type @fee_promotion_type end |
#fee_promotion_type_description ⇒ String (readonly)
Returns the value of attribute fee_promotion_type_description.
87 88 89 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 87 def fee_promotion_type_description @fee_promotion_type_description end |
#identifiers ⇒ Array[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_id ⇒ String (readonly)
Returns the value of attribute marketplace_id.
89 90 91 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 89 def marketplace_id @marketplace_id end |
#merchant_id ⇒ String (readonly)
Returns the value of attribute merchant_id.
90 91 92 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 90 def merchant_id @merchant_id end |
#promotion_active_time_range ⇒ Peddler::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_information ⇒ Array[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
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 ]
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
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
|
.parse ⇒ Peddler::Notifications::FeePromotion::FeePromotionNotification
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 ]
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] }
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] }
|