Class: Peddler::APIs::ProductPricingV0::PrimeInformationType

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/product_pricing_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#national_primeBoolean (readonly)

Returns the value of attribute national_prime.

Returns:

  • (Boolean)


747
748
749
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 747

def national_prime
  @national_prime
end

#primeBoolean (readonly)

Returns the value of attribute prime.

Returns:

  • (Boolean)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::ProductPricingV0::PrimeInformationType

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :national_prime, :prime ])


750
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 750

def members: () -> [ :national_prime, :prime ]

#national_prime?Boolean

Returns:

  • (Boolean)


751
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 751

def national_prime?: () -> bool

#prime?Boolean

Returns:

  • (Boolean)


752
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 752

def prime?: () -> bool

#to_h{ national_prime: bool, prime: bool }

Returns:

  • ({ national_prime: bool, prime: bool })


753
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 753

def to_h: () -> { national_prime: bool, prime: bool }