OrderConfirmation

public struct OrderConfirmation

OrderConfirmation struct with the needed properties for the placed order

  • Order confirmation number

    Declaration

    Swift

    public let orderNumber: String
  • SKU of the requested article by the host app The one passed to presentCheckout(onViewController:forSKU:completion) method

    Declaration

    Swift

    public let requestedSKU: ConfigSKU
  • SKU that is used to place the order This one is different than requestedSKU as it contains the size information

    Declaration

    Swift

    public let purchasedSKU: SimpleSKU
  • The quantity of the items purchased for the given SKU

    Declaration

    Swift

    public let quantity: Int
  • The customer number, would be nil in case the user placed the order as guest

    Important

    Customer number is a sensitive data

    See also

    Sensitive data

    Declaration

    Swift

    public let customerNumber: CustomerNumber?
  • Billing Address used by the user to place the order

    Important

    Billing Address is a sensitive data

    See also

    Sensitive data

    Declaration

    Swift

    public let billingAddress: OrderAddress
  • Shipping Address used by the user to place the order

    Important

    Shipping Address is a sensitive data

    See also

    Sensitive data

    Declaration

    Swift

    public let shippingAddress: OrderAddress
  • Gross Total for the placed order

    Declaration

    Swift

    public let grossTotal: Money
  • Tax amount

    Declaration

    Swift

    public let taxTotal: Money
  • Net amount without Tax

    Declaration

    Swift

    public var netTotal: Money