File

feature-libs/checkout/occ/model/occ-checkout-endpoints.model.ts

Index

Properties

Properties

cardTypes
cardTypes: string | OccEndpoint
Type : string | OccEndpoint
Optional

Get a list of supported payment card types.

clearDeliveryMode
clearDeliveryMode: string | OccEndpoint
Type : string | OccEndpoint
Optional

Endpoint for deletes the delivery mode from the cart.

createDeliveryAddress
createDeliveryAddress: string | OccEndpoint
Type : string | OccEndpoint
Optional

Endpoint for create delivery address

createPaymentDetails
createPaymentDetails: string | OccEndpoint
Type : string | OccEndpoint
Optional

Handles response from payment provider and create payment details

deliveryMode
deliveryMode: string | OccEndpoint
Type : string | OccEndpoint
Optional

Endpoint for get the delivery mode selected for the cart.

deliveryModes
deliveryModes: string | OccEndpoint
Type : string | OccEndpoint
Optional

Endpoint for get all delivery modes for the current store and delivery address.

loadCheckoutDetails
loadCheckoutDetails: string | OccEndpoint
Type : string | OccEndpoint
Optional

Get a cart with a given identifier.

paymentProviderSubInfo
paymentProviderSubInfo: string | OccEndpoint
Type : string | OccEndpoint
Optional

Get information needed for create subscription

paymentTypes
paymentTypes: string | OccEndpoint
Type : string | OccEndpoint
Optional

Returns a list of the available payment types.

placeOrder
placeOrder: string | OccEndpoint
Type : string | OccEndpoint
Optional

Endpoint for place order

removeDeliveryAddress
removeDeliveryAddress: string | OccEndpoint
Type : string | OccEndpoint
Optional

Endpoint for delete deliver address

setCartCostCenter
setCartCostCenter: string | OccEndpoint
Type : string | OccEndpoint
Optional

Sets the cost center for the checkout cart.

setCartPaymentDetails
setCartPaymentDetails: string | OccEndpoint
Type : string | OccEndpoint
Optional

Sets credit card payment details for the cart.

setCartPaymentType
setCartPaymentType: string | OccEndpoint
Type : string | OccEndpoint
Optional

Sets the payment type for the checkout cart

setDeliveryAddress
setDeliveryAddress: string | OccEndpoint
Type : string | OccEndpoint
Optional

Endpoint for set delivery address to cart

setDeliveryMode
setDeliveryMode: string | OccEndpoint
Type : string | OccEndpoint
Optional

Endpoint for sets the delivery mode for a cart.

import { OccEndpoint } from '@spartacus/core';

export interface CheckoutOccEndpoints {
  /**
   * Endpoint for set delivery address to cart
   */
  setDeliveryAddress?: string | OccEndpoint;
  /**
   * Endpoint for place order
   */
  placeOrder?: string | OccEndpoint;
  /**
   * Returns a list of the available payment types.
   */
  paymentTypes?: string | OccEndpoint;
  /**
   * Sets the cost center for the checkout cart.
   */
  setCartCostCenter?: string | OccEndpoint;
  /**
   * Sets the payment type for the checkout cart
   */
  setCartPaymentType?: string | OccEndpoint;
  /**
   * Get a list of supported payment card types.
   */
  cardTypes?: string | OccEndpoint;
  /**
   * Sets credit card payment details for the cart.
   */
  setCartPaymentDetails?: string | OccEndpoint;
  /**
   *  Get information needed for create subscription
   */
  paymentProviderSubInfo?: string | OccEndpoint;
  /**
   * Handles response from payment provider and create payment details
   */
  createPaymentDetails?: string | OccEndpoint;
  /**
   *  Get a cart with a given identifier.
   */
  loadCheckoutDetails?: string | OccEndpoint;
  /**
   * Endpoint for create delivery address
   */
  createDeliveryAddress?: string | OccEndpoint;
  /**
   * Endpoint for delete deliver address
   */
  removeDeliveryAddress?: string | OccEndpoint;
  /**
   * Endpoint for get the delivery mode selected for the cart.
   */
  deliveryMode?: string | OccEndpoint;
  /**
   * Endpoint for sets the delivery mode for a cart.
   */
  setDeliveryMode?: string | OccEndpoint;
  /**
   * Endpoint for deletes the delivery mode from the cart.
   */
  clearDeliveryMode?: string | OccEndpoint;
  /**
   *Endpoint for get all delivery modes for the current store and delivery address.
   */
  deliveryModes?: string | OccEndpoint;
}

declare module '@spartacus/core' {
  interface OccEndpoints extends CheckoutOccEndpoints {}
}

result-matching ""

    No results matching ""