[−][src]Struct shippo::CustomsDeclaration
A customs declaration object. Customs declarations are relevant information, including one or multiple customs items, you need to provide for customs clearance for your international shipments. FROM: https://goshippo.com/docs/reference#customs-declarations
Fields
object_id: String
Unique identifier of the given object.
object_owner: String
Username of the user who created the object.
object_state: String
Indicates the validity of the Customs Item. "VALID" | "INVALID"
exporter_reference: String
Exporter reference of an export shipment.
importer_reference: String
Importer reference of an import shipment.
contents_type: String
Type of goods of the shipment. 'DOCUMENTS' | 'GIFT' | 'SAMPLE' | 'MERCHANDISE' | 'HUMANITARIAN_DONATION' 'RETURN_MERCHANDISE' | 'OTHER'
contents_explanation: String
Explanation of the type of goods of the shipment.
invoice: String
Invoice reference of the shipment.
license: String
License reference of the shipment.
certificate: String
Certificate reference of the shipment.
notes: String
Additional notes to be included in the customs declaration.
eel_pfc: String
EEL / PFC type of the shipment. For most shipments from the US to CA, 'NOEEI_30_36' is applicable; for most other shipments from the US, 'NOEEI_30_37_a' is applicable. 'NOEEI_30_37_a' | 'NOEEI_30_37_h' | 'NOEEI_30_37_f' | 'NOEEI_30_36' | 'AES_ITN'
aes_itn: String
AES / ITN reference of the shipment.
non_delivery_option: String
Indicates how the carrier should proceed in case the shipment can't be delivered. 'ABANDON' | 'RETURN'
certify: bool
Expresses that the certify_signer has provided all information of this customs declaration truthfully.
certify_signer: String
Name of the person who created the customs declaration and is responsible for the validity of all information provided.
disclaimer: String
Disclaimer for the shipment and customs information that have been provided.
incoterm: String
The incoterm reference of the shipment. FCA available for DHL Express and FedEx only.
b13a_filing_option: String
B13A Option details are obtained by filing a B13A Canada Export Declaration via the Canadian Export Reporting System (CERS). 'FILED_ELECTRONICALLY' | SUMMARY_REPORTING' | 'NOT_REQUIRED'
b13a_number: String
Represents: the Proof of Report (POR) Number when b13a_filing_option is FILED_ELECTRONICALLY; the Summary ID Number when b13a_filing_option is SUMMARY_REPORTING; or the Exemption Number when b13a_filing_option is NOT_REQUIRED.
items: Vec<String>
Distinct Parcel content items as Customs Items object_ids.
metadata: String
A string of up to 100 characters that can be filled with any additional information you want to attach to the object.
test: bool
Indicates whether the object has been created in test mode.
Trait Implementations
impl Clone for CustomsDeclaration
[src]
pub fn clone(&self) -> CustomsDeclaration
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CustomsDeclaration
[src]
impl Default for CustomsDeclaration
[src]
pub fn default() -> CustomsDeclaration
[src]
impl<'de> Deserialize<'de> for CustomsDeclaration
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for CustomsDeclaration
[src]
Auto Trait Implementations
impl RefUnwindSafe for CustomsDeclaration
[src]
impl Send for CustomsDeclaration
[src]
impl Sync for CustomsDeclaration
[src]
impl Unpin for CustomsDeclaration
[src]
impl UnwindSafe for CustomsDeclaration
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,