com.mozu.api.contracts.paymentservice.GatewayDefinition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mozu-api-core Show documentation
Show all versions of mozu-api-core Show documentation
Mozu Java is a SDK that enables you to create robust Java applications that integrate with the Mozu platform
/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.contracts.paymentservice;
import java.util.List;
import java.util.HashMap;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.joda.time.DateTime;
import java.io.IOException;
import java.lang.ClassNotFoundException;
import com.mozu.api.contracts.paymentservice.GatewayCredentialFieldDefinition;
import com.mozu.api.contracts.paymentservice.PreAuthorizeDefinition;
import com.mozu.api.contracts.paymentservice.SupportedCard;
/**
* Properties of the payment gateway.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class GatewayDefinition implements Serializable
{
// Default Serial Version UID
private static final long serialVersionUID = 1L;
protected String countryCode;
public String getCountryCode() {
return this.countryCode;
}
public void setCountryCode(String countryCode) {
this.countryCode = countryCode;
}
/**
* features ApiType DOCUMENT_HERE
*/
protected List features;
public List getFeatures() {
return this.features;
}
public void setFeatures(List features) {
this.features = features;
}
protected String id;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
protected String integrationImplTypeName;
public String getIntegrationImplTypeName() {
return this.integrationImplTypeName;
}
public void setIntegrationImplTypeName(String integrationImplTypeName) {
this.integrationImplTypeName = integrationImplTypeName;
}
protected String name;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
protected String prodServiceURL;
public String getProdServiceURL() {
return this.prodServiceURL;
}
public void setProdServiceURL(String prodServiceURL) {
this.prodServiceURL = prodServiceURL;
}
protected String testServiceURL;
public String getTestServiceURL() {
return this.testServiceURL;
}
public void setTestServiceURL(String testServiceURL) {
this.testServiceURL = testServiceURL;
}
protected transient com.fasterxml.jackson.databind.JsonNode administationUi;
public com.fasterxml.jackson.databind.JsonNode getAdministationUi() {
return this.administationUi;
}
public void setAdministationUi(com.fasterxml.jackson.databind.JsonNode administationUi) {
this.administationUi = administationUi;
}
protected List credentialDefinitions;
public List getCredentialDefinitions() {
return this.credentialDefinitions;
}
public void setCredentialDefinitions(List credentialDefinitions) {
this.credentialDefinitions = credentialDefinitions;
}
protected PreAuthorizeDefinition preAuthorizeDefinition;
public PreAuthorizeDefinition getPreAuthorizeDefinition() {
return this.preAuthorizeDefinition;
}
public void setPreAuthorizeDefinition(PreAuthorizeDefinition preAuthorizeDefinition) {
this.preAuthorizeDefinition = preAuthorizeDefinition;
}
protected List supportedCards;
public List getSupportedCards() {
return this.supportedCards;
}
public void setSupportedCards(List supportedCards) {
this.supportedCards = supportedCards;
}
private void writeObject(java.io.ObjectOutputStream out) throws IOException {
out.defaultWriteObject();
if(administationUi == null){
out.writeBoolean(false);
} else {
out.writeBoolean(true);
new com.fasterxml.jackson.databind.ObjectMapper().configure(com.fasterxml.jackson.core.JsonGenerator.Feature.AUTO_CLOSE_TARGET, false).writeValue(out, administationUi);
}
}
private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {
in.defaultReadObject();
if(in.readBoolean()){
this.administationUi = new com.fasterxml.jackson.databind.ObjectMapper().configure(com.fasterxml.jackson.core.JsonParser.Feature.AUTO_CLOSE_SOURCE, false).readValue(in, com.fasterxml.jackson.databind.JsonNode.class);
}
}
}