This element or its sibling element, BillThirdPartyShipper, must be present but no more than one can be present.
The purpose of this field is to have a separate BillThirdParty inside your ItemizedPaymentInformation that is not charged for shipping, but (for example) only for duties and taxes (using the SHIPMENT_CHARGE_TYPE_DUTIES type on the ShipmentCharge).
In this pull request I've repurposed the main BillThirdParty object to be passed as a BillThirdPartyShipper parameter, as they are identical in terms of fields and methods. I'm open to suggestions to make this more optimal, if needed.
As per the UPS OnLine® Tools Shipping XML Tool Developers Guide (non-official link) (page 76), the
BillThirdPartyConsignee
element can be present instead of theBillThirdPartyShipper
inside of aItemizedPaymentInformation
element:The purpose of this field is to have a separate
BillThirdParty
inside yourItemizedPaymentInformation
that is not charged for shipping, but (for example) only for duties and taxes (using theSHIPMENT_CHARGE_TYPE_DUTIES
type on theShipmentCharge
).In this pull request I've repurposed the main
BillThirdParty
object to be passed as aBillThirdPartyShipper
parameter, as they are identical in terms of fields and methods. I'm open to suggestions to make this more optimal, if needed.