Class: Peddler::Notifications::PricingHealth::Payload

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#issue_typeString (readonly)

Returns the value of attribute issue_type.

Returns:

  • (String)


132
133
134
# File 'sig/peddler/notifications/pricing_health.rbs', line 132

def issue_type
  @issue_type
end

#merchant_offerPeddler::Notifications::PricingHealth::MerchantOffer (readonly)

Returns the value of attribute merchant_offer.



133
134
135
# File 'sig/peddler/notifications/pricing_health.rbs', line 133

def merchant_offer
  @merchant_offer
end

#offer_change_triggerPeddler::Notifications::PricingHealth::OfferChangeTrigger (readonly)

Returns the value of attribute offer_change_trigger.



134
135
136
# File 'sig/peddler/notifications/pricing_health.rbs', line 134

def offer_change_trigger
  @offer_change_trigger
end

#seller_idString (readonly)

Returns the value of attribute seller_id.

Returns:

  • (String)


135
136
137
# File 'sig/peddler/notifications/pricing_health.rbs', line 135

def seller_id
  @seller_id
end

#summaryPeddler::Notifications::PricingHealth::Summary (readonly)

Returns the value of attribute summary.



136
137
138
# File 'sig/peddler/notifications/pricing_health.rbs', line 136

def summary
  @summary
end

Class Method Details

.[](issue_type:, merchant_offer:, offer_change_trigger:, seller_id:, summary:) ⇒ Peddler::Notifications::PricingHealth::Payload .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::Notifications::PricingHealth::Payload

Overloads:



125
126
# File 'sig/peddler/notifications/pricing_health.rbs', line 125

def self.[]: (issue_type: String, merchant_offer: Peddler::Notifications::PricingHealth::MerchantOffer, offer_change_trigger: Peddler::Notifications::PricingHealth::OfferChangeTrigger, seller_id: String, summary: Peddler::Notifications::PricingHealth::Summary) -> Peddler::Notifications::PricingHealth::Payload
| (String, Peddler::Notifications::PricingHealth::MerchantOffer, Peddler::Notifications::PricingHealth::OfferChangeTrigger, String, Peddler::Notifications::PricingHealth::Summary) -> Peddler::Notifications::PricingHealth::Payload

.members[ :issue_type, :merchant_offer, :offer_change_trigger, :seller_id, :summary ]

Returns:

  • ([ :issue_type, :merchant_offer, :offer_change_trigger, :seller_id, :summary ])


128
# File 'sig/peddler/notifications/pricing_health.rbs', line 128

def self.members: () -> [ :issue_type, :merchant_offer, :offer_change_trigger, :seller_id, :summary ]

.new(issue_type:, merchant_offer:, offer_change_trigger:, seller_id:, summary:) ⇒ Peddler::Notifications::PricingHealth::Payload .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::Notifications::PricingHealth::Payload

Overloads:



123
124
# File 'sig/peddler/notifications/pricing_health.rbs', line 123

def self.new: (issue_type: String, merchant_offer: Peddler::Notifications::PricingHealth::MerchantOffer, offer_change_trigger: Peddler::Notifications::PricingHealth::OfferChangeTrigger, seller_id: String, summary: Peddler::Notifications::PricingHealth::Summary) -> Peddler::Notifications::PricingHealth::Payload
| (String, Peddler::Notifications::PricingHealth::MerchantOffer, Peddler::Notifications::PricingHealth::OfferChangeTrigger, String, Peddler::Notifications::PricingHealth::Summary) -> Peddler::Notifications::PricingHealth::Payload

.parsePeddler::Notifications::PricingHealth::Payload

Parameters:

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

Returns:



130
# File 'sig/peddler/notifications/pricing_health.rbs', line 130

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

Instance Method Details

#members[ :issue_type, :merchant_offer, :offer_change_trigger, :seller_id, :summary ]

Returns:

  • ([ :issue_type, :merchant_offer, :offer_change_trigger, :seller_id, :summary ])


138
# File 'sig/peddler/notifications/pricing_health.rbs', line 138

def members: () -> [ :issue_type, :merchant_offer, :offer_change_trigger, :seller_id, :summary ]

#to_h{ issue_type: String, merchant_offer: Peddler::Notifications::PricingHealth::MerchantOffer, offer_change_trigger: Peddler::Notifications::PricingHealth::OfferChangeTrigger, seller_id: String, summary: Peddler::Notifications::PricingHealth::Summary }

Returns:



139
# File 'sig/peddler/notifications/pricing_health.rbs', line 139

def to_h: () -> { issue_type: String, merchant_offer: Peddler::Notifications::PricingHealth::MerchantOffer, offer_change_trigger: Peddler::Notifications::PricingHealth::OfferChangeTrigger, seller_id: String, summary: Peddler::Notifications::PricingHealth::Summary }