Class: Peddler::APIs::FinancesV0::Promotion
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FinancesV0::Promotion
- Defined in:
- sig/peddler/apis/finances_v0.rbs
Instance Attribute Summary collapse
-
#promotion_amount ⇒ Peddler::Money?
readonly
Returns the value of attribute promotion_amount.
-
#promotion_id ⇒ String?
readonly
Returns the value of attribute promotion_id.
-
#promotion_type ⇒ String?
readonly
Returns the value of attribute promotion_type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :promotion_amount, :promotion_id, :promotion_type ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FinancesV0::Promotion
Instance Method Summary collapse
-
#members ⇒ [ :promotion_amount, :promotion_id, :promotion_type ]
-
#to_h ⇒ { promotion_amount: Peddler::Money?, promotion_id: String?, promotion_type: String? }
Instance Attribute Details
#promotion_amount ⇒ Peddler::Money? (readonly)
Returns the value of attribute promotion_amount.
707 708 709 |
# File 'sig/peddler/apis/finances_v0.rbs', line 707 def promotion_amount @promotion_amount end |
#promotion_id ⇒ String? (readonly)
Returns the value of attribute promotion_id.
708 709 710 |
# File 'sig/peddler/apis/finances_v0.rbs', line 708 def promotion_id @promotion_id end |
#promotion_type ⇒ String? (readonly)
Returns the value of attribute promotion_type.
709 710 711 |
# File 'sig/peddler/apis/finances_v0.rbs', line 709 def promotion_type @promotion_type end |
Class Method Details
.[](promotion_amount:, promotion_id:, promotion_type:) ⇒ Peddler::APIs::FinancesV0::Promotion .[](arg0, arg1, arg2) ⇒ Peddler::APIs::FinancesV0::Promotion
700 701 |
# File 'sig/peddler/apis/finances_v0.rbs', line 700
def self.[]: (?promotion_amount: Peddler::Money?, ?promotion_id: String?, ?promotion_type: String?) -> Peddler::APIs::FinancesV0::Promotion
| (Peddler::Money?, String?, String?) -> Peddler::APIs::FinancesV0::Promotion
|
.members ⇒ [ :promotion_amount, :promotion_id, :promotion_type ]
703 |
# File 'sig/peddler/apis/finances_v0.rbs', line 703
def self.members: () -> [ :promotion_amount, :promotion_id, :promotion_type ]
|
.new(promotion_amount:, promotion_id:, promotion_type:) ⇒ Peddler::APIs::FinancesV0::Promotion .new(arg0, arg1, arg2) ⇒ Peddler::APIs::FinancesV0::Promotion
698 699 |
# File 'sig/peddler/apis/finances_v0.rbs', line 698
def self.new: (?promotion_amount: Peddler::Money?, ?promotion_id: String?, ?promotion_type: String?) -> Peddler::APIs::FinancesV0::Promotion
| (Peddler::Money?, String?, String?) -> Peddler::APIs::FinancesV0::Promotion
|
.parse ⇒ Peddler::APIs::FinancesV0::Promotion
705 |
# File 'sig/peddler/apis/finances_v0.rbs', line 705
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FinancesV0::Promotion
|
Instance Method Details
#members ⇒ [ :promotion_amount, :promotion_id, :promotion_type ]
711 |
# File 'sig/peddler/apis/finances_v0.rbs', line 711
def members: () -> [ :promotion_amount, :promotion_id, :promotion_type ]
|
#to_h ⇒ { promotion_amount: Peddler::Money?, promotion_id: String?, promotion_type: String? }
712 |
# File 'sig/peddler/apis/finances_v0.rbs', line 712
def to_h: () -> { promotion_amount: Peddler::Money?, promotion_id: String?, promotion_type: String? }
|