How to set PurchaseOrder in label
smitakartit opened this issue · 3 comments
smitakartit commented
I got function setPurchaseOrderNumber(). but how to impliment this
TheGr8 commented
I am not sure where you see the setPurchaseOrderNumber function. Here's how I do it, I believe I got this code from samples.
$refPO = new ComplexType\CustomerReference();
$refPO ->setCustomerReferenceType('P_O_NUMBER')
->setValue('123456');
...
//Reference numbers are assigned to the first ITEM
$item = new ComplexType\RequestedPackageLineItem();
$item
->setWeight($itemWeight)
->setCustomerReferences([$refPO])
->setInsuredValue($itemValue)
->setSequenceNumber($item_seq);
github-actions commented
This issue is stale because it has been open for 30 days with no activity.
github-actions commented
This issue was closed because it has been inactive for 14 days since being marked as stale.