Class: Peddler::APIs::Replenishment20221107::DeliveriesCondition

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#conditionString? (readonly)

Returns the value of attribute condition.

Returns:

  • (String, nil)


14
15
16
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 14

def condition
  @condition
end

#next30_days_deliveriesInteger? (readonly)

Returns the value of attribute next30_days_deliveries.

Returns:

  • (Integer, nil)


15
16
17
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 15

def next30_days_deliveries
  @next30_days_deliveries
end

Class Method Details

.[](condition:, next30_days_deliveries:) ⇒ Peddler::APIs::Replenishment20221107::DeliveriesCondition .[](arg0, arg1) ⇒ Peddler::APIs::Replenishment20221107::DeliveriesCondition

Overloads:



7
8
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 7

def self.[]: (?condition: String?, ?next30_days_deliveries: Integer?) -> Peddler::APIs::Replenishment20221107::DeliveriesCondition
| (String?, Integer?) -> Peddler::APIs::Replenishment20221107::DeliveriesCondition

.members[ :condition, :next30_days_deliveries ]

Returns:

  • ([ :condition, :next30_days_deliveries ])


10
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 10

def self.members: () -> [ :condition, :next30_days_deliveries ]

.new(condition:, next30_days_deliveries:) ⇒ Peddler::APIs::Replenishment20221107::DeliveriesCondition .new(arg0, arg1) ⇒ Peddler::APIs::Replenishment20221107::DeliveriesCondition

Overloads:



5
6
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 5

def self.new: (?condition: String?, ?next30_days_deliveries: Integer?) -> Peddler::APIs::Replenishment20221107::DeliveriesCondition
| (String?, Integer?) -> Peddler::APIs::Replenishment20221107::DeliveriesCondition

.parsePeddler::APIs::Replenishment20221107::DeliveriesCondition

Parameters:

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

Returns:



12
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 12

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Replenishment20221107::DeliveriesCondition

Instance Method Details

#members[ :condition, :next30_days_deliveries ]

Returns:

  • ([ :condition, :next30_days_deliveries ])


17
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 17

def members: () -> [ :condition, :next30_days_deliveries ]

#to_h{ condition: String?, next30_days_deliveries: Integer? }

Returns:

  • ({ condition: String?, next30_days_deliveries: Integer? })


18
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 18

def to_h: () -> { condition: String?, next30_days_deliveries: Integer? }