Class: Peddler::APIs::Promotions20251201::LatestRevision
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Promotions20251201::LatestRevision
- Defined in:
- sig/peddler/apis/promotions_2025_12_01.rbs
Instance Attribute Summary collapse
-
#benefit ⇒ Peddler::APIs::Promotions20251201::PromotionBenefit?
readonly
Returns the value of attribute benefit.
-
#budget ⇒ Peddler::APIs::Promotions20251201::Budget?
readonly
Returns the value of attribute budget.
-
#coupon_type ⇒ String?
readonly
Returns the value of attribute coupon_type.
-
#created_date ⇒ Time
readonly
Returns the value of attribute created_date.
-
#customer_segments ⇒ Array[Peddler::APIs::Promotions20251201::CustomerSegment]?
readonly
Returns the value of attribute customer_segments.
-
#fee_snapshot ⇒ Peddler::APIs::Promotions20251201::PromotionFeeSnapshot?
readonly
Returns the value of attribute fee_snapshot.
-
#issues ⇒ Array[Peddler::APIs::Promotions20251201::PromotionIssue]?
readonly
Returns the value of attribute issues.
-
#last_updated_date ⇒ Time
readonly
Returns the value of attribute last_updated_date.
-
#marketplace_id ⇒ String
readonly
Returns the value of attribute marketplace_id.
-
#merchandising ⇒ Peddler::APIs::Promotions20251201::Merchandising?
readonly
Returns the value of attribute merchandising.
-
#promotion_id ⇒ String
readonly
Returns the value of attribute promotion_id.
-
#promotion_title ⇒ String
readonly
Returns the value of attribute promotion_title.
-
#promotion_type ⇒ String
readonly
Returns the value of attribute promotion_type.
-
#purchase_requirements ⇒ Peddler::APIs::Promotions20251201::PurchaseRequirements?
readonly
Returns the value of attribute purchase_requirements.
-
#revision_status ⇒ String
readonly
Returns the value of attribute revision_status.
-
#schedule ⇒ Peddler::APIs::Promotions20251201::Schedule
readonly
Returns the value of attribute schedule.
-
#selection ⇒ Peddler::APIs::Promotions20251201::Selection
readonly
Returns the value of attribute selection.
-
#tracking_id ⇒ String
readonly
Returns the value of attribute tracking_id.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :revision_status, :schedule, :selection, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :merchandising, :purchase_requirements ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Promotions20251201::LatestRevision
Instance Method Summary collapse
-
#members ⇒ [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :revision_status, :schedule, :selection, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :merchandising, :purchase_requirements ]
-
#to_h ⇒ { created_date: Time, last_updated_date: Time, marketplace_id: String, promotion_id: String, promotion_title: String, promotion_type: String, revision_status: String, schedule: Peddler::APIs::Promotions20251201::Schedule, selection: Peddler::APIs::Promotions20251201::Selection, tracking_id: String, benefit: Peddler::APIs::Promotions20251201::PromotionBenefit?, budget: Peddler::APIs::Promotions20251201::Budget?, coupon_type: String?, customer_segments: Array[Peddler::APIs::Promotions20251201::CustomerSegment]?, fee_snapshot: Peddler::APIs::Promotions20251201::PromotionFeeSnapshot?, issues: Array[Peddler::APIs::Promotions20251201::PromotionIssue]?, merchandising: Peddler::APIs::Promotions20251201::Merchandising?, purchase_requirements: Peddler::APIs::Promotions20251201::PurchaseRequirements? }
Instance Attribute Details
#benefit ⇒ Peddler::APIs::Promotions20251201::PromotionBenefit? (readonly)
Returns the value of attribute benefit.
329 330 331 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 329 def benefit @benefit end |
#budget ⇒ Peddler::APIs::Promotions20251201::Budget? (readonly)
Returns the value of attribute budget.
330 331 332 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 330 def budget @budget end |
#coupon_type ⇒ String? (readonly)
Returns the value of attribute coupon_type.
331 332 333 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 331 def coupon_type @coupon_type end |
#created_date ⇒ Time (readonly)
Returns the value of attribute created_date.
332 333 334 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 332 def created_date @created_date end |
#customer_segments ⇒ Array[Peddler::APIs::Promotions20251201::CustomerSegment]? (readonly)
Returns the value of attribute customer_segments.
333 334 335 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 333 def customer_segments @customer_segments end |
#fee_snapshot ⇒ Peddler::APIs::Promotions20251201::PromotionFeeSnapshot? (readonly)
Returns the value of attribute fee_snapshot.
334 335 336 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 334 def fee_snapshot @fee_snapshot end |
#issues ⇒ Array[Peddler::APIs::Promotions20251201::PromotionIssue]? (readonly)
Returns the value of attribute issues.
335 336 337 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 335 def issues @issues end |
#last_updated_date ⇒ Time (readonly)
Returns the value of attribute last_updated_date.
336 337 338 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 336 def last_updated_date @last_updated_date end |
#marketplace_id ⇒ String (readonly)
Returns the value of attribute marketplace_id.
337 338 339 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 337 def marketplace_id @marketplace_id end |
#merchandising ⇒ Peddler::APIs::Promotions20251201::Merchandising? (readonly)
Returns the value of attribute merchandising.
338 339 340 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 338 def merchandising @merchandising end |
#promotion_id ⇒ String (readonly)
Returns the value of attribute promotion_id.
339 340 341 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 339 def promotion_id @promotion_id end |
#promotion_title ⇒ String (readonly)
Returns the value of attribute promotion_title.
340 341 342 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 340 def promotion_title @promotion_title end |
#promotion_type ⇒ String (readonly)
Returns the value of attribute promotion_type.
341 342 343 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 341 def promotion_type @promotion_type end |
#purchase_requirements ⇒ Peddler::APIs::Promotions20251201::PurchaseRequirements? (readonly)
Returns the value of attribute purchase_requirements.
342 343 344 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 342 def purchase_requirements @purchase_requirements end |
#revision_status ⇒ String (readonly)
Returns the value of attribute revision_status.
343 344 345 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 343 def revision_status @revision_status end |
#schedule ⇒ Peddler::APIs::Promotions20251201::Schedule (readonly)
Returns the value of attribute schedule.
344 345 346 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 344 def schedule @schedule end |
#selection ⇒ Peddler::APIs::Promotions20251201::Selection (readonly)
Returns the value of attribute selection.
345 346 347 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 345 def selection @selection end |
#tracking_id ⇒ String (readonly)
Returns the value of attribute tracking_id.
346 347 348 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 346 def tracking_id @tracking_id end |
Class Method Details
.[](created_date:, last_updated_date:, marketplace_id:, promotion_id:, promotion_title:, promotion_type:, revision_status:, schedule:, selection:, tracking_id:, benefit:, budget:, coupon_type:, customer_segments:, fee_snapshot:, issues:, merchandising:, purchase_requirements:) ⇒ Peddler::APIs::Promotions20251201::LatestRevision .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) ⇒ Peddler::APIs::Promotions20251201::LatestRevision
322 323 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 322
def self.[]: (created_date: Time, last_updated_date: Time, marketplace_id: String, promotion_id: String, promotion_title: String, promotion_type: String, revision_status: String, schedule: Peddler::APIs::Promotions20251201::Schedule, selection: Peddler::APIs::Promotions20251201::Selection, tracking_id: String, ?benefit: Peddler::APIs::Promotions20251201::PromotionBenefit?, ?budget: Peddler::APIs::Promotions20251201::Budget?, ?coupon_type: String?, ?customer_segments: Array[Peddler::APIs::Promotions20251201::CustomerSegment]?, ?fee_snapshot: Peddler::APIs::Promotions20251201::PromotionFeeSnapshot?, ?issues: Array[Peddler::APIs::Promotions20251201::PromotionIssue]?, ?merchandising: Peddler::APIs::Promotions20251201::Merchandising?, ?purchase_requirements: Peddler::APIs::Promotions20251201::PurchaseRequirements?) -> Peddler::APIs::Promotions20251201::LatestRevision
| (Time, Time, String, String, String, String, String, Peddler::APIs::Promotions20251201::Schedule, Peddler::APIs::Promotions20251201::Selection, String, Peddler::APIs::Promotions20251201::PromotionBenefit?, Peddler::APIs::Promotions20251201::Budget?, String?, Array[Peddler::APIs::Promotions20251201::CustomerSegment]?, Peddler::APIs::Promotions20251201::PromotionFeeSnapshot?, Array[Peddler::APIs::Promotions20251201::PromotionIssue]?, Peddler::APIs::Promotions20251201::Merchandising?, Peddler::APIs::Promotions20251201::PurchaseRequirements?) -> Peddler::APIs::Promotions20251201::LatestRevision
|
.members ⇒ [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :revision_status, :schedule, :selection, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :merchandising, :purchase_requirements ]
325 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 325
def self.members: () -> [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :revision_status, :schedule, :selection, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :merchandising, :purchase_requirements ]
|
.new(created_date:, last_updated_date:, marketplace_id:, promotion_id:, promotion_title:, promotion_type:, revision_status:, schedule:, selection:, tracking_id:, benefit:, budget:, coupon_type:, customer_segments:, fee_snapshot:, issues:, merchandising:, purchase_requirements:) ⇒ Peddler::APIs::Promotions20251201::LatestRevision .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) ⇒ Peddler::APIs::Promotions20251201::LatestRevision
320 321 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 320
def self.new: (created_date: Time, last_updated_date: Time, marketplace_id: String, promotion_id: String, promotion_title: String, promotion_type: String, revision_status: String, schedule: Peddler::APIs::Promotions20251201::Schedule, selection: Peddler::APIs::Promotions20251201::Selection, tracking_id: String, ?benefit: Peddler::APIs::Promotions20251201::PromotionBenefit?, ?budget: Peddler::APIs::Promotions20251201::Budget?, ?coupon_type: String?, ?customer_segments: Array[Peddler::APIs::Promotions20251201::CustomerSegment]?, ?fee_snapshot: Peddler::APIs::Promotions20251201::PromotionFeeSnapshot?, ?issues: Array[Peddler::APIs::Promotions20251201::PromotionIssue]?, ?merchandising: Peddler::APIs::Promotions20251201::Merchandising?, ?purchase_requirements: Peddler::APIs::Promotions20251201::PurchaseRequirements?) -> Peddler::APIs::Promotions20251201::LatestRevision
| (Time, Time, String, String, String, String, String, Peddler::APIs::Promotions20251201::Schedule, Peddler::APIs::Promotions20251201::Selection, String, Peddler::APIs::Promotions20251201::PromotionBenefit?, Peddler::APIs::Promotions20251201::Budget?, String?, Array[Peddler::APIs::Promotions20251201::CustomerSegment]?, Peddler::APIs::Promotions20251201::PromotionFeeSnapshot?, Array[Peddler::APIs::Promotions20251201::PromotionIssue]?, Peddler::APIs::Promotions20251201::Merchandising?, Peddler::APIs::Promotions20251201::PurchaseRequirements?) -> Peddler::APIs::Promotions20251201::LatestRevision
|
.parse ⇒ Peddler::APIs::Promotions20251201::LatestRevision
327 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 327
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Promotions20251201::LatestRevision
|
Instance Method Details
#members ⇒ [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :revision_status, :schedule, :selection, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :merchandising, :purchase_requirements ]
348 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 348
def members: () -> [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :revision_status, :schedule, :selection, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :merchandising, :purchase_requirements ]
|
#to_h ⇒ { created_date: Time, last_updated_date: Time, marketplace_id: String, promotion_id: String, promotion_title: String, promotion_type: String, revision_status: String, schedule: Peddler::APIs::Promotions20251201::Schedule, selection: Peddler::APIs::Promotions20251201::Selection, tracking_id: String, benefit: Peddler::APIs::Promotions20251201::PromotionBenefit?, budget: Peddler::APIs::Promotions20251201::Budget?, coupon_type: String?, customer_segments: Array[Peddler::APIs::Promotions20251201::CustomerSegment]?, fee_snapshot: Peddler::APIs::Promotions20251201::PromotionFeeSnapshot?, issues: Array[Peddler::APIs::Promotions20251201::PromotionIssue]?, merchandising: Peddler::APIs::Promotions20251201::Merchandising?, purchase_requirements: Peddler::APIs::Promotions20251201::PurchaseRequirements? }
349 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 349
def to_h: () -> { created_date: Time, last_updated_date: Time, marketplace_id: String, promotion_id: String, promotion_title: String, promotion_type: String, revision_status: String, schedule: Peddler::APIs::Promotions20251201::Schedule, selection: Peddler::APIs::Promotions20251201::Selection, tracking_id: String, benefit: Peddler::APIs::Promotions20251201::PromotionBenefit?, budget: Peddler::APIs::Promotions20251201::Budget?, coupon_type: String?, customer_segments: Array[Peddler::APIs::Promotions20251201::CustomerSegment]?, fee_snapshot: Peddler::APIs::Promotions20251201::PromotionFeeSnapshot?, issues: Array[Peddler::APIs::Promotions20251201::PromotionIssue]?, merchandising: Peddler::APIs::Promotions20251201::Merchandising?, purchase_requirements: Peddler::APIs::Promotions20251201::PurchaseRequirements? }
|