Class: Peddler::APIs::OrdersV0::AutomatedShippingSettings

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#automated_carrierString? (readonly)

Returns the value of attribute automated_carrier.

Returns:

  • (String, nil)


120
121
122
# File 'sig/peddler/apis/orders_v0.rbs', line 120

def automated_carrier
  @automated_carrier
end

#automated_ship_methodString? (readonly)

Returns the value of attribute automated_ship_method.

Returns:

  • (String, nil)


121
122
123
# File 'sig/peddler/apis/orders_v0.rbs', line 121

def automated_ship_method
  @automated_ship_method
end

#has_automated_shipping_settingsBoolean? (readonly)

Returns the value of attribute has_automated_shipping_settings.

Returns:

  • (Boolean, nil)


122
123
124
# File 'sig/peddler/apis/orders_v0.rbs', line 122

def has_automated_shipping_settings
  @has_automated_shipping_settings
end

Class Method Details

.[](automated_carrier:, automated_ship_method:, has_automated_shipping_settings:) ⇒ Peddler::APIs::OrdersV0::AutomatedShippingSettings .[](arg0, arg1, arg2) ⇒ Peddler::APIs::OrdersV0::AutomatedShippingSettings

Overloads:



113
114
# File 'sig/peddler/apis/orders_v0.rbs', line 113

def self.[]: (?automated_carrier: String?, ?automated_ship_method: String?, ?has_automated_shipping_settings: bool?) -> Peddler::APIs::OrdersV0::AutomatedShippingSettings
| (String?, String?, bool?) -> Peddler::APIs::OrdersV0::AutomatedShippingSettings

.members[ :automated_carrier, :automated_ship_method, :has_automated_shipping_settings ]

Returns:

  • ([ :automated_carrier, :automated_ship_method, :has_automated_shipping_settings ])


116
# File 'sig/peddler/apis/orders_v0.rbs', line 116

def self.members: () -> [ :automated_carrier, :automated_ship_method, :has_automated_shipping_settings ]

.new(automated_carrier:, automated_ship_method:, has_automated_shipping_settings:) ⇒ Peddler::APIs::OrdersV0::AutomatedShippingSettings .new(arg0, arg1, arg2) ⇒ Peddler::APIs::OrdersV0::AutomatedShippingSettings

Overloads:



111
112
# File 'sig/peddler/apis/orders_v0.rbs', line 111

def self.new: (?automated_carrier: String?, ?automated_ship_method: String?, ?has_automated_shipping_settings: bool?) -> Peddler::APIs::OrdersV0::AutomatedShippingSettings
| (String?, String?, bool?) -> Peddler::APIs::OrdersV0::AutomatedShippingSettings

.parsePeddler::APIs::OrdersV0::AutomatedShippingSettings

Parameters:

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

Returns:



118
# File 'sig/peddler/apis/orders_v0.rbs', line 118

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

Instance Method Details

#has_automated_shipping_settings?Boolean

Returns:

  • (Boolean)


124
# File 'sig/peddler/apis/orders_v0.rbs', line 124

def has_automated_shipping_settings?: () -> bool

#members[ :automated_carrier, :automated_ship_method, :has_automated_shipping_settings ]

Returns:

  • ([ :automated_carrier, :automated_ship_method, :has_automated_shipping_settings ])


125
# File 'sig/peddler/apis/orders_v0.rbs', line 125

def members: () -> [ :automated_carrier, :automated_ship_method, :has_automated_shipping_settings ]

#to_h{ automated_carrier: String?, automated_ship_method: String?, has_automated_shipping_settings: bool? }

Returns:

  • ({ automated_carrier: String?, automated_ship_method: String?, has_automated_shipping_settings: bool? })


126
# File 'sig/peddler/apis/orders_v0.rbs', line 126

def to_h: () -> { automated_carrier: String?, automated_ship_method: String?, has_automated_shipping_settings: bool? }