
com.github.devnied.emvnfccard.model.EmvTrack1 Maven / Gradle / Ivy
The newest version!
/*
* Copyright (C) 2019 MILLAU Julien
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.devnied.emvnfccard.model;
import java.util.Date;
/**
* Track 1 data
*
* @author MILLAU julien
*
*/
public class EmvTrack1 extends AbstractData {
/**
* Generated serial UID
*/
private static final long serialVersionUID = 6619730513813482135L;
/**
* Raw track 1 data
*/
private byte[] raw;
/**
* Format code
*/
private String formatCode;
/**
* Card number
*/
private String cardNumber;
/**
* Expiration date
*/
private Date expireDate;
/**
* Holder Lastname
*/
private String holderLastname;
/**
* Holder Firstname
*/
private String holderFirstname;
/**
* Card services
*/
private Service service;
/**
* @return the raw
*/
public byte[] getRaw() {
return raw;
}
/**
* @param raw
* the raw to set
*/
public void setRaw(final byte[] raw) {
this.raw = raw;
}
/**
* @return the cardNumber
*/
public String getCardNumber() {
return cardNumber;
}
/**
* @param cardNumber
* the cardNumber to set
*/
public void setCardNumber(final String cardNumber) {
this.cardNumber = cardNumber;
}
/**
* @return the expireDate
*/
public Date getExpireDate() {
return expireDate;
}
/**
* @param expireDate
* the expireDate to set
*/
public void setExpireDate(final Date expireDate) {
this.expireDate = expireDate;
}
/**
* @return the formatCode
*/
public String getFormatCode() {
return formatCode;
}
/**
* @param formatCode
* the formatCode to set
*/
public void setFormatCode(final String formatCode) {
this.formatCode = formatCode;
}
/**
* @return the holderLastname
*/
public String getHolderLastname() {
return holderLastname;
}
/**
* @param holderLastname
* the holderLastname to set
*/
public void setHolderLastname(final String holderLastname) {
this.holderLastname = holderLastname;
}
/**
* @return the holderFirstname
*/
public String getHolderFirstname() {
return holderFirstname;
}
/**
* @param holderFirstname
* the holderFirstname to set
*/
public void setHolderFirstname(final String holderFirstname) {
this.holderFirstname = holderFirstname;
}
/**
* @return the service
*/
public Service getService() {
return service;
}
/**
* @param service
* the service to set
*/
public void setService(final Service service) {
this.service = service;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy