Class: Peddler::APIs::Promotions20251201::PromotionSummary
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Promotions20251201::PromotionSummary
- 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.
-
#latest_revision ⇒ Peddler::APIs::Promotions20251201::LatestRevision?
readonly
Returns the value of attribute latest_revision.
-
#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.
-
#schedule ⇒ Peddler::APIs::Promotions20251201::Schedule
readonly
Returns the value of attribute schedule.
-
#selection ⇒ Peddler::APIs::Promotions20251201::Selection
readonly
Returns the value of attribute selection.
-
#status ⇒ String
readonly
Returns the value of attribute status.
-
#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, :schedule, :selection, :status, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :latest_revision, :merchandising, :purchase_requirements ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Promotions20251201::PromotionSummary
Instance Method Summary collapse
-
#members ⇒ [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :schedule, :selection, :status, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :latest_revision, :merchandising, :purchase_requirements ]
-
#to_h ⇒ { created_date: Time, last_updated_date: Time, marketplace_id: String, promotion_id: String, promotion_title: String, promotion_type: String, schedule: Peddler::APIs::Promotions20251201::Schedule, selection: Peddler::APIs::Promotions20251201::Selection, status: String, 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]?, latest_revision: Peddler::APIs::Promotions20251201::LatestRevision?, 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.
497 498 499 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 497 def benefit @benefit end |
#budget ⇒ Peddler::APIs::Promotions20251201::Budget? (readonly)
Returns the value of attribute budget.
498 499 500 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 498 def budget @budget end |
#coupon_type ⇒ String? (readonly)
Returns the value of attribute coupon_type.
499 500 501 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 499 def coupon_type @coupon_type end |
#created_date ⇒ Time (readonly)
Returns the value of attribute created_date.
500 501 502 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 500 def created_date @created_date end |
#customer_segments ⇒ Array[Peddler::APIs::Promotions20251201::CustomerSegment]? (readonly)
Returns the value of attribute customer_segments.
501 502 503 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 501 def customer_segments @customer_segments end |
#fee_snapshot ⇒ Peddler::APIs::Promotions20251201::PromotionFeeSnapshot? (readonly)
Returns the value of attribute fee_snapshot.
502 503 504 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 502 def fee_snapshot @fee_snapshot end |
#issues ⇒ Array[Peddler::APIs::Promotions20251201::PromotionIssue]? (readonly)
Returns the value of attribute issues.
503 504 505 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 503 def issues @issues end |
#last_updated_date ⇒ Time (readonly)
Returns the value of attribute last_updated_date.
504 505 506 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 504 def last_updated_date @last_updated_date end |
#latest_revision ⇒ Peddler::APIs::Promotions20251201::LatestRevision? (readonly)
Returns the value of attribute latest_revision.
505 506 507 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 505 def latest_revision @latest_revision end |
#marketplace_id ⇒ String (readonly)
Returns the value of attribute marketplace_id.
506 507 508 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 506 def marketplace_id @marketplace_id end |
#merchandising ⇒ Peddler::APIs::Promotions20251201::Merchandising? (readonly)
Returns the value of attribute merchandising.
507 508 509 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 507 def merchandising @merchandising end |
#promotion_id ⇒ String (readonly)
Returns the value of attribute promotion_id.
508 509 510 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 508 def promotion_id @promotion_id end |
#promotion_title ⇒ String (readonly)
Returns the value of attribute promotion_title.
509 510 511 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 509 def promotion_title @promotion_title end |
#promotion_type ⇒ String (readonly)
Returns the value of attribute promotion_type.
510 511 512 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 510 def promotion_type @promotion_type end |
#purchase_requirements ⇒ Peddler::APIs::Promotions20251201::PurchaseRequirements? (readonly)
Returns the value of attribute purchase_requirements.
511 512 513 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 511 def purchase_requirements @purchase_requirements end |
#schedule ⇒ Peddler::APIs::Promotions20251201::Schedule (readonly)
Returns the value of attribute schedule.
512 513 514 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 512 def schedule @schedule end |
#selection ⇒ Peddler::APIs::Promotions20251201::Selection (readonly)
Returns the value of attribute selection.
513 514 515 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 513 def selection @selection end |
#status ⇒ String (readonly)
Returns the value of attribute status.
514 515 516 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 514 def status @status end |
#tracking_id ⇒ String (readonly)
Returns the value of attribute tracking_id.
515 516 517 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 515 def tracking_id @tracking_id end |
Class Method Details
.[](created_date:, last_updated_date:, marketplace_id:, promotion_id:, promotion_title:, promotion_type:, schedule:, selection:, status:, tracking_id:, benefit:, budget:, coupon_type:, customer_segments:, fee_snapshot:, issues:, latest_revision:, merchandising:, purchase_requirements:) ⇒ Peddler::APIs::Promotions20251201::PromotionSummary .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18) ⇒ Peddler::APIs::Promotions20251201::PromotionSummary
490 491 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 490
def self.[]: (created_date: Time, last_updated_date: Time, marketplace_id: String, promotion_id: String, promotion_title: String, promotion_type: String, schedule: Peddler::APIs::Promotions20251201::Schedule, selection: Peddler::APIs::Promotions20251201::Selection, status: String, 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]?, ?latest_revision: Peddler::APIs::Promotions20251201::LatestRevision?, ?merchandising: Peddler::APIs::Promotions20251201::Merchandising?, ?purchase_requirements: Peddler::APIs::Promotions20251201::PurchaseRequirements?) -> Peddler::APIs::Promotions20251201::PromotionSummary
| (Time, Time, String, String, String, String, Peddler::APIs::Promotions20251201::Schedule, Peddler::APIs::Promotions20251201::Selection, String, 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::LatestRevision?, Peddler::APIs::Promotions20251201::Merchandising?, Peddler::APIs::Promotions20251201::PurchaseRequirements?) -> Peddler::APIs::Promotions20251201::PromotionSummary
|
.members ⇒ [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :schedule, :selection, :status, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :latest_revision, :merchandising, :purchase_requirements ]
493 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 493
def self.members: () -> [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :schedule, :selection, :status, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :latest_revision, :merchandising, :purchase_requirements ]
|
.new(created_date:, last_updated_date:, marketplace_id:, promotion_id:, promotion_title:, promotion_type:, schedule:, selection:, status:, tracking_id:, benefit:, budget:, coupon_type:, customer_segments:, fee_snapshot:, issues:, latest_revision:, merchandising:, purchase_requirements:) ⇒ Peddler::APIs::Promotions20251201::PromotionSummary .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18) ⇒ Peddler::APIs::Promotions20251201::PromotionSummary
488 489 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 488
def self.new: (created_date: Time, last_updated_date: Time, marketplace_id: String, promotion_id: String, promotion_title: String, promotion_type: String, schedule: Peddler::APIs::Promotions20251201::Schedule, selection: Peddler::APIs::Promotions20251201::Selection, status: String, 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]?, ?latest_revision: Peddler::APIs::Promotions20251201::LatestRevision?, ?merchandising: Peddler::APIs::Promotions20251201::Merchandising?, ?purchase_requirements: Peddler::APIs::Promotions20251201::PurchaseRequirements?) -> Peddler::APIs::Promotions20251201::PromotionSummary
| (Time, Time, String, String, String, String, Peddler::APIs::Promotions20251201::Schedule, Peddler::APIs::Promotions20251201::Selection, String, 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::LatestRevision?, Peddler::APIs::Promotions20251201::Merchandising?, Peddler::APIs::Promotions20251201::PurchaseRequirements?) -> Peddler::APIs::Promotions20251201::PromotionSummary
|
.parse ⇒ Peddler::APIs::Promotions20251201::PromotionSummary
495 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 495
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Promotions20251201::PromotionSummary
|
Instance Method Details
#members ⇒ [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :schedule, :selection, :status, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :latest_revision, :merchandising, :purchase_requirements ]
517 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 517
def members: () -> [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :schedule, :selection, :status, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :latest_revision, :merchandising, :purchase_requirements ]
|
#to_h ⇒ { created_date: Time, last_updated_date: Time, marketplace_id: String, promotion_id: String, promotion_title: String, promotion_type: String, schedule: Peddler::APIs::Promotions20251201::Schedule, selection: Peddler::APIs::Promotions20251201::Selection, status: String, 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]?, latest_revision: Peddler::APIs::Promotions20251201::LatestRevision?, merchandising: Peddler::APIs::Promotions20251201::Merchandising?, purchase_requirements: Peddler::APIs::Promotions20251201::PurchaseRequirements? }
518 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 518
def to_h: () -> { created_date: Time, last_updated_date: Time, marketplace_id: String, promotion_id: String, promotion_title: String, promotion_type: String, schedule: Peddler::APIs::Promotions20251201::Schedule, selection: Peddler::APIs::Promotions20251201::Selection, status: String, 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]?, latest_revision: Peddler::APIs::Promotions20251201::LatestRevision?, merchandising: Peddler::APIs::Promotions20251201::Merchandising?, purchase_requirements: Peddler::APIs::Promotions20251201::PurchaseRequirements? }
|