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 clearCustomerId(): Cart

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

  17. def clearShippingAddress(): Cart

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

  19. def clone(): AnyRef

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

  21. def createOrder(createOrderBuilder: CreateOrderBuilder): Order

  22. def createOrder(paymentState: PaymentState): Order

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

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

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

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

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

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

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

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

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

  32. def fetchAsync(): Promise[Cart]

  33. def finalize(): Unit

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

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

  36. def hashCode(): Int

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

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

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

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

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

    Definition Classes
    AnyRef
  42. def recalculate(): Cart

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

  44. def removeLineItem(lineItemId: String): Cart

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

  46. def setBillingAddress(address: Address): Cart

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

  48. def setCountry(country: CountryCode): Cart

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

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

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

  52. def setCustomerEmail(email: String): Cart

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

  54. def setCustomerId(customerId: String): Cart

  55. def setCustomerIdAsync(customerId: String): Promise[SphereResult[Cart]]

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

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

  58. def setShippingAddress(address: Address): Cart

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

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

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

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

    Definition Classes
    AnyRef
  63. def toString(): String

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

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

  66. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped