Overview

Namespaces

  • ShippoClient
    • Entity
    • Http
      • Request
        • Addresses
        • Parcels
        • Shipments
        • Transactions
      • Response
        • Exception

Classes

  • ShippoClient\Addresses
  • ShippoClient\Entity\Address
  • ShippoClient\Entity\AddressCollection
  • ShippoClient\Entity\EntityCollection
  • ShippoClient\Entity\Location
  • ShippoClient\Entity\ObjectInformation
  • ShippoClient\Entity\Parcel
  • ShippoClient\Entity\ParcelCollection
  • ShippoClient\Entity\Rate
  • ShippoClient\Entity\RateCollection
  • ShippoClient\Entity\Refund
  • ShippoClient\Entity\RefundCollection
  • ShippoClient\Entity\ServiceLevel
  • ShippoClient\Entity\Shipment
  • ShippoClient\Entity\ShipmentCollection
  • ShippoClient\Entity\TrackingHistory
  • ShippoClient\Entity\TrackingStatus
  • ShippoClient\Entity\Tracks
  • ShippoClient\Entity\Transaction
  • ShippoClient\Entity\TransactionCollection
  • ShippoClient\Entity\WebhookTracks
  • ShippoClient\Http\Request
  • ShippoClient\Http\Request\Addresses\CreateObject
  • ShippoClient\Http\Request\CommonParameter
  • ShippoClient\Http\Request\MockCollection
  • ShippoClient\Http\Request\Parcels\CreateObject
  • ShippoClient\Http\Request\Shipments\CreateObject
  • ShippoClient\Http\Request\Shipments\CreateObjectByNested
  • ShippoClient\Http\Request\Shipments\CreateReturnObject
  • ShippoClient\Http\Request\Transactions\CreateObject
  • ShippoClient\Http\Response\AddressList
  • ShippoClient\Http\Response\ListResponse
  • ShippoClient\Http\Response\ParcelList
  • ShippoClient\Http\Response\RateList
  • ShippoClient\Http\Response\RefundList
  • ShippoClient\Http\Response\ShipmentList
  • ShippoClient\Http\Response\TransactionList
  • ShippoClient\Parcels
  • ShippoClient\Rates
  • ShippoClient\Refunds
  • ShippoClient\Shipments
  • ShippoClient\ShippoClient
  • ShippoClient\Tracks
  • ShippoClient\Transactions

Exceptions

  • ShippoClient\Http\Response\Exception\BadResponseException
  • ShippoClient\Http\Response\Exception\ClientErrorException
  • ShippoClient\Http\Response\Exception\ServerErrorException
  • Overview
  • Namespace
  • Class
 1: <?php
 2: 
 3: namespace ShippoClient\Entity;
 4: 
 5: use TurmericSpice\Container;
 6: use TurmericSpice\ReadableAttributes;
 7: 
 8: class Shipment extends ObjectInformation
 9: {
10:     use ReadableAttributes {
11:         mayHaveAsString as public getObjectStatus;
12:         mayHaveAsString as public getAddressFrom;
13:         mayHaveAsString as public getAddressTo;
14:         mayHaveAsString as public getAddressReturn;
15:         mayHaveAsString as public getParcel;
16:         mayHaveAsString as public getSubmissionType;
17:         mayHaveAsString as public getSubmissionDate;
18:         mayHaveAsString as public getRatesUrl;
19:         mayHaveAsString as public getCustomsDeclaration;
20:         mayHaveAsInt    as public getInsuranceAmount;
21:         mayHaveAsString as public getInsuranceCurrency;
22:         mayHaveAsArray  as public getExtra;
23:         mayHaveAsString as public getReturnOf;
24:         mayHaveAsArray  as public getCarrierAccounts;
25:         mayHaveAsArray  as public getMessages;
26:         mayHaveAsString as public getMetadata;
27:         mayHaveAsString as public getReference_1;
28:         mayHaveAsString as public getReference_2;
29:     }
30: }
31: 
API documentation generated by ApiGen