darbia.shipping.types#

A set of types to provide a consistent interface across multiple packages.

Submodules#

Package Contents#

Classes#

Address

A street address.

BillingInfo

A wrapper for a set of billing information.

Package

A package.

Shipment

A complete shipment.

class darbia.shipping.types.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.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.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.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]#