Class: Peddler::APIs::Promotions20251201::Budget
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Promotions20251201::Budget
- Defined in:
- sig/peddler/apis/promotions_2025_12_01.rbs
Instance Attribute Summary collapse
-
#currency_code ⇒ String?
readonly
Returns the value of attribute currency_code.
-
#type ⇒ String
readonly
Returns the value of attribute type.
-
#value ⇒ Float
readonly
Returns the value of attribute value.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :type, :value, :currency_code ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Promotions20251201::Budget
Instance Method Summary collapse
-
#members ⇒ [ :type, :value, :currency_code ]
-
#to_h ⇒ { type: String, value: Float, currency_code: String? }
Instance Attribute Details
#currency_code ⇒ String? (readonly)
Returns the value of attribute currency_code.
64 65 66 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 64 def currency_code @currency_code end |
#type ⇒ String (readonly)
Returns the value of attribute type.
65 66 67 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 65 def type @type end |
#value ⇒ Float (readonly)
Returns the value of attribute value.
66 67 68 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 66 def value @value end |
Class Method Details
.[](type:, value:, currency_code:) ⇒ Peddler::APIs::Promotions20251201::Budget .[](arg0, arg1, arg2) ⇒ Peddler::APIs::Promotions20251201::Budget
57 58 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 57
def self.[]: (type: String, value: Float, ?currency_code: String?) -> Peddler::APIs::Promotions20251201::Budget
| (String, Float, String?) -> Peddler::APIs::Promotions20251201::Budget
|
.members ⇒ [ :type, :value, :currency_code ]
60 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 60
def self.members: () -> [ :type, :value, :currency_code ]
|
.new(type:, value:, currency_code:) ⇒ Peddler::APIs::Promotions20251201::Budget .new(arg0, arg1, arg2) ⇒ Peddler::APIs::Promotions20251201::Budget
55 56 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 55
def self.new: (type: String, value: Float, ?currency_code: String?) -> Peddler::APIs::Promotions20251201::Budget
| (String, Float, String?) -> Peddler::APIs::Promotions20251201::Budget
|
.parse ⇒ Peddler::APIs::Promotions20251201::Budget
62 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 62
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Promotions20251201::Budget
|
Instance Method Details
#members ⇒ [ :type, :value, :currency_code ]
68 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 68
def members: () -> [ :type, :value, :currency_code ]
|
#to_h ⇒ { type: String, value: Float, currency_code: String? }
69 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 69
def to_h: () -> { type: String, value: Float, currency_code: String? }
|