com.global.api.network.entities.nts.NtsRequestMessageHeader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of globalpayments-sdk Show documentation
Show all versions of globalpayments-sdk Show documentation
API for processing payments through Global Payments
package com.global.api.network.entities.nts;
import com.global.api.entities.enums.NtsMessageCode;
import com.global.api.entities.enums.PinIndicator;
import com.global.api.network.entities.PriorMessageInformation;
import lombok.Getter;
import lombok.Setter;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
public class NtsRequestMessageHeader {
@Getter
@Setter
private String terminalDestinationTag;
@Getter
@Setter
private PinIndicator pinIndicator;
@Getter
@Setter
private NtsMessageCode ntsMessageCode;
@Getter
@Setter
private String transactionDate = DateTime.now(DateTimeZone.UTC).toString("MMdd");
@Getter
@Setter
private String transactionTime = DateTime.now(DateTimeZone.UTC).toString("HHmmss");
@Getter
@Setter
private PriorMessageInformation priorMessageInformation;
}