@shopify/app-bridge
Version:
> **Maintenance Mode:** Although apps using this package will continue to function, it is no longer receiving updates. For new projects, please use the [CDN version of App Bridge](https://shopify.dev/docs/api/app-home?accordionItem=getting-started-build-y
5 lines (4 loc) • 1.76 kB
TypeScript
import { Action, Data, Payload, Options, AddCustomerAddressPayload, AddLineItemPayload, SetCustomerPayload, UpdateCustomerAddressPayload, SetDiscountPayload, SetCodeDiscountPayload, SetPropertiesPayload, RemovePropertiesPayload, UpdateLineItemData, UpdateLineItemPayload, RemoveLineItemPayload, SetLineItemDiscountPayload, RemoveLineItemDiscountPayload, SetLineItemPropertiesPayload, RemoveLineItemPropertiesPayload, Cart, Customer, CustomerWithAddresses, Address, DiscountAmount, DiscountCode, Discount, LineItem, NoteAttributes, Properties, fetch, update, setCustomer, addCustomerAddress, updateCustomerAddress, setDiscount, setCodeDiscount, setProperties, removeProperties, addLineItem, updateLineItem, removeLineItem, setLineItemDiscount, removeLineItemDiscount, setLineItemProperties } from '@shopify/app-bridge-core/actions/Cart';
import { ClientApplication } from '../../client';
export { Action, Data, Payload, Options, AddCustomerAddressPayload, AddLineItemPayload, SetCustomerPayload, UpdateCustomerAddressPayload, SetDiscountPayload, SetCodeDiscountPayload, SetPropertiesPayload, RemovePropertiesPayload, UpdateLineItemData, UpdateLineItemPayload, RemoveLineItemPayload, SetLineItemDiscountPayload, RemoveLineItemDiscountPayload, SetLineItemPropertiesPayload, RemoveLineItemPropertiesPayload, Cart, Customer, CustomerWithAddresses, Address, DiscountAmount, DiscountCode, Discount, LineItem, NoteAttributes, Properties, fetch, update, setCustomer, addCustomerAddress, updateCustomerAddress, setDiscount, setCodeDiscount, setProperties, removeProperties, addLineItem, updateLineItem, removeLineItem, setLineItemDiscount, removeLineItemDiscount, setLineItemProperties, };
export declare function create(app: ClientApplication, options?: Options): Cart;