com.clover.remote.client.messages.ActivityMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of remote-pay-java-connector Show documentation
Show all versions of remote-pay-java-connector Show documentation
Clover Connector Java library
package com.clover.remote.client.messages;
/**
* Base class for custom activity message communication
*/
@SuppressWarnings(value="unused")
public class ActivityMessage {
private final String action;
private final String payload;
/**
* Constructor
*
* @param action the custom activity action
* @param payload the custom activity payload
*/
public ActivityMessage(String action, String payload) {
this.action = action;
this.payload = payload;
}
/**
* Get the field value
*
* @return the custom activity action
*/
public String getAction() {
return this.action;
}
/**
* Get the field value
*
* @return the custom activity payload
*/
public String getPayload() {
return this.payload;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy