Class: Peddler::APIs::Promotions20251201::PromotionRevisionAttributes
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Promotions20251201::PromotionRevisionAttributes
- 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.
-
#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, :schedule, :selection, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :merchandising, :purchase_requirements ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Promotions20251201::PromotionRevisionAttributes
Instance Method Summary collapse
-
#members ⇒ [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :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, 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.
465 466 467 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 465 def benefit @benefit end |
#budget ⇒ Peddler::APIs::Promotions20251201::Budget? (readonly)
Returns the value of attribute budget.
466 467 468 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 466 def budget @budget end |
#coupon_type ⇒ String? (readonly)
Returns the value of attribute coupon_type.
467 468 469 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 467 def coupon_type @coupon_type end |
#created_date ⇒ Time (readonly)
Returns the value of attribute created_date.
468 469 470 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 468 def created_date @created_date end |
#customer_segments ⇒ Array[Peddler::APIs::Promotions20251201::CustomerSegment]? (readonly)
Returns the value of attribute customer_segments.
469 470 471 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 469 def customer_segments @customer_segments end |
#fee_snapshot ⇒ Peddler::APIs::Promotions20251201::PromotionFeeSnapshot? (readonly)
Returns the value of attribute fee_snapshot.
470 471 472 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 470 def fee_snapshot @fee_snapshot end |
#issues ⇒ Array[Peddler::APIs::Promotions20251201::PromotionIssue]? (readonly)
Returns the value of attribute issues.
471 472 473 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 471 def issues @issues end |
#last_updated_date ⇒ Time (readonly)
Returns the value of attribute last_updated_date.
472 473 474 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 472 def last_updated_date @last_updated_date end |
#marketplace_id ⇒ String (readonly)
Returns the value of attribute marketplace_id.
473 474 475 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 473 def marketplace_id @marketplace_id end |
#merchandising ⇒ Peddler::APIs::Promotions20251201::Merchandising? (readonly)
Returns the value of attribute merchandising.
474 475 476 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 474 def merchandising @merchandising end |
#promotion_id ⇒ String (readonly)
Returns the value of attribute promotion_id.
475 476 477 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 475 def promotion_id @promotion_id end |
#promotion_title ⇒ String (readonly)
Returns the value of attribute promotion_title.
476 477 478 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 476 def promotion_title @promotion_title end |
#promotion_type ⇒ String (readonly)
Returns the value of attribute promotion_type.
477 478 479 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 477 def promotion_type @promotion_type end |
#purchase_requirements ⇒ Peddler::APIs::Promotions20251201::PurchaseRequirements? (readonly)
Returns the value of attribute purchase_requirements.
478 479 480 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 478 def purchase_requirements @purchase_requirements end |
#schedule ⇒ Peddler::APIs::Promotions20251201::Schedule (readonly)
Returns the value of attribute schedule.
479 480 481 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 479 def schedule @schedule end |
#selection ⇒ Peddler::APIs::Promotions20251201::Selection (readonly)
Returns the value of attribute selection.
480 481 482 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 480 def selection @selection end |
#tracking_id ⇒ String (readonly)
Returns the value of attribute tracking_id.
481 482 483 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 481 def tracking_id @tracking_id end |
Class Method Details
.[](created_date:, last_updated_date:, marketplace_id:, promotion_id:, promotion_title:, promotion_type:, schedule:, selection:, tracking_id:, benefit:, budget:, coupon_type:, customer_segments:, fee_snapshot:, issues:, merchandising:, purchase_requirements:) ⇒ Peddler::APIs::Promotions20251201::PromotionRevisionAttributes .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16) ⇒ Peddler::APIs::Promotions20251201::PromotionRevisionAttributes
458 459 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 458
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, 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::PromotionRevisionAttributes
| (Time, Time, 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::PromotionRevisionAttributes
|
.members ⇒ [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :schedule, :selection, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :merchandising, :purchase_requirements ]
461 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 461
def self.members: () -> [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :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:, schedule:, selection:, tracking_id:, benefit:, budget:, coupon_type:, customer_segments:, fee_snapshot:, issues:, merchandising:, purchase_requirements:) ⇒ Peddler::APIs::Promotions20251201::PromotionRevisionAttributes .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16) ⇒ Peddler::APIs::Promotions20251201::PromotionRevisionAttributes
456 457 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 456
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, 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::PromotionRevisionAttributes
| (Time, Time, 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::PromotionRevisionAttributes
|
.parse ⇒ Peddler::APIs::Promotions20251201::PromotionRevisionAttributes
463 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 463
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Promotions20251201::PromotionRevisionAttributes
|
Instance Method Details
#members ⇒ [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :schedule, :selection, :tracking_id, :benefit, :budget, :coupon_type, :customer_segments, :fee_snapshot, :issues, :merchandising, :purchase_requirements ]
483 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 483
def members: () -> [ :created_date, :last_updated_date, :marketplace_id, :promotion_id, :promotion_title, :promotion_type, :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, 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? }
484 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 484
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, 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? }
|