Transaction

public class Transaction : Item

An agreement between a buyer and a seller to exchange an asset for payment.

  • Whether the Item is deleted.

    Declaration

    Swift

    @objc
    dynamic var orderStatus: Bool
  • Identifier of a transaction.

    Declaration

    Swift

    @objc
    dynamic var orderNumber: String?
  • Can be used to get a discount.

    Declaration

    Swift

    @objc
    dynamic var discountCode: String?
  • The date this Item was lost.

    Declaration

    Swift

    @objc
    dynamic var dateOrdered: Date?
  • Date of execution.

    Declaration

    Swift

    @objc
    dynamic var dateExecuted: Date?
  • The location depicted or described in the content. For example, the location in a photograph or painting.

    Declaration

    Swift

    var purchaseLocation: Results<Location>? { get }
  • Any Product.

    Declaration

    Swift

    var product: Results<Product>? { get }
  • The address associated with financial purchases.

    Declaration

    Swift

    var billingAddress: Results<Address>? { get }
  • The Account used to pay.

    Declaration

    Swift

    var payedWithAccount: Results<Account>? { get }
  • A discount or price reduction.

    Declaration

    Swift

    var discount: Results<Measure>? { get }
  • Undocumented

    Declaration

    Swift

    public required convenience init(from decoder: Decoder) throws