Class: Peddler::APIs::Promotions20251201::VariableFee
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Promotions20251201::VariableFee
- Defined in:
- sig/peddler/apis/promotions_2025_12_01.rbs
Instance Attribute Summary collapse
-
#fee_cap_amount ⇒ Peddler::Money?
readonly
Returns the value of attribute fee_cap_amount.
-
#sales_percentage ⇒ Float
readonly
Returns the value of attribute sales_percentage.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :sales_percentage, :fee_cap_amount ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Promotions20251201::VariableFee
Instance Method Summary collapse
-
#members ⇒ [ :sales_percentage, :fee_cap_amount ]
-
#to_h ⇒ { sales_percentage: Float, fee_cap_amount: Peddler::Money? }
Instance Attribute Details
#fee_cap_amount ⇒ Peddler::Money? (readonly)
Returns the value of attribute fee_cap_amount.
690 691 692 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 690 def fee_cap_amount @fee_cap_amount end |
#sales_percentage ⇒ Float (readonly)
Returns the value of attribute sales_percentage.
691 692 693 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 691 def sales_percentage @sales_percentage end |
Class Method Details
.[](sales_percentage:, fee_cap_amount:) ⇒ Peddler::APIs::Promotions20251201::VariableFee .[](arg0, arg1) ⇒ Peddler::APIs::Promotions20251201::VariableFee
683 684 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 683
def self.[]: (sales_percentage: Float, ?fee_cap_amount: Peddler::Money?) -> Peddler::APIs::Promotions20251201::VariableFee
| (Float, Peddler::Money?) -> Peddler::APIs::Promotions20251201::VariableFee
|
.members ⇒ [ :sales_percentage, :fee_cap_amount ]
686 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 686
def self.members: () -> [ :sales_percentage, :fee_cap_amount ]
|
.new(sales_percentage:, fee_cap_amount:) ⇒ Peddler::APIs::Promotions20251201::VariableFee .new(arg0, arg1) ⇒ Peddler::APIs::Promotions20251201::VariableFee
681 682 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 681
def self.new: (sales_percentage: Float, ?fee_cap_amount: Peddler::Money?) -> Peddler::APIs::Promotions20251201::VariableFee
| (Float, Peddler::Money?) -> Peddler::APIs::Promotions20251201::VariableFee
|
.parse ⇒ Peddler::APIs::Promotions20251201::VariableFee
688 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 688
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Promotions20251201::VariableFee
|
Instance Method Details
#members ⇒ [ :sales_percentage, :fee_cap_amount ]
693 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 693
def members: () -> [ :sales_percentage, :fee_cap_amount ]
|
#to_h ⇒ { sales_percentage: Float, fee_cap_amount: Peddler::Money? }
694 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 694
def to_h: () -> { sales_percentage: Float, fee_cap_amount: Peddler::Money? }
|