
Model.Ptsv2payoutsMerchantInformation 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.Ptsv2payoutsMerchantInformationMerchantDescriptor;
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;
/**
* Ptsv2payoutsMerchantInformation
*/
public class Ptsv2payoutsMerchantInformation {
@SerializedName("categoryCode")
private Integer categoryCode = null;
@SerializedName("submitLocalDateTime")
private String submitLocalDateTime = null;
@SerializedName("vatRegistrationNumber")
private String vatRegistrationNumber = null;
@SerializedName("merchantDescriptor")
private Ptsv2payoutsMerchantInformationMerchantDescriptor merchantDescriptor = null;
public Ptsv2payoutsMerchantInformation categoryCode(Integer categoryCode) {
this.categoryCode = categoryCode;
return this;
}
/**
* The value for this field is a four-digit number that the payment card industry uses to classify merchants into market segments. A payment card company assigned one or more of these values to your business when you started accepting the payment card company's cards. When you do not include this field in your request, CyberSource uses the value in your CyberSource account. #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR4 - Position: 150-153 - Field: Merchant Category Code
* maximum: 9999
* @return categoryCode
**/
@ApiModelProperty(value = "The value for this field is a four-digit number that the payment card industry uses to classify merchants into market segments. A payment card company assigned one or more of these values to your business when you started accepting the payment card company's cards. When you do not include this field in your request, CyberSource uses the value in your CyberSource account. #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR4 - Position: 150-153 - Field: Merchant Category Code ")
public Integer getCategoryCode() {
return categoryCode;
}
public void setCategoryCode(Integer categoryCode) {
this.categoryCode = categoryCode;
}
public Ptsv2payoutsMerchantInformation submitLocalDateTime(String submitLocalDateTime) {
this.submitLocalDateTime = submitLocalDateTime;
return this;
}
/**
* Time that the transaction was submitted in local time. The time is in hhmmss format.
* @return submitLocalDateTime
**/
@ApiModelProperty(value = "Time that the transaction was submitted in local time. The time is in hhmmss format. ")
public String getSubmitLocalDateTime() {
return submitLocalDateTime;
}
public void setSubmitLocalDateTime(String submitLocalDateTime) {
this.submitLocalDateTime = submitLocalDateTime;
}
public Ptsv2payoutsMerchantInformation vatRegistrationNumber(String vatRegistrationNumber) {
this.vatRegistrationNumber = vatRegistrationNumber;
return this;
}
/**
* Your government-assigned tax identification number. #### Tax Calculation Required field for value added tax only. Not applicable to U.S. and Canadian taxes. #### CyberSource through VisaNet For CtV processors, the maximum length is 20.
* @return vatRegistrationNumber
**/
@ApiModelProperty(value = "Your government-assigned tax identification number. #### Tax Calculation Required field for value added tax only. Not applicable to U.S. and Canadian taxes. #### CyberSource through VisaNet For CtV processors, the maximum length is 20. ")
public String getVatRegistrationNumber() {
return vatRegistrationNumber;
}
public void setVatRegistrationNumber(String vatRegistrationNumber) {
this.vatRegistrationNumber = vatRegistrationNumber;
}
public Ptsv2payoutsMerchantInformation merchantDescriptor(Ptsv2payoutsMerchantInformationMerchantDescriptor merchantDescriptor) {
this.merchantDescriptor = merchantDescriptor;
return this;
}
/**
* Get merchantDescriptor
* @return merchantDescriptor
**/
@ApiModelProperty(value = "")
public Ptsv2payoutsMerchantInformationMerchantDescriptor getMerchantDescriptor() {
return merchantDescriptor;
}
public void setMerchantDescriptor(Ptsv2payoutsMerchantInformationMerchantDescriptor merchantDescriptor) {
this.merchantDescriptor = merchantDescriptor;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Ptsv2payoutsMerchantInformation ptsv2payoutsMerchantInformation = (Ptsv2payoutsMerchantInformation) o;
return Objects.equals(this.categoryCode, ptsv2payoutsMerchantInformation.categoryCode) &&
Objects.equals(this.submitLocalDateTime, ptsv2payoutsMerchantInformation.submitLocalDateTime) &&
Objects.equals(this.vatRegistrationNumber, ptsv2payoutsMerchantInformation.vatRegistrationNumber) &&
Objects.equals(this.merchantDescriptor, ptsv2payoutsMerchantInformation.merchantDescriptor);
}
@Override
public int hashCode() {
return Objects.hash(categoryCode, submitLocalDateTime, vatRegistrationNumber, merchantDescriptor);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Ptsv2payoutsMerchantInformation {\n");
if (categoryCode != null) sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n");
if (submitLocalDateTime != null) sb.append(" submitLocalDateTime: ").append(toIndentedString(submitLocalDateTime)).append("\n");
if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n");
if (merchantDescriptor != null) sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).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