sphere

CurrentCart

class CurrentCart extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CurrentCart
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CurrentCart(cartService: CartService, orderService: OrderService, cartCurrency: Currency, inventoryMode: InventoryMode)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addCustomLineItem(name: LocalizedString, money: Money, slug: String, taxCategory: ReferenceId[TaxCategory], quantity: Int): Cart

  7. def addCustomLineItem(name: LocalizedString, money: Money, slug: String, taxCategory: ReferenceId[TaxCategory]): Cart

  8. def addCustomLineItemAsync(name: LocalizedString, money: Money, slug: String, taxCategory: ReferenceId[TaxCategory], quantity: Int): Promise[SphereResult[Cart]]

  9. def addCustomLineItemAsync(name: LocalizedString, money: Money, slug: String, taxCategory: ReferenceId[TaxCategory]): Promise[SphereResult[Cart]]

  10. def addLineItem(productId: String, quantity: Int): Cart

  11. def addLineItem(productId: String, variantId: Int, quantity: Int): Cart

  12. def addLineItemAsync(productId: String, quantity: Int): Promise[SphereResult[Cart]]

  13. def addLineItemAsync(productId: String, variantId: Int, quantity: Int): Promise[SphereResult[Cart]]

  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def clearShippingAddress(): Cart

  16. def clearShippingAddressAsync(): Promise[SphereResult[Cart]]

  17. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def createCartSnapshotId(): String

  19. def createOrder(paymentState: PaymentState): Order

  20. def createOrder(cartSnapshotId: String, paymentState: PaymentState): Order

  21. def createOrderAsync(paymentState: PaymentState): Promise[SphereResult[Order]]

  22. def createOrderAsync(cartSnapshotId: String, paymentState: PaymentState): Promise[SphereResult[Order]]

  23. def decreaseLineItemQuantity(lineItemId: String, quantity: Int): Cart

  24. def decreaseLineItemQuantityAsync(lineItemId: String, quantity: Int): Promise[SphereResult[Cart]]

  25. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  27. def fetch(): Cart

  28. def fetchAsync(): Promise[Cart]

  29. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  31. def getQuantity(): Int

  32. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  33. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  34. def isSafeToCreateOrder(cartSnapshotId: String): Boolean

  35. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  36. final def notify(): Unit

    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  38. def recalculate(): Cart

  39. def recalculateAsync(): Promise[SphereResult[Cart]]

  40. def removeLineItem(lineItemId: String): Cart

  41. def removeLineItemAsync(lineItemId: String): Promise[SphereResult[Cart]]

  42. def setBillingAddress(address: Address): Cart

  43. def setBillingAddressAsync(address: Address): Promise[SphereResult[Cart]]

  44. def setCountry(country: CountryCode): Cart

  45. def setCountryAsync(country: CountryCode): Promise[SphereResult[Cart]]

  46. def setCustomShippingMethod(shippingMethodName: String, shippingRate: ShippingRate, taxCategory: ReferenceId[TaxCategory]): Cart

  47. def setCustomShippingMethodAsync(shippingMethodName: String, shippingRate: ShippingRate, taxCategory: ReferenceId[TaxCategory]): Promise[SphereResult[Cart]]

  48. def setCustomerEmail(email: String): Cart

  49. def setCustomerEmailAsync(email: String): Promise[SphereResult[Cart]]

  50. def setLineItemQuantity(lineItemId: String, quantity: Int): Cart

  51. def setLineItemQuantityAsync(lineItemId: String, quantity: Int): Promise[SphereResult[Cart]]

  52. def setShippingAddress(address: Address): Cart

  53. def setShippingAddressAsync(address: Address): Promise[SphereResult[Cart]]

  54. def setShippingMethod(shippingMethod: ReferenceId[ShippingMethod]): Cart

  55. def setShippingMethodAsync(shippingMethod: ReferenceId[ShippingMethod]): Promise[SphereResult[Cart]]

  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  57. def toString(): String

    Definition Classes
    AnyRef → Any
  58. def update(update: CartUpdate): Cart

  59. def updateAsync(update: CartUpdate): Promise[SphereResult[Cart]]

  60. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  61. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  62. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped