ConnectLandedCost

Version 4.0

public static ConnectLandedCost ( Object ConnectLandedCostRequest )

Return: Object ConnectLandedCostResponse

Calculate the total cost (Duties, Taxes and Shipping Costs) of a shipment to a specific country.

Parameters

Object ConnectLandedCostRequest Required Input object required for the function Length

String

partnerKey

Required Required Key to access the functions of Connect API 45

String

language

Required Defines the language in which the return error will be shown. Supported Languages. 2

String

privateIndividuals

Optional Defines if the calculation is for a private individual or non-private individuals like a business, group or organization. Default Y: private individuals, N: non-private individuals 1

Array

items (Object ProductInfo)

Required Items with their respective descriptions, ready for shipment from the vendor to FedEx Cross Border

String

shipmentOriginCountry

Required Defines the country of origin of shipment. Country Code List 2

String

shipmentDestinationCountry

Required Defines the receiving country of shipment. Country Code List 2

Float

domesticShippingCost

Optional Defines the cost of shipment from the company concerned to FedEx Cross Border

Integer

insuranceFlag

Optional Defines the inclusion or not of Loss and Damage Protection from FedEx Cross Border to the final customer. Possible Values: 0 = No Loss and Damage Protection. 1 = Loss and Damage Protection 1

Integer

currency

Optional Defines the currency in which the total amount will be returned in. 0= US Dollar, 1= The currency of the shipping destination. Currency Code List 1

Float

currencyConversionRate

Optional Defines the exchange rate between the currency of the shipping destination and the US Dollar

Integer

service

Optional Defines the type of delivery, possible values: 0 = Express, 1 = Standard, 2 = Economy 1

Return

Object ConnectLandedCostResponse Object function return

Integer

error

Numerical code error message

String

errorMessage

Text string describing the error message

String

errorMessageDetail

List of Insertion Errors

Float

dutyCost

Total tax payable from FedEx Cross Border to the final customer

Float

taxCost

Total shipment Tax cost

Float

shippingCost

Cost of shipping from FedEx Cross Border to the customer

Float

insuranceCost

Total Loss and Damage Protection to pay for shipping from FedEx Cross Border to customer

String

currencyCode

Currency code of the costs returned by the function

Integer

ddpAvailable

Returns ddp (Delivery Duties Paid) availability for an item: 0 = No, 1 = Yes

String

bongoExtendSignup

A Javascript that generates a button with which the customer may use to create FedEx Cross Border account from the vendors site

String

landedCostTransactionID

Landed cost transaction identifier

Array

items (Object LandedProduct)

Collection of LandedProduct indicating that products have been used to calculate the cost of shipping