Model.Ptsv2paymentsidcapturesMerchantInformation 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.Ptsv2paymentsMerchantInformationMerchantDescriptor;
import Model.Ptsv2paymentsMerchantInformationServiceFeeDescriptor;
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;
/**
* Ptsv2paymentsidcapturesMerchantInformation
*/
public class Ptsv2paymentsidcapturesMerchantInformation {
@SerializedName("merchantDescriptor")
private Ptsv2paymentsMerchantInformationMerchantDescriptor merchantDescriptor = null;
@SerializedName("cardAcceptorReferenceNumber")
private String cardAcceptorReferenceNumber = null;
@SerializedName("categoryCode")
private Integer categoryCode = null;
@SerializedName("vatRegistrationNumber")
private String vatRegistrationNumber = null;
@SerializedName("serviceFeeDescriptor")
private Ptsv2paymentsMerchantInformationServiceFeeDescriptor serviceFeeDescriptor = null;
@SerializedName("taxId")
private String taxId = null;
public Ptsv2paymentsidcapturesMerchantInformation merchantDescriptor(Ptsv2paymentsMerchantInformationMerchantDescriptor merchantDescriptor) {
this.merchantDescriptor = merchantDescriptor;
return this;
}
/**
* Get merchantDescriptor
* @return merchantDescriptor
**/
@ApiModelProperty(value = "")
public Ptsv2paymentsMerchantInformationMerchantDescriptor getMerchantDescriptor() {
return merchantDescriptor;
}
public void setMerchantDescriptor(Ptsv2paymentsMerchantInformationMerchantDescriptor merchantDescriptor) {
this.merchantDescriptor = merchantDescriptor;
}
public Ptsv2paymentsidcapturesMerchantInformation cardAcceptorReferenceNumber(String cardAcceptorReferenceNumber) {
this.cardAcceptorReferenceNumber = cardAcceptorReferenceNumber;
return this;
}
/**
* Reference number that facilitates card acceptor/corporation communication and record keeping.
* @return cardAcceptorReferenceNumber
**/
@ApiModelProperty(value = "Reference number that facilitates card acceptor/corporation communication and record keeping. ")
public String getCardAcceptorReferenceNumber() {
return cardAcceptorReferenceNumber;
}
public void setCardAcceptorReferenceNumber(String cardAcceptorReferenceNumber) {
this.cardAcceptorReferenceNumber = cardAcceptorReferenceNumber;
}
public Ptsv2paymentsidcapturesMerchantInformation 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 Ptsv2paymentsidcapturesMerchantInformation 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 Ptsv2paymentsidcapturesMerchantInformation serviceFeeDescriptor(Ptsv2paymentsMerchantInformationServiceFeeDescriptor serviceFeeDescriptor) {
this.serviceFeeDescriptor = serviceFeeDescriptor;
return this;
}
/**
* Get serviceFeeDescriptor
* @return serviceFeeDescriptor
**/
@ApiModelProperty(value = "")
public Ptsv2paymentsMerchantInformationServiceFeeDescriptor getServiceFeeDescriptor() {
return serviceFeeDescriptor;
}
public void setServiceFeeDescriptor(Ptsv2paymentsMerchantInformationServiceFeeDescriptor serviceFeeDescriptor) {
this.serviceFeeDescriptor = serviceFeeDescriptor;
}
public Ptsv2paymentsidcapturesMerchantInformation taxId(String taxId) {
this.taxId = taxId;
return this;
}
/**
* Your Cadastro Nacional da Pessoa Jurídica (CNPJ) number. This field is supported only for BNDES transactions on CyberSource through VisaNet. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR6 - Position: 40-59 - Field: BNDES Reference Field 1
* @return taxId
**/
@ApiModelProperty(value = "Your Cadastro Nacional da Pessoa Jurídica (CNPJ) number. This field is supported only for BNDES transactions on CyberSource through VisaNet. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR6 - Position: 40-59 - Field: BNDES Reference Field 1 ")
public String getTaxId() {
return taxId;
}
public void setTaxId(String taxId) {
this.taxId = taxId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Ptsv2paymentsidcapturesMerchantInformation ptsv2paymentsidcapturesMerchantInformation = (Ptsv2paymentsidcapturesMerchantInformation) o;
return Objects.equals(this.merchantDescriptor, ptsv2paymentsidcapturesMerchantInformation.merchantDescriptor) &&
Objects.equals(this.cardAcceptorReferenceNumber, ptsv2paymentsidcapturesMerchantInformation.cardAcceptorReferenceNumber) &&
Objects.equals(this.categoryCode, ptsv2paymentsidcapturesMerchantInformation.categoryCode) &&
Objects.equals(this.vatRegistrationNumber, ptsv2paymentsidcapturesMerchantInformation.vatRegistrationNumber) &&
Objects.equals(this.serviceFeeDescriptor, ptsv2paymentsidcapturesMerchantInformation.serviceFeeDescriptor) &&
Objects.equals(this.taxId, ptsv2paymentsidcapturesMerchantInformation.taxId);
}
@Override
public int hashCode() {
return Objects.hash(merchantDescriptor, cardAcceptorReferenceNumber, categoryCode, vatRegistrationNumber, serviceFeeDescriptor, taxId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Ptsv2paymentsidcapturesMerchantInformation {\n");
sb.append(" merchantDescriptor: ").append(toIndentedString(merchantDescriptor)).append("\n");
sb.append(" cardAcceptorReferenceNumber: ").append(toIndentedString(cardAcceptorReferenceNumber)).append("\n");
sb.append(" categoryCode: ").append(toIndentedString(categoryCode)).append("\n");
sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n");
sb.append(" serviceFeeDescriptor: ").append(toIndentedString(serviceFeeDescriptor)).append("\n");
sb.append(" taxId: ").append(toIndentedString(taxId)).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