UNPKG

@spree/storefront-api-v2-sdk

Version:

Node module to easily integrate your JavaScript or TypeScript application with Spree API V2. You can create an entirely custom Storefront in JS/TS with this package including one page checkout, Single Page Apps, PWAs and so on

22 lines (19 loc) 625 B
import { IAddress } from '../attributes/Address' import { IPayment } from '../attributes/Payment' import { IPaymentSource } from '../attributes/PaymentSource' import { IShipment } from '../attributes/Shipment' import { IQuery } from '../Query' export interface AddStoreCredit extends IQuery { amount: number } export interface NestedAttributes extends IQuery { order?: { email?: string special_instructions? :string bill_address_attributes?: IAddress ship_address_attributes?: IAddress payments_attributes?: IPayment[] shipments_attributes?: IShipment[] }, payment_source?: IPaymentSource }