Class: Peddler::APIs::ProductPricingV0::PrimeInformationType
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricingV0::PrimeInformationType
- Defined in:
- sig/peddler/apis/product_pricing_v0.rbs
Instance Attribute Summary collapse
-
#national_prime ⇒ Boolean
readonly
Returns the value of attribute national_prime.
-
#prime ⇒ Boolean
readonly
Returns the value of attribute prime.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :national_prime, :prime ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricingV0::PrimeInformationType
Instance Method Summary collapse
-
#members ⇒ [ :national_prime, :prime ]
-
#national_prime? ⇒ Boolean
-
#prime? ⇒ Boolean
-
#to_h ⇒ { national_prime: bool, prime: bool }
Instance Attribute Details
#national_prime ⇒ Boolean (readonly)
Returns the value of attribute national_prime.
747 748 749 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 747 def national_prime @national_prime end |
#prime ⇒ Boolean (readonly)
Returns the value of attribute prime.
748 749 750 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 748 def prime @prime end |
Class Method Details
.[](national_prime:, prime:) ⇒ Peddler::APIs::ProductPricingV0::PrimeInformationType .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricingV0::PrimeInformationType
740 741 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 740
def self.[]: (national_prime: bool, prime: bool) -> Peddler::APIs::ProductPricingV0::PrimeInformationType
| (bool, bool) -> Peddler::APIs::ProductPricingV0::PrimeInformationType
|
.members ⇒ [ :national_prime, :prime ]
743 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 743
def self.members: () -> [ :national_prime, :prime ]
|
.new(national_prime:, prime:) ⇒ Peddler::APIs::ProductPricingV0::PrimeInformationType .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricingV0::PrimeInformationType
738 739 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 738
def self.new: (national_prime: bool, prime: bool) -> Peddler::APIs::ProductPricingV0::PrimeInformationType
| (bool, bool) -> Peddler::APIs::ProductPricingV0::PrimeInformationType
|
.parse ⇒ Peddler::APIs::ProductPricingV0::PrimeInformationType
745 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 745
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricingV0::PrimeInformationType
|
Instance Method Details
#members ⇒ [ :national_prime, :prime ]
750 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 750
def members: () -> [ :national_prime, :prime ]
|
#national_prime? ⇒ Boolean
751 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 751
def national_prime?: () -> bool
|
#prime? ⇒ Boolean
752 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 752
def prime?: () -> bool
|
#to_h ⇒ { national_prime: bool, prime: bool }
753 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 753
def to_h: () -> { national_prime: bool, prime: bool }
|