All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.os.falcon.dwh.message.CSInAppDwhLog Maven / Gradle / Ivy

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.os.falcon.dwh.message;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.os.falcon.dwh.event.constant.DWHEvents;
import com.os.falcon.dwh.message.item.AccountInfoItem;
import com.os.falcon.network.api.message.FMessage;

/**
 *
 * @author phamquan
 */
public class CSInAppDwhLog extends FMessage {

    private AccountInfoItem accountInfo;
    private String productId;
    private String currencyCode;
    private String price;
    private String transactionId;
    private String purchaseToken;
    private String where;
    private long createdDate;

    public CSInAppDwhLog() {
    }

    public CSInAppDwhLog(AccountInfoItem accountInfo, String productId, String currencyCode, String price, String transactionId, String purchaseToken, String where, long createdDate) {
        this.accountInfo = accountInfo;
        this.productId = productId;
        this.currencyCode = currencyCode;
        this.price = price;
        this.transactionId = transactionId;
        this.purchaseToken = purchaseToken;
        this.where = where;
        this.createdDate = createdDate;
    }

    
    
    public AccountInfoItem getAccountInfo() {
        return accountInfo;
    }

    public void setAccountInfo(AccountInfoItem accountInfo) {
        this.accountInfo = accountInfo;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getCurrencyCode() {
        return currencyCode;
    }

    public void setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getPurchaseToken() {
        return purchaseToken;
    }

    public void setPurchaseToken(String purchaseToken) {
        this.purchaseToken = purchaseToken;
    }

    public String getWhere() {
        return where;
    }

    public void setWhere(String where) {
        this.where = where;
    }

    public long getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(long createdDate) {
        this.createdDate = createdDate;
    }


    
    @Override
    @JsonIgnore
    public String getEvent() {
        return DWHEvents.CS_INAPP_LOG;
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy