PCFOrderStatus

public struct PCFOrderStatus: OrderStatus, Decodable

PCFOrderStatus model.

  • The status of the order.

    Declaration

    Swift

    public let statusText: String
  • The tracking number for the order. Will only be present after the order has shipped if at all.

    Declaration

    Swift

    public let trackingNumber: String
  • The estimated delivery date. Contains one date if status is delivered. Contains a date OR date range if status is different from delivered.

    Declaration

    Swift

    public let deliveryDate: [Date]
  • The estimated delivery date. Contains one date if status is delivered. Contains a date OR date range if status is different from delivered.

    Declaration

    Swift

    public init?(json: JSON)

    Parameters

    json

    JSON representation of object.

    Return Value

    New instance when JSON parsing successful, false otherwise.