BasketItem

public class BasketItem : CustomStringConvertible

Undocumented

  • Create basket item.

    Declaration

    Swift

    public init()
  • Create copy of basket item.

    Declaration

    Swift

    public init(copy: BasketItem)
  • Acquirers result code, which indicates the result of a restriction request.

    Declaration

    Swift

    public var authResult: Int?
  • Identifies the item.

    Declaration

    Swift

    public var itemId: String?
  • Identifies the loyalty type.

    Declaration

    Swift

    public var loyaltyId: String?
  • Amount.

    Declaration

    Swift

    public var amount: Amount?
  • Total amount.

    Declaration

    Swift

    public var amountTotal: Amount?
  • Discount amount or 0 if discount amount is not used.

    Declaration

    Swift

    public var amountDiscount: AmountDiscount?
  • Tax amount.

    Declaration

    Swift

    public var amountTax: Amount?
  • Gross amount.

    Declaration

    Swift

    public var amountGross: Amount?
  • Unit amount discount.

    Declaration

    Swift

    public var unitAmountDiscount: Amount?
  • Unit amount gross.

    Declaration

    Swift

    public var unitAmountGross: Amount?
  • Quantity of the product.

    Declaration

    Swift

    public var itemQuantity: ItemQuantity?
  • ProdDescription.

    Declaration

    Swift

    public var prodDescription: String?
  • Textual representation.

    Declaration

    Swift

    public var description: String { get }