darbia.shipping.types.models#

Shipping models.

Module Contents#

Classes#

BillToSelector

An enum for the shipment billing types.

Address

A street address.

BillingInfo

A wrapper for a set of billing information.

Package

A package.

Shipment

A complete shipment.

class darbia.shipping.types.models.BillToSelector[source]#

Bases: str, enum.Enum

An enum for the shipment billing types.

SHIPPER = 'shipper'[source]#
THIRD_PARTY = 'third_party'[source]#
class darbia.shipping.types.models.Address[source]#

A street address.

company: str | None[source]#
attention_to: str | None[source]#
address1: str | None[source]#
address2: str | None[source]#
address3: str | None[source]#
city: str | None[source]#
state: str | None[source]#
postal_code: str | None[source]#
country: str | None[source]#
class darbia.shipping.types.models.BillingInfo[source]#

A wrapper for a set of billing information.

bill_to: BillToSelector[source]#
billing_account: str | None[source]#
billing_address: Address | None[source]#
class darbia.shipping.types.models.Package[source]#

A package.

weight: float[source]#
length: float[source]#
width: float[source]#
height: float[source]#
reference1: str | None[source]#
reference2: str | None[source]#
reference3: str | None[source]#
reference4: str | None[source]#
reference5: str | None[source]#
class darbia.shipping.types.models.Shipment[source]#

A complete shipment.

shipment_id: str[source]#
ship_from: Address[source]#
ship_to: Address[source]#
billing: BillingInfo[source]#
packages: list[Package][source]#
reference1: str | None[source]#
reference2: str | None[source]#
reference3: str | None[source]#
reference4: str | None[source]#
reference5: str | None[source]#