Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* 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.CardProcessingConfigCommonMerchantDescriptorInformation;
import Model.CardProcessingConfigCommonProcessors;
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;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* CardProcessingConfigCommon
*/
public class CardProcessingConfigCommon {
@SerializedName("processors")
private Map processors = null;
@SerializedName("amexVendorCode")
private String amexVendorCode = null;
@SerializedName("defaultAuthTypeCode")
private String defaultAuthTypeCode = null;
@SerializedName("masterCardAssignedId")
private String masterCardAssignedId = null;
@SerializedName("enablePartialAuth")
private Boolean enablePartialAuth = null;
@SerializedName("merchantCategoryCode")
private String merchantCategoryCode = null;
@SerializedName("sicCode")
private String sicCode = null;
@SerializedName("foodAndConsumerServiceId")
private String foodAndConsumerServiceId = null;
@SerializedName("enableSplitShipment")
private Boolean enableSplitShipment = null;
@SerializedName("enableInterchangeOptimization")
private Boolean enableInterchangeOptimization = null;
@SerializedName("visaDelegatedAuthenticationId")
private String visaDelegatedAuthenticationId = null;
@SerializedName("creditCardRefundLimitPercent")
private String creditCardRefundLimitPercent = null;
@SerializedName("businessCenterCreditCardRefundLimitPercent")
private String businessCenterCreditCardRefundLimitPercent = null;
@SerializedName("allowCapturesGreaterThanAuthorizations")
private Boolean allowCapturesGreaterThanAuthorizations = null;
@SerializedName("enableDuplicateMerchantReferenceNumberBlocking")
private Boolean enableDuplicateMerchantReferenceNumberBlocking = null;
@SerializedName("domesticMerchantId")
private Boolean domesticMerchantId = null;
@SerializedName("processLevel3Data")
private String processLevel3Data = null;
@SerializedName("subMerchantId")
private String subMerchantId = null;
@SerializedName("subMerchantBusinessName")
private String subMerchantBusinessName = null;
@SerializedName("preferCobadgedSecondaryBrand")
private Boolean preferCobadgedSecondaryBrand = null;
@SerializedName("merchantDescriptorInformation")
private CardProcessingConfigCommonMerchantDescriptorInformation merchantDescriptorInformation = null;
@SerializedName("governmentControlled")
private Boolean governmentControlled = null;
@SerializedName("dropBillingInfo")
private Boolean dropBillingInfo = null;
public CardProcessingConfigCommon processors(Map processors) {
this.processors = processors;
return this;
}
public CardProcessingConfigCommon putProcessorsItem(String key, CardProcessingConfigCommonProcessors processorsItem) {
if (this.processors == null) {
this.processors = new HashMap();
}
this.processors.put(key, processorsItem);
return this;
}
/**
* e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpngsapv3 * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with <your vpc processor>
* @return processors
**/
@ApiModelProperty(value = "e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpngsapv3 * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with <your vpc processor> ")
public Map getProcessors() {
return processors;
}
public void setProcessors(Map processors) {
this.processors = processors;
}
public CardProcessingConfigCommon amexVendorCode(String amexVendorCode) {
this.amexVendorCode = amexVendorCode;
return this;
}
/**
* Vendor code assigned by American Express. Applicable for TSYS (tsys) processor.
* @return amexVendorCode
**/
@ApiModelProperty(value = "Vendor code assigned by American Express. Applicable for TSYS (tsys) processor.")
public String getAmexVendorCode() {
return amexVendorCode;
}
public void setAmexVendorCode(String amexVendorCode) {
this.amexVendorCode = amexVendorCode;
}
public CardProcessingConfigCommon defaultAuthTypeCode(String defaultAuthTypeCode) {
this.defaultAuthTypeCode = defaultAuthTypeCode;
return this;
}
/**
* Authorization Finality indicator. Please note that the input can be in small case or capitals but response is in small case as of now. It will be made capitals everywhere in the next version. Applicable for Elavon Americas (elavonamericas), TSYS (tsys), Barclays (barclays2), Streamline (streamline2), Six (six), Barclays HISO (barclayshiso), GPN (gpn), FDI Global (fdiglobal), GPX (gpx), Paymentech Tampa (paymentechtampa), FDC Nashville (smartfdc), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>FINAL</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td><td>FINAL</td></tr> </table> Possible values: - PRE - FINAL - UNDEFINED
* @return defaultAuthTypeCode
**/
@ApiModelProperty(value = "Authorization Finality indicator. Please note that the input can be in small case or capitals but response is in small case as of now. It will be made capitals everywhere in the next version. Applicable for Elavon Americas (elavonamericas), TSYS (tsys), Barclays (barclays2), Streamline (streamline2), Six (six), Barclays HISO (barclayshiso), GPN (gpn), FDI Global (fdiglobal), GPX (gpx), Paymentech Tampa (paymentechtampa), FDC Nashville (smartfdc), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)...
Processor
Acceptance Type
Required
Default Value
Barclays
cnp, cp, hybrid
No
FINAL
Barclays HISO
cnp, cp, hybrid
Yes
FINAL
Possible values: - PRE - FINAL - UNDEFINED")
public String getDefaultAuthTypeCode() {
return defaultAuthTypeCode;
}
public void setDefaultAuthTypeCode(String defaultAuthTypeCode) {
this.defaultAuthTypeCode = defaultAuthTypeCode;
}
public CardProcessingConfigCommon masterCardAssignedId(String masterCardAssignedId) {
this.masterCardAssignedId = masterCardAssignedId;
return this;
}
/**
* MAID aka MasterCard assigned ID, MasterCard equivalent of Merchant Verification Value by Visa. Applicable for VPC, GPX (gpx) and FDI Global (fdiglobal) processors.
* @return masterCardAssignedId
**/
@ApiModelProperty(value = "MAID aka MasterCard assigned ID, MasterCard equivalent of Merchant Verification Value by Visa. Applicable for VPC, GPX (gpx) and FDI Global (fdiglobal) processors.")
public String getMasterCardAssignedId() {
return masterCardAssignedId;
}
public void setMasterCardAssignedId(String masterCardAssignedId) {
this.masterCardAssignedId = masterCardAssignedId;
}
public CardProcessingConfigCommon enablePartialAuth(Boolean enablePartialAuth) {
this.enablePartialAuth = enablePartialAuth;
return this;
}
/**
* Allow merchants to accept partial authorization approvals. Applicable for Elavon Americas (elavonamericas), VPC, GPX (gpx), FDI Global (fdiglobal), FDC Nashville (smartfdc), GPN (gpn), TSYS (tsys), American Express Direct (amexdirect), Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>No</td></tr> </table>
* @return enablePartialAuth
**/
@ApiModelProperty(value = "Allow merchants to accept partial authorization approvals. Applicable for Elavon Americas (elavonamericas), VPC, GPX (gpx), FDI Global (fdiglobal), FDC Nashville (smartfdc), GPN (gpn), TSYS (tsys), American Express Direct (amexdirect), Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)...
Processor
Acceptance Type
Required
Default Value
American Express Direct
cnp, cp, hybrid
No
No
")
public Boolean EnablePartialAuth() {
return enablePartialAuth;
}
public void setEnablePartialAuth(Boolean enablePartialAuth) {
this.enablePartialAuth = enablePartialAuth;
}
public CardProcessingConfigCommon merchantCategoryCode(String merchantCategoryCode) {
this.merchantCategoryCode = merchantCategoryCode;
return this;
}
/**
* Indicates type of business product or service of the merchant. Applicable for Chase Paymentech Salem (chasepaymentechsalem), FDI Global (fdiglobal), RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect), CMCIC (cmcic), GPX (gpx), VPC, TSYS (tsys), EFTPOS, CUP, Paymentech Tampa (paymentechtampa), CB2A, Barclays (barclays2), Prisma (prisma) and GPN (gpn) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays</td><td>cnp</td><td>No</td><td>4</td><td>4</td><td>^[0-9]+$</td></tr> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>4</td><td>4</td><td>^[0-9]+$</td></tr> </table>
* @return merchantCategoryCode
**/
@ApiModelProperty(value = "Indicates type of business product or service of the merchant. Applicable for Chase Paymentech Salem (chasepaymentechsalem), FDI Global (fdiglobal), RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect), CMCIC (cmcic), GPX (gpx), VPC, TSYS (tsys), EFTPOS, CUP, Paymentech Tampa (paymentechtampa), CB2A, Barclays (barclays2), Prisma (prisma) and GPN (gpn) processors. Validation details (for selected processors)...
Processor
Acceptance Type
Required
Min. Length
Max. Length
Regex
Barclays
cnp
No
4
4
^[0-9]+$
American Express Direct
cnp, cp, hybrid
Yes
4
4
^[0-9]+$
")
public String getMerchantCategoryCode() {
return merchantCategoryCode;
}
public void setMerchantCategoryCode(String merchantCategoryCode) {
this.merchantCategoryCode = merchantCategoryCode;
}
public CardProcessingConfigCommon sicCode(String sicCode) {
this.sicCode = sicCode;
return this;
}
/**
* The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors.
* @return sicCode
**/
@ApiModelProperty(value = "The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors.")
public String getSicCode() {
return sicCode;
}
public void setSicCode(String sicCode) {
this.sicCode = sicCode;
}
public CardProcessingConfigCommon foodAndConsumerServiceId(String foodAndConsumerServiceId) {
this.foodAndConsumerServiceId = foodAndConsumerServiceId;
return this;
}
/**
* Food and Consumer Service ID. Identifies the merchant as being certified and approved to accept Food Stamps. Applicable for GPX (gpx) processor.
* @return foodAndConsumerServiceId
**/
@ApiModelProperty(value = "Food and Consumer Service ID. Identifies the merchant as being certified and approved to accept Food Stamps. Applicable for GPX (gpx) processor.")
public String getFoodAndConsumerServiceId() {
return foodAndConsumerServiceId;
}
public void setFoodAndConsumerServiceId(String foodAndConsumerServiceId) {
this.foodAndConsumerServiceId = foodAndConsumerServiceId;
}
public CardProcessingConfigCommon enableSplitShipment(Boolean enableSplitShipment) {
this.enableSplitShipment = enableSplitShipment;
return this;
}
/**
* Enables you to split an order into multiple shipments with multiple captures. This feature is provided by CyberSource and supports three different scenarios: * multiple authorizations * multiple captures * multiple authorizations with multiple captures Applicable for VPC processors.
* @return enableSplitShipment
**/
@ApiModelProperty(value = "Enables you to split an order into multiple shipments with multiple captures. This feature is provided by CyberSource and supports three different scenarios: * multiple authorizations * multiple captures * multiple authorizations with multiple captures Applicable for VPC processors. ")
public Boolean EnableSplitShipment() {
return enableSplitShipment;
}
public void setEnableSplitShipment(Boolean enableSplitShipment) {
this.enableSplitShipment = enableSplitShipment;
}
public CardProcessingConfigCommon enableInterchangeOptimization(Boolean enableInterchangeOptimization) {
this.enableInterchangeOptimization = enableInterchangeOptimization;
return this;
}
/**
* Reduces your interchange fees by using automatic authorization refresh and automatic partial authorization reversal. Applicable for VPC processors.
* @return enableInterchangeOptimization
**/
@ApiModelProperty(value = "Reduces your interchange fees by using automatic authorization refresh and automatic partial authorization reversal. Applicable for VPC processors.")
public Boolean EnableInterchangeOptimization() {
return enableInterchangeOptimization;
}
public void setEnableInterchangeOptimization(Boolean enableInterchangeOptimization) {
this.enableInterchangeOptimization = enableInterchangeOptimization;
}
public CardProcessingConfigCommon visaDelegatedAuthenticationId(String visaDelegatedAuthenticationId) {
this.visaDelegatedAuthenticationId = visaDelegatedAuthenticationId;
return this;
}
/**
* Identifier provided to merchants who opt for Visa's delegated authorization program. Applicable for VPC processors.
* @return visaDelegatedAuthenticationId
**/
@ApiModelProperty(value = "Identifier provided to merchants who opt for Visa's delegated authorization program. Applicable for VPC processors.")
public String getVisaDelegatedAuthenticationId() {
return visaDelegatedAuthenticationId;
}
public void setVisaDelegatedAuthenticationId(String visaDelegatedAuthenticationId) {
this.visaDelegatedAuthenticationId = visaDelegatedAuthenticationId;
}
public CardProcessingConfigCommon creditCardRefundLimitPercent(String creditCardRefundLimitPercent) {
this.creditCardRefundLimitPercent = creditCardRefundLimitPercent;
return this;
}
/**
* Blocks over-refunds when the aggregated refund amount is higher than the percentage set for this field. Applicable for GPX (gpx), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors.
* @return creditCardRefundLimitPercent
**/
@ApiModelProperty(value = "Blocks over-refunds when the aggregated refund amount is higher than the percentage set for this field. Applicable for GPX (gpx), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors.")
public String getCreditCardRefundLimitPercent() {
return creditCardRefundLimitPercent;
}
public void setCreditCardRefundLimitPercent(String creditCardRefundLimitPercent) {
this.creditCardRefundLimitPercent = creditCardRefundLimitPercent;
}
public CardProcessingConfigCommon businessCenterCreditCardRefundLimitPercent(String businessCenterCreditCardRefundLimitPercent) {
this.businessCenterCreditCardRefundLimitPercent = businessCenterCreditCardRefundLimitPercent;
return this;
}
/**
* Limits refunds to the percentage set in this field. Applicable for GPX (gpx) and VPC processors.
* @return businessCenterCreditCardRefundLimitPercent
**/
@ApiModelProperty(value = "Limits refunds to the percentage set in this field. Applicable for GPX (gpx) and VPC processors.")
public String getBusinessCenterCreditCardRefundLimitPercent() {
return businessCenterCreditCardRefundLimitPercent;
}
public void setBusinessCenterCreditCardRefundLimitPercent(String businessCenterCreditCardRefundLimitPercent) {
this.businessCenterCreditCardRefundLimitPercent = businessCenterCreditCardRefundLimitPercent;
}
public CardProcessingConfigCommon allowCapturesGreaterThanAuthorizations(Boolean allowCapturesGreaterThanAuthorizations) {
this.allowCapturesGreaterThanAuthorizations = allowCapturesGreaterThanAuthorizations;
return this;
}
/**
* Enables this merchant account to capture amounts greater than the authorization amount. Applicable for GPX (gpx), VPC, Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors.
* @return allowCapturesGreaterThanAuthorizations
**/
@ApiModelProperty(value = "Enables this merchant account to capture amounts greater than the authorization amount. Applicable for GPX (gpx), VPC, Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors.")
public Boolean AllowCapturesGreaterThanAuthorizations() {
return allowCapturesGreaterThanAuthorizations;
}
public void setAllowCapturesGreaterThanAuthorizations(Boolean allowCapturesGreaterThanAuthorizations) {
this.allowCapturesGreaterThanAuthorizations = allowCapturesGreaterThanAuthorizations;
}
public CardProcessingConfigCommon enableDuplicateMerchantReferenceNumberBlocking(Boolean enableDuplicateMerchantReferenceNumberBlocking) {
this.enableDuplicateMerchantReferenceNumberBlocking = enableDuplicateMerchantReferenceNumberBlocking;
return this;
}
/**
* Helps prevent duplicate transactions. Applicable for VPC, GPX (gpx) and Chase Paymentech Salem (chasepaymentechsalem) processors.
* @return enableDuplicateMerchantReferenceNumberBlocking
**/
@ApiModelProperty(value = "Helps prevent duplicate transactions. Applicable for VPC, GPX (gpx) and Chase Paymentech Salem (chasepaymentechsalem) processors.")
public Boolean EnableDuplicateMerchantReferenceNumberBlocking() {
return enableDuplicateMerchantReferenceNumberBlocking;
}
public void setEnableDuplicateMerchantReferenceNumberBlocking(Boolean enableDuplicateMerchantReferenceNumberBlocking) {
this.enableDuplicateMerchantReferenceNumberBlocking = enableDuplicateMerchantReferenceNumberBlocking;
}
public CardProcessingConfigCommon domesticMerchantId(Boolean domesticMerchantId) {
this.domesticMerchantId = domesticMerchantId;
return this;
}
/**
* This is a local merchant ID used by merchants in addition to the conventional merchant ID. This value is sent to the issuer. Applicable for VPC and Prisma (prisma) processors.
* @return domesticMerchantId
**/
@ApiModelProperty(value = "This is a local merchant ID used by merchants in addition to the conventional merchant ID. This value is sent to the issuer. Applicable for VPC and Prisma (prisma) processors.")
public Boolean DomesticMerchantId() {
return domesticMerchantId;
}
public void setDomesticMerchantId(Boolean domesticMerchantId) {
this.domesticMerchantId = domesticMerchantId;
}
public CardProcessingConfigCommon processLevel3Data(String processLevel3Data) {
this.processLevel3Data = processLevel3Data;
return this;
}
/**
* Indicates whether merchant processes Level 3 transactions. Applicable for TSYS (tsys), Barclays (barclays2), Paymentech Tampa (paymentechtampa), FDI Global (fdiglobal), Elavon Americas (elavonamericas) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp</td><td>No</td></tr> </table>
* @return processLevel3Data
**/
@ApiModelProperty(value = "Indicates whether merchant processes Level 3 transactions. Applicable for TSYS (tsys), Barclays (barclays2), Paymentech Tampa (paymentechtampa), FDI Global (fdiglobal), Elavon Americas (elavonamericas) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)...
Processor
Acceptance Type
Required
Barclays
cnp
No
")
public String getProcessLevel3Data() {
return processLevel3Data;
}
public void setProcessLevel3Data(String processLevel3Data) {
this.processLevel3Data = processLevel3Data;
}
public CardProcessingConfigCommon subMerchantId(String subMerchantId) {
this.subMerchantId = subMerchantId;
return this;
}
/**
* The ID assigned to the sub-merchant. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>20</td><td>^[0-9a-zA-Z\-\_\,\\s.]+$</td></tr> </table>
* @return subMerchantId
**/
@ApiModelProperty(value = "The ID assigned to the sub-merchant. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)...
Processor
Acceptance Type
Required
Min. Length
Max. Length
Regex
American Express Direct
cnp, cp, hybrid
No
1
20
^[0-9a-zA-Z\-\_\,\\s.]+$
")
public String getSubMerchantId() {
return subMerchantId;
}
public void setSubMerchantId(String subMerchantId) {
this.subMerchantId = subMerchantId;
}
public CardProcessingConfigCommon subMerchantBusinessName(String subMerchantBusinessName) {
this.subMerchantBusinessName = subMerchantBusinessName;
return this;
}
/**
* Sub-merchant's business name. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>37</td><td>^[0-9a-zA-Z\-\_\,\\s.]+$</td></tr> </table>
* @return subMerchantBusinessName
**/
@ApiModelProperty(value = "Sub-merchant's business name. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)...
Processor
Acceptance Type
Required
Min. Length
Max. Length
Regex
American Express Direct
cnp, cp, hybrid
No
1
37
^[0-9a-zA-Z\-\_\,\\s.]+$
")
public String getSubMerchantBusinessName() {
return subMerchantBusinessName;
}
public void setSubMerchantBusinessName(String subMerchantBusinessName) {
this.subMerchantBusinessName = subMerchantBusinessName;
}
public CardProcessingConfigCommon preferCobadgedSecondaryBrand(Boolean preferCobadgedSecondaryBrand) {
this.preferCobadgedSecondaryBrand = preferCobadgedSecondaryBrand;
return this;
}
/**
* It denotes merchant's preference on secondary brand for routing in case of co-branded cards. Applicable for EFTPOS processors.
* @return preferCobadgedSecondaryBrand
**/
@ApiModelProperty(value = "It denotes merchant's preference on secondary brand for routing in case of co-branded cards. Applicable for EFTPOS processors.")
public Boolean PreferCobadgedSecondaryBrand() {
return preferCobadgedSecondaryBrand;
}
public void setPreferCobadgedSecondaryBrand(Boolean preferCobadgedSecondaryBrand) {
this.preferCobadgedSecondaryBrand = preferCobadgedSecondaryBrand;
}
public CardProcessingConfigCommon merchantDescriptorInformation(CardProcessingConfigCommonMerchantDescriptorInformation merchantDescriptorInformation) {
this.merchantDescriptorInformation = merchantDescriptorInformation;
return this;
}
/**
* Get merchantDescriptorInformation
* @return merchantDescriptorInformation
**/
@ApiModelProperty(value = "")
public CardProcessingConfigCommonMerchantDescriptorInformation getMerchantDescriptorInformation() {
return merchantDescriptorInformation;
}
public void setMerchantDescriptorInformation(CardProcessingConfigCommonMerchantDescriptorInformation merchantDescriptorInformation) {
this.merchantDescriptorInformation = merchantDescriptorInformation;
}
public CardProcessingConfigCommon governmentControlled(Boolean governmentControlled) {
this.governmentControlled = governmentControlled;
return this;
}
/**
* Indicates whether the merchant is government controlled. Applicable for VPC processors.
* @return governmentControlled
**/
@ApiModelProperty(value = "Indicates whether the merchant is government controlled. Applicable for VPC processors.")
public Boolean GovernmentControlled() {
return governmentControlled;
}
public void setGovernmentControlled(Boolean governmentControlled) {
this.governmentControlled = governmentControlled;
}
public CardProcessingConfigCommon dropBillingInfo(Boolean dropBillingInfo) {
this.dropBillingInfo = dropBillingInfo;
return this;
}
/**
* This field is used to indicate whether the merchant wants to drop the billing information from the request. If this field is set to true, then the billing information will be dropped from the request. If this field is set to false, then the billing information will be sent in the request.
* @return dropBillingInfo
**/
@ApiModelProperty(value = "This field is used to indicate whether the merchant wants to drop the billing information from the request. If this field is set to true, then the billing information will be dropped from the request. If this field is set to false, then the billing information will be sent in the request.")
public Boolean DropBillingInfo() {
return dropBillingInfo;
}
public void setDropBillingInfo(Boolean dropBillingInfo) {
this.dropBillingInfo = dropBillingInfo;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CardProcessingConfigCommon cardProcessingConfigCommon = (CardProcessingConfigCommon) o;
return Objects.equals(this.processors, cardProcessingConfigCommon.processors) &&
Objects.equals(this.amexVendorCode, cardProcessingConfigCommon.amexVendorCode) &&
Objects.equals(this.defaultAuthTypeCode, cardProcessingConfigCommon.defaultAuthTypeCode) &&
Objects.equals(this.masterCardAssignedId, cardProcessingConfigCommon.masterCardAssignedId) &&
Objects.equals(this.enablePartialAuth, cardProcessingConfigCommon.enablePartialAuth) &&
Objects.equals(this.merchantCategoryCode, cardProcessingConfigCommon.merchantCategoryCode) &&
Objects.equals(this.sicCode, cardProcessingConfigCommon.sicCode) &&
Objects.equals(this.foodAndConsumerServiceId, cardProcessingConfigCommon.foodAndConsumerServiceId) &&
Objects.equals(this.enableSplitShipment, cardProcessingConfigCommon.enableSplitShipment) &&
Objects.equals(this.enableInterchangeOptimization, cardProcessingConfigCommon.enableInterchangeOptimization) &&
Objects.equals(this.visaDelegatedAuthenticationId, cardProcessingConfigCommon.visaDelegatedAuthenticationId) &&
Objects.equals(this.creditCardRefundLimitPercent, cardProcessingConfigCommon.creditCardRefundLimitPercent) &&
Objects.equals(this.businessCenterCreditCardRefundLimitPercent, cardProcessingConfigCommon.businessCenterCreditCardRefundLimitPercent) &&
Objects.equals(this.allowCapturesGreaterThanAuthorizations, cardProcessingConfigCommon.allowCapturesGreaterThanAuthorizations) &&
Objects.equals(this.enableDuplicateMerchantReferenceNumberBlocking, cardProcessingConfigCommon.enableDuplicateMerchantReferenceNumberBlocking) &&
Objects.equals(this.domesticMerchantId, cardProcessingConfigCommon.domesticMerchantId) &&
Objects.equals(this.processLevel3Data, cardProcessingConfigCommon.processLevel3Data) &&
Objects.equals(this.subMerchantId, cardProcessingConfigCommon.subMerchantId) &&
Objects.equals(this.subMerchantBusinessName, cardProcessingConfigCommon.subMerchantBusinessName) &&
Objects.equals(this.preferCobadgedSecondaryBrand, cardProcessingConfigCommon.preferCobadgedSecondaryBrand) &&
Objects.equals(this.merchantDescriptorInformation, cardProcessingConfigCommon.merchantDescriptorInformation) &&
Objects.equals(this.governmentControlled, cardProcessingConfigCommon.governmentControlled) &&
Objects.equals(this.dropBillingInfo, cardProcessingConfigCommon.dropBillingInfo);
}
@Override
public int hashCode() {
return Objects.hash(processors, amexVendorCode, defaultAuthTypeCode, masterCardAssignedId, enablePartialAuth, merchantCategoryCode, sicCode, foodAndConsumerServiceId, enableSplitShipment, enableInterchangeOptimization, visaDelegatedAuthenticationId, creditCardRefundLimitPercent, businessCenterCreditCardRefundLimitPercent, allowCapturesGreaterThanAuthorizations, enableDuplicateMerchantReferenceNumberBlocking, domesticMerchantId, processLevel3Data, subMerchantId, subMerchantBusinessName, preferCobadgedSecondaryBrand, merchantDescriptorInformation, governmentControlled, dropBillingInfo);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CardProcessingConfigCommon {\n");
if (processors != null) sb.append(" processors: ").append(toIndentedString(processors)).append("\n");
if (amexVendorCode != null) sb.append(" amexVendorCode: ").append(toIndentedString(amexVendorCode)).append("\n");
if (defaultAuthTypeCode != null) sb.append(" defaultAuthTypeCode: ").append(toIndentedString(defaultAuthTypeCode)).append("\n");
if (masterCardAssignedId != null) sb.append(" masterCardAssignedId: ").append(toIndentedString(masterCardAssignedId)).append("\n");
if (enablePartialAuth != null) sb.append(" enablePartialAuth: ").append(toIndentedString(enablePartialAuth)).append("\n");
if (merchantCategoryCode != null) sb.append(" merchantCategoryCode: ").append(toIndentedString(merchantCategoryCode)).append("\n");
if (sicCode != null) sb.append(" sicCode: ").append(toIndentedString(sicCode)).append("\n");
if (foodAndConsumerServiceId != null) sb.append(" foodAndConsumerServiceId: ").append(toIndentedString(foodAndConsumerServiceId)).append("\n");
if (enableSplitShipment != null) sb.append(" enableSplitShipment: ").append(toIndentedString(enableSplitShipment)).append("\n");
if (enableInterchangeOptimization != null) sb.append(" enableInterchangeOptimization: ").append(toIndentedString(enableInterchangeOptimization)).append("\n");
if (visaDelegatedAuthenticationId != null) sb.append(" visaDelegatedAuthenticationId: ").append(toIndentedString(visaDelegatedAuthenticationId)).append("\n");
if (creditCardRefundLimitPercent != null) sb.append(" creditCardRefundLimitPercent: ").append(toIndentedString(creditCardRefundLimitPercent)).append("\n");
if (businessCenterCreditCardRefundLimitPercent != null) sb.append(" businessCenterCreditCardRefundLimitPercent: ").append(toIndentedString(businessCenterCreditCardRefundLimitPercent)).append("\n");
if (allowCapturesGreaterThanAuthorizations != null) sb.append(" allowCapturesGreaterThanAuthorizations: ").append(toIndentedString(allowCapturesGreaterThanAuthorizations)).append("\n");
if (enableDuplicateMerchantReferenceNumberBlocking != null) sb.append(" enableDuplicateMerchantReferenceNumberBlocking: ").append(toIndentedString(enableDuplicateMerchantReferenceNumberBlocking)).append("\n");
if (domesticMerchantId != null) sb.append(" domesticMerchantId: ").append(toIndentedString(domesticMerchantId)).append("\n");
if (processLevel3Data != null) sb.append(" processLevel3Data: ").append(toIndentedString(processLevel3Data)).append("\n");
if (subMerchantId != null) sb.append(" subMerchantId: ").append(toIndentedString(subMerchantId)).append("\n");
if (subMerchantBusinessName != null) sb.append(" subMerchantBusinessName: ").append(toIndentedString(subMerchantBusinessName)).append("\n");
if (preferCobadgedSecondaryBrand != null) sb.append(" preferCobadgedSecondaryBrand: ").append(toIndentedString(preferCobadgedSecondaryBrand)).append("\n");
if (merchantDescriptorInformation != null) sb.append(" merchantDescriptorInformation: ").append(toIndentedString(merchantDescriptorInformation)).append("\n");
if (governmentControlled != null) sb.append(" governmentControlled: ").append(toIndentedString(governmentControlled)).append("\n");
if (dropBillingInfo != null) sb.append(" dropBillingInfo: ").append(toIndentedString(dropBillingInfo)).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 ");
}
}