
Model.TmsNetworkTokenServices Maven / Gradle / Ivy
/*
* CyberSource Merged Spec
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package Model;
import java.util.Objects;
import java.util.Arrays;
import Model.TmsNetworkTokenServicesAmericanExpressTokenService;
import Model.TmsNetworkTokenServicesMastercardDigitalEnablementService;
import Model.TmsNetworkTokenServicesNotifications;
import Model.TmsNetworkTokenServicesPaymentCredentials;
import Model.TmsNetworkTokenServicesSynchronousProvisioning;
import Model.TmsNetworkTokenServicesVisaTokenService;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* TmsNetworkTokenServices
*/
public class TmsNetworkTokenServices {
@SerializedName("notifications")
private TmsNetworkTokenServicesNotifications notifications = null;
@SerializedName("paymentCredentials")
private TmsNetworkTokenServicesPaymentCredentials paymentCredentials = null;
@SerializedName("synchronousProvisioning")
private TmsNetworkTokenServicesSynchronousProvisioning synchronousProvisioning = null;
@SerializedName("visaTokenService")
private TmsNetworkTokenServicesVisaTokenService visaTokenService = null;
@SerializedName("mastercardDigitalEnablementService")
private TmsNetworkTokenServicesMastercardDigitalEnablementService mastercardDigitalEnablementService = null;
@SerializedName("americanExpressTokenService")
private TmsNetworkTokenServicesAmericanExpressTokenService americanExpressTokenService = null;
public TmsNetworkTokenServices notifications(TmsNetworkTokenServicesNotifications notifications) {
this.notifications = notifications;
return this;
}
/**
* Get notifications
* @return notifications
**/
@ApiModelProperty(value = "")
public TmsNetworkTokenServicesNotifications getNotifications() {
return notifications;
}
public void setNotifications(TmsNetworkTokenServicesNotifications notifications) {
this.notifications = notifications;
}
public TmsNetworkTokenServices paymentCredentials(TmsNetworkTokenServicesPaymentCredentials paymentCredentials) {
this.paymentCredentials = paymentCredentials;
return this;
}
/**
* Get paymentCredentials
* @return paymentCredentials
**/
@ApiModelProperty(value = "")
public TmsNetworkTokenServicesPaymentCredentials getPaymentCredentials() {
return paymentCredentials;
}
public void setPaymentCredentials(TmsNetworkTokenServicesPaymentCredentials paymentCredentials) {
this.paymentCredentials = paymentCredentials;
}
public TmsNetworkTokenServices synchronousProvisioning(TmsNetworkTokenServicesSynchronousProvisioning synchronousProvisioning) {
this.synchronousProvisioning = synchronousProvisioning;
return this;
}
/**
* Get synchronousProvisioning
* @return synchronousProvisioning
**/
@ApiModelProperty(value = "")
public TmsNetworkTokenServicesSynchronousProvisioning getSynchronousProvisioning() {
return synchronousProvisioning;
}
public void setSynchronousProvisioning(TmsNetworkTokenServicesSynchronousProvisioning synchronousProvisioning) {
this.synchronousProvisioning = synchronousProvisioning;
}
public TmsNetworkTokenServices visaTokenService(TmsNetworkTokenServicesVisaTokenService visaTokenService) {
this.visaTokenService = visaTokenService;
return this;
}
/**
* Get visaTokenService
* @return visaTokenService
**/
@ApiModelProperty(value = "")
public TmsNetworkTokenServicesVisaTokenService getVisaTokenService() {
return visaTokenService;
}
public void setVisaTokenService(TmsNetworkTokenServicesVisaTokenService visaTokenService) {
this.visaTokenService = visaTokenService;
}
public TmsNetworkTokenServices mastercardDigitalEnablementService(TmsNetworkTokenServicesMastercardDigitalEnablementService mastercardDigitalEnablementService) {
this.mastercardDigitalEnablementService = mastercardDigitalEnablementService;
return this;
}
/**
* Get mastercardDigitalEnablementService
* @return mastercardDigitalEnablementService
**/
@ApiModelProperty(value = "")
public TmsNetworkTokenServicesMastercardDigitalEnablementService getMastercardDigitalEnablementService() {
return mastercardDigitalEnablementService;
}
public void setMastercardDigitalEnablementService(TmsNetworkTokenServicesMastercardDigitalEnablementService mastercardDigitalEnablementService) {
this.mastercardDigitalEnablementService = mastercardDigitalEnablementService;
}
public TmsNetworkTokenServices americanExpressTokenService(TmsNetworkTokenServicesAmericanExpressTokenService americanExpressTokenService) {
this.americanExpressTokenService = americanExpressTokenService;
return this;
}
/**
* Get americanExpressTokenService
* @return americanExpressTokenService
**/
@ApiModelProperty(value = "")
public TmsNetworkTokenServicesAmericanExpressTokenService getAmericanExpressTokenService() {
return americanExpressTokenService;
}
public void setAmericanExpressTokenService(TmsNetworkTokenServicesAmericanExpressTokenService americanExpressTokenService) {
this.americanExpressTokenService = americanExpressTokenService;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TmsNetworkTokenServices tmsNetworkTokenServices = (TmsNetworkTokenServices) o;
return Objects.equals(this.notifications, tmsNetworkTokenServices.notifications) &&
Objects.equals(this.paymentCredentials, tmsNetworkTokenServices.paymentCredentials) &&
Objects.equals(this.synchronousProvisioning, tmsNetworkTokenServices.synchronousProvisioning) &&
Objects.equals(this.visaTokenService, tmsNetworkTokenServices.visaTokenService) &&
Objects.equals(this.mastercardDigitalEnablementService, tmsNetworkTokenServices.mastercardDigitalEnablementService) &&
Objects.equals(this.americanExpressTokenService, tmsNetworkTokenServices.americanExpressTokenService);
}
@Override
public int hashCode() {
return Objects.hash(notifications, paymentCredentials, synchronousProvisioning, visaTokenService, mastercardDigitalEnablementService, americanExpressTokenService);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TmsNetworkTokenServices {\n");
if (notifications != null) sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n");
if (paymentCredentials != null) sb.append(" paymentCredentials: ").append(toIndentedString(paymentCredentials)).append("\n");
if (synchronousProvisioning != null) sb.append(" synchronousProvisioning: ").append(toIndentedString(synchronousProvisioning)).append("\n");
if (visaTokenService != null) sb.append(" visaTokenService: ").append(toIndentedString(visaTokenService)).append("\n");
if (mastercardDigitalEnablementService != null) sb.append(" mastercardDigitalEnablementService: ").append(toIndentedString(mastercardDigitalEnablementService)).append("\n");
if (americanExpressTokenService != null) sb.append(" americanExpressTokenService: ").append(toIndentedString(americanExpressTokenService)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
// return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy