TransactionResultView

struct TransactionResultView {
    let id: String
    let monetaryValue: Double?
    let customerId: String
    var customer: CustomerResultView?
    var saleCurrency: String
    var outletId: String?
    var pointValue: Int
    var externalRefId: String
    var description: String
    var transactionDate: String?
    var schemeId: String
    var outlet: OutletResultView?
    var allocatedPointValue: Double
    var deleted: Bool
    var createdBy: String?
    var createdDate: String?
    var updatedBy: String?
    var updatedDate: String?
    var hidden: Bool?
    var transactionType: LoyaleTransactionType
    var cachedResultantPointValue: Double
    var isSendPointsAction: Bool?
    var isSplitted: Bool?
    var targetCustomer: CustomerResultView?
    var sourceCustomer: CustomerResultView?
    var splittedBetween: [CustomerResultView]?
    var couponsUsed: [CouponResultView]?
    var posType: String?
    var value: String
    var lineItems: [LineItemInsertView]?
    var posId: String?
    var scheme: SchemeResultView?
    var targetTransactionId: String?
    var sourceTransactionId: String?
    var groupId: String?
}