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)


97
98
99
# File 'sig/peddler/apis/orders_v0.rbs', line 97

def automated_carrier
  @automated_carrier
end

#automated_ship_methodString? (readonly)

Returns the value of attribute automated_ship_method.

Returns:

  • (String, nil)


98
99
100
# File 'sig/peddler/apis/orders_v0.rbs', line 98

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)


99
100
101
# File 'sig/peddler/apis/orders_v0.rbs', line 99

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:



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

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 ])


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

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:



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

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:



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

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

Instance Method Details

#has_automated_shipping_settings?Boolean

Returns:

  • (Boolean)


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

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 ])


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

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? })


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

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