Class: Peddler::APIs::ProductPricingV0::Points
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricingV0::Points
- Defined in:
- sig/peddler/apis/product_pricing_v0.rbs
Instance Attribute Summary collapse
-
#points_monetary_value ⇒ Peddler::Money?
readonly
Returns the value of attribute points_monetary_value.
-
#points_number ⇒ Integer?
readonly
Returns the value of attribute points_number.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :points_monetary_value, :points_number ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricingV0::Points
Instance Method Summary collapse
-
#members ⇒ [ :points_monetary_value, :points_number ]
-
#to_h ⇒ { points_monetary_value: Peddler::Money?, points_number: Integer? }
Instance Attribute Details
#points_monetary_value ⇒ Peddler::Money? (readonly)
Returns the value of attribute points_monetary_value.
688 689 690 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 688 def points_monetary_value @points_monetary_value end |
#points_number ⇒ Integer? (readonly)
Returns the value of attribute points_number.
689 690 691 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 689 def points_number @points_number end |
Class Method Details
.[](points_monetary_value:, points_number:) ⇒ Peddler::APIs::ProductPricingV0::Points .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricingV0::Points
681 682 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 681
def self.[]: (?points_monetary_value: Peddler::Money?, ?points_number: Integer?) -> Peddler::APIs::ProductPricingV0::Points
| (Peddler::Money?, Integer?) -> Peddler::APIs::ProductPricingV0::Points
|
.members ⇒ [ :points_monetary_value, :points_number ]
684 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 684
def self.members: () -> [ :points_monetary_value, :points_number ]
|
.new(points_monetary_value:, points_number:) ⇒ Peddler::APIs::ProductPricingV0::Points .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricingV0::Points
679 680 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 679
def self.new: (?points_monetary_value: Peddler::Money?, ?points_number: Integer?) -> Peddler::APIs::ProductPricingV0::Points
| (Peddler::Money?, Integer?) -> Peddler::APIs::ProductPricingV0::Points
|
.parse ⇒ Peddler::APIs::ProductPricingV0::Points
686 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 686
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricingV0::Points
|
Instance Method Details
#members ⇒ [ :points_monetary_value, :points_number ]
691 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 691
def members: () -> [ :points_monetary_value, :points_number ]
|
#to_h ⇒ { points_monetary_value: Peddler::Money?, points_number: Integer? }
692 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 692
def to_h: () -> { points_monetary_value: Peddler::Money?, points_number: Integer? }
|