Skip to content

Latest commit

 

History

History
50 lines (45 loc) · 3.11 KB

transactionpaginatedlist.md

File metadata and controls

50 lines (45 loc) · 3.11 KB

TransactionPaginatedList

Example Usage

import { TransactionPaginatedList } from "shippo/models/components";

let value: TransactionPaginatedList = {
  next: "baseurl?page=3&results=10",
  previous: "baseurl?page=1&results=10",
  results: [
    {
      createdBy: {
        firstName: "Shwan",
        lastName: "Ippotle",
        username: "[email protected]",
      },
      labelFileType: "PDF_4x6",
      labelUrl:
        "https://shippo-delivery.s3.amazonaws.com/70ae8117ee1749e393f249d5b77c45e0.pdf?Signature=vDw1ltcyGveVR1OQoUDdzC43BY8%3D&Expires=1437093830&AWSAccessKeyId=AKIAJTHP3LLFMYAWALIA",
      messages: [
        {
          source: "UPS",
          code: "carrier_timeout",
          text: "UPS API did not respond. Please try again in a few minutes.",
        },
      ],
      objectId: "915d94940ea54c3a80cbfa328722f5a1",
      objectOwner: "[email protected]",
      parcel: "e94c7fdfdc7b495dbb390a28d929d90a",
      qrCodeUrl:
        "https://shippo-delivery.s3.amazonaws.com/96_qr_code.pdf?Signature=PEdWrp0mFWAGwJp7FW3b%2FeA2eyY%3D&Expires=1385930652&AWSAccessKeyId=AKIAJTHP3LLFMYAWALIA",
      rate: "ec9f0d3adc9441449c85d315f0997fd5",
      status: "SUCCESS",
      trackingNumber: "9499907123456123456781",
      trackingStatus: "DELIVERED",
      trackingUrlProvider:
        "https://tools.usps.com/go/TrackConfirmAction_input?origTrackNum=9499907123456123456781",
    },
  ],
};

Fields

Field Type Required Description Example
next string N/A baseurl?page=3&results=10
previous string N/A baseurl?page=1&results=10
results components.Transaction[] N/A