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(createOrderBuilder: CreateOrderBuilder): Order

  20. def createOrder(paymentState: PaymentState): Order

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

  22. def createOrderAsync(createOrderBuilder: CreateOrderBuilder): Promise[SphereResult[Order]]

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

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

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

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

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

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

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

  30. def fetchAsync(): Promise[Cart]

  31. def finalize(): Unit

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

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

  34. def hashCode(): Int

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

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

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

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

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

    Definition Classes
    AnyRef
  40. def recalculate(): Cart

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

  42. def removeLineItem(lineItemId: String): Cart

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

  44. def setBillingAddress(address: Address): Cart

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

  46. def setCountry(country: CountryCode): Cart

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

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

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

  50. def setCustomerEmail(email: String): Cart

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

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

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

  54. def setShippingAddress(address: Address): Cart

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

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

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

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

    Definition Classes
    AnyRef
  59. def toString(): String

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

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

  62. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped