Interface OrderResponse<CustomFields>

interface OrderResponse {
    cancelReason?: null | "PENDING" | "DECLINED" | "INVENTORY" | "OTHER";
    canceledAt?: null | string;
    cart?: null | CartResource;
    checkout?: null | CheckoutResource;
    closedAt: null | string;
    createdAt: string;
    currency: "JPY";
    customFields: CustomFields;
    customer?: OrderCustomerType<unknown>;
    id: string;
    lineItems: LineItem<unknown>[];
    organization: string;
    status: string;
    subtotalPrice: number;
    totalPrice: number;
    totalTax: number;
    updatedAt: string;
}

Type Parameters

  • CustomFields = unknown

Hierarchy

  • Order<CustomFields>
    • OrderResponse

Properties

cancelReason?: null | "PENDING" | "DECLINED" | "INVENTORY" | "OTHER"
canceledAt?: null | string
cart?: null | CartResource
checkout?: null | CheckoutResource
closedAt: null | string
createdAt: string
currency: "JPY"
customFields: CustomFields
customer?: OrderCustomerType<unknown>
id: string
lineItems: LineItem<unknown>[]
organization: string
status: string
subtotalPrice: number
totalPrice: number
totalTax: number
updatedAt: string

Generated using TypeDoc