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

kh.gov.nbc.bakong_khqr.model.KHQRDecodeData Maven / Gradle / Ivy

Go to download

The standardization of KHQR code specifications will help promote wider use of mobile retail payments in Cambodia and provide consistent user experience for merchants and consumers. It can enable interoperability in the payment industry. A common QR code would facilitate payments among different schemes, e-wallets and banks and would encourage small merchants to adopt KHQR code as payment method. KHQR is created for retail or remittance in Cambodia and Cross-Border. It only requires a single QR for receiving transactions from any payment provider through Bakong including Bakong App.

The newest version!
package kh.gov.nbc.bakong_khqr.model;

public class KHQRDecodeData {
    
    private String payloadFormatIndicator;
    private String pointOfInitiationMethod;
    private String bakongAccountID;
    private String merchantId;
    private String accountInformation;
    private String acquiringBank;
    private String merchantType;
    private String transactionCurrency;
    private String merchantName;
    private String transactionAmount;
    private String merchantCategoryCode;
    private String countryCode;
    private String merchantCity;
    private String billNumber;
    private String storeLabel;
    private String terminalLabel;
    private String mobileNumber;
    private String timestamp;
    private String crc;
    private String upiAccountInformation;
    private String purposeOfTransaction;
    private String merchantAlternateLanguagePreference;
    private String merchantNameAlternateLanguage;
    private String merchantCityAlternateLanguage;

    public KHQRDecodeData(String payloadFormatIndicator, String pointOfInitiationMethod, String bakongAccountID, String merchantId, String accountInformation, String acquiringBank, String merchantType, String transactionCurrency, String merchantName, String transactionAmount, String merchantCategoryCode, String countryCode, String merchantCity, String billNumber, String storeLabel, String terminalLabel, String mobileNumber, String timestamp, String crc, String upiAccountInformation, String purposeOfTransaction, String merchantAlternateLanguagePreference, String merchantNameAlternateLanguage, String merchantCityAlternateLanguage) {
        this.payloadFormatIndicator = payloadFormatIndicator;
        this.pointOfInitiationMethod = pointOfInitiationMethod;
        this.bakongAccountID = bakongAccountID;
        this.merchantId = merchantId;
        this.accountInformation = accountInformation;
        this.acquiringBank = acquiringBank;
        this.merchantType = merchantType;
        this.transactionCurrency = transactionCurrency;
        this.merchantName = merchantName;
        this.transactionAmount = transactionAmount;
        this.merchantCategoryCode = merchantCategoryCode;
        this.countryCode = countryCode;
        this.merchantCity = merchantCity;
        this.billNumber = billNumber;
        this.storeLabel = storeLabel;
        this.terminalLabel = terminalLabel;
        this.mobileNumber = mobileNumber;
        this.timestamp = timestamp;
        this.crc = crc;
        this.upiAccountInformation = upiAccountInformation;
        this.purposeOfTransaction = purposeOfTransaction;
        this.merchantAlternateLanguagePreference = merchantAlternateLanguagePreference;
        this.merchantNameAlternateLanguage = merchantNameAlternateLanguage;
        this.merchantCityAlternateLanguage = merchantCityAlternateLanguage;
    }

    public KHQRDecodeData() {
    }

    public void setPayloadFormatIndicator(String payloadFormatIndicator) {
        this.payloadFormatIndicator = payloadFormatIndicator;
    }

    public String getPointOfInitiationMethod() {
        return pointOfInitiationMethod;
    }

    public void setPointOfInitiationMethod(String pointOfInitiationMethod) {
        this.pointOfInitiationMethod = pointOfInitiationMethod;
    }

    public String getMerchantType() {
        return merchantType;
    }

    public void setMerchantType(String merchantType) {
        this.merchantType = merchantType;
    }

    public String getBakongAccountID() {
        return bakongAccountID;
    }

    public void setBakongAccountID(String bakongAccountID) {
        this.bakongAccountID = bakongAccountID;
    }

    public String getMerchantCategoryCode() {
        return merchantCategoryCode;
    }

    public void setMerchantCategoryCode(String merchantCategoryCode) {
        this.merchantCategoryCode = merchantCategoryCode;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getMerchantCity() {
        return merchantCity;
    }

    public void setMerchantCity(String merchantCity) {
        this.merchantCity = merchantCity;
    }

    public String getTransactionCurrency() {
        return transactionCurrency;
    }

    public void setTransactionCurrency(String transactionCurrency) {
        this.transactionCurrency = transactionCurrency;
    }

    public String getTransactionAmount() {
        return transactionAmount;
    }

    public void setTransactionAmount(String transactionAmount) {
        this.transactionAmount = transactionAmount;
    }

    public String getBillNumber() {
        return billNumber;
    }

    public void setBillNumber(String billNumber) {
        this.billNumber = billNumber;
    }

    public String getStoreLabel() {
        return storeLabel;
    }

    public void setStoreLabel(String storeLabel) {
        this.storeLabel = storeLabel;
    }

    public String getTerminalLabel() {
        return terminalLabel;
    }

    public void setTerminalLabel(String terminalLabel) {
        this.terminalLabel = terminalLabel;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getCrc() {
        return crc;
    }

    public void setCrc(String crc) {
        this.crc = crc;
    }

    public String getPayloadFormatIndicator() {
        return payloadFormatIndicator;
    }

    public String getMobileNumber() {
        return mobileNumber;
    }

    public void setMobileNumber(String mobileNumber) {
        this.mobileNumber = mobileNumber;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getAcquiringBank() {
        return acquiringBank;
    }

    public void setAcquiringBank(String acquiringBank) {
        this.acquiringBank = acquiringBank;
    }

    public String getAccountInformation() {
        return accountInformation;
    }

    public void setAccountInformation(String accountInformation) {
        this.accountInformation = accountInformation;
    }

    public String getUpiAccountInformation() {
        return upiAccountInformation;
    }

    public void setUpiAccountInformation(String upiAccountInformation) {
        this.upiAccountInformation = upiAccountInformation;
    }

    public String getPurposeOfTransaction() {
        return purposeOfTransaction;
    }

    public void setPurposeOfTransaction(String purposeOfTransaction) {
        this.purposeOfTransaction = purposeOfTransaction;
    }

    public String getMerchantAlternateLanguagePreference() {
        return merchantAlternateLanguagePreference;
    }

    public void setMerchantAlternateLanguagePreference(String merchantAlternateLanguagePreference) {
        this.merchantAlternateLanguagePreference = merchantAlternateLanguagePreference;
    }

    public String getMerchantNameAlternateLanguage() {
        return merchantNameAlternateLanguage;
    }

    public void setMerchantNameAlternateLanguage(String merchantNameAlternateLanguage) {
        this.merchantNameAlternateLanguage = merchantNameAlternateLanguage;
    }

    public String getMerchantCityAlternateLanguage() {
        return merchantCityAlternateLanguage;
    }

    public void setMerchantCityAlternateLanguage(String merchantCityAlternateLanguage) {
        this.merchantCityAlternateLanguage = merchantCityAlternateLanguage;
    }

    @Override
    public String toString() {
        return "KHQRDecodeData{\n" +
                "     payloadFormatIndicator='" + payloadFormatIndicator + "',\n" +
                "     pointOfInitiationMethod='" + pointOfInitiationMethod + "',\n" +
                "     merchantType='" + merchantType + "',\n" +
                "     bakongAccountID='" + bakongAccountID + "',\n" +
                "     merchantId='" + merchantId + "',\n" +
                "     accountInformation='" + accountInformation + "',\n" +
                "     upiAccountInformation='" + upiAccountInformation + "'\n" +
                "     acquiringBank='" + acquiringBank + "',\n" +
                "     merchantCategoryCode='" + merchantCategoryCode + "',\n" +
                "     countryCode='" + countryCode + "',\n" +
                "     merchantName='" + merchantName + "',\n" +
                "     merchantCity='" + merchantCity + "',\n" +
                "     transactionCurrency='" + transactionCurrency + "',\n" +
                "     transactionAmount='" + transactionAmount + "',\n" +
                "     billNumber='" + billNumber + "',\n" +
                "     mobileNumber='" + mobileNumber + "',\n" +
                "     storeLabel='" + storeLabel + "',\n" +
                "     terminalLabel='" + terminalLabel + "',\n" +
                "     purposeOfTransaction='" + purposeOfTransaction + "',\n" +
                "     merchantAlternateLanguagePreference='" + merchantAlternateLanguagePreference + "'\n" +
                "     merchantNameAlternateLanguage='" + merchantNameAlternateLanguage + "'\n" +
                "     merchantCityAlternateLanguage='" + merchantCityAlternateLanguage + "'\n" +
                "     timestamp='" + timestamp + "',\n" +
                "     crc='" + crc + "'\n" +
                "  }";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy