Class: Peddler::APIs::ShippingV2::UnmanifestedShipmentLocation

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#addressPeddler::APIs::ShippingV2::Address? (readonly)

Returns the value of attribute address.



1954
1955
1956
# File 'sig/peddler/apis/shipping_v2.rbs', line 1954

def address
  @address
end

#last_manifest_dateTime? (readonly)

Returns the value of attribute last_manifest_date.

Returns:

  • (Time, nil)


1955
1956
1957
# File 'sig/peddler/apis/shipping_v2.rbs', line 1955

def last_manifest_date
  @last_manifest_date
end

Class Method Details

.[](address:, last_manifest_date:) ⇒ Peddler::APIs::ShippingV2::UnmanifestedShipmentLocation .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV2::UnmanifestedShipmentLocation

Overloads:



1947
1948
# File 'sig/peddler/apis/shipping_v2.rbs', line 1947

def self.[]: (?address: Peddler::APIs::ShippingV2::Address?, ?last_manifest_date: Time?) -> Peddler::APIs::ShippingV2::UnmanifestedShipmentLocation
| (Peddler::APIs::ShippingV2::Address?, Time?) -> Peddler::APIs::ShippingV2::UnmanifestedShipmentLocation

.members[ :address, :last_manifest_date ]

Returns:

  • ([ :address, :last_manifest_date ])


1950
# File 'sig/peddler/apis/shipping_v2.rbs', line 1950

def self.members: () -> [ :address, :last_manifest_date ]

.new(address:, last_manifest_date:) ⇒ Peddler::APIs::ShippingV2::UnmanifestedShipmentLocation .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV2::UnmanifestedShipmentLocation

Overloads:



1945
1946
# File 'sig/peddler/apis/shipping_v2.rbs', line 1945

def self.new: (?address: Peddler::APIs::ShippingV2::Address?, ?last_manifest_date: Time?) -> Peddler::APIs::ShippingV2::UnmanifestedShipmentLocation
| (Peddler::APIs::ShippingV2::Address?, Time?) -> Peddler::APIs::ShippingV2::UnmanifestedShipmentLocation

.parsePeddler::APIs::ShippingV2::UnmanifestedShipmentLocation

Parameters:

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

Returns:



1952
# File 'sig/peddler/apis/shipping_v2.rbs', line 1952

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

Instance Method Details

#members[ :address, :last_manifest_date ]

Returns:

  • ([ :address, :last_manifest_date ])


1957
# File 'sig/peddler/apis/shipping_v2.rbs', line 1957

def members: () -> [ :address, :last_manifest_date ]

#to_h{ address: Peddler::APIs::ShippingV2::Address?, last_manifest_date: Time? }

Returns:



1958
# File 'sig/peddler/apis/shipping_v2.rbs', line 1958

def to_h: () -> { address: Peddler::APIs::ShippingV2::Address?, last_manifest_date: Time? }