Class Transaction
- ShippoClient\Entity\ObjectInformation uses TurmericSpice\ReadableAttributes (not available)
- ShippoClient\Entity\Transaction uses TurmericSpice\ReadableAttributes (not available)
public
string
|
#
getObjectStatus( )
Indicates the status of the Transaction. - "WAITING" - "QUEUED" - "SUCCESS" - "ERROR" - "REFUNDED" - "REFUNDPENDING" - "REFUNDREJECTED" |
public
boolean
|
#
getWasTest( )
Indicates whether the transaction has been sent to the corresponding carrier's test or production server. |
public
string
|
|
public
string
|
#
getTrackingNumber( )
The carrier-specific tracking number that can be used to track the Shipment. A value will only be returned if the Rate is for a trackable Shipment and if the Transactions has been processed successfully. |
public
|
#
getTrackingStatus( )
The tracking information we currently have on file for this shipment. We regularly update this information. |
public
|
|
public
string
|
#
getTrackingUrlProvider( )
A link to track this item on the carrier-provided tracking website. A value will only be returned if tracking is available and the carrier provides such a service. |
public
string
|
#
getLabelUrl( )
A URL pointing directly to the label in the format you've set in your settings. A value will only be returned if the Transactions has been processed successfully. |
public
string
|
#
getCommercialInvoiceUrl( )
A URL pointing to the commercial invoice as a 8.5x11 inch PDF file. A value will only be returned if the Transactions has been processed successfully and if the shipment is international. |
public
array
|
#
getMessages( )
An array containing elements of the following schema: "code" (string): an identifier for the corresponding message (not always available") "message" (string): a publishable message containing further information. |
public
mixed|null
|
|
public
string
|
|
public
|
getObjectCreated(),
getObjectUpdated()
|