
Model.Ptsv2paymentsidcapturesProcessingInformation 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.Ptsv2paymentsIssuerInformation;
import Model.Ptsv2paymentsProcessingInformationLoanOptions;
import Model.Ptsv2paymentsidcapturesProcessingInformationAuthorizationOptions;
import Model.Ptsv2paymentsidcapturesProcessingInformationCaptureOptions;
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.ArrayList;
import java.util.List;
/**
* Ptsv2paymentsidcapturesProcessingInformation
*/
public class Ptsv2paymentsidcapturesProcessingInformation {
@SerializedName("paymentSolution")
private String paymentSolution = null;
@SerializedName("reconciliationId")
private String reconciliationId = null;
@SerializedName("linkId")
private String linkId = null;
@SerializedName("reportGroup")
private String reportGroup = null;
@SerializedName("visaCheckoutId")
private String visaCheckoutId = null;
@SerializedName("purchaseLevel")
private String purchaseLevel = null;
@SerializedName("industryDataType")
private String industryDataType = null;
@SerializedName("issuer")
private Ptsv2paymentsIssuerInformation issuer = null;
@SerializedName("authorizationOptions")
private Ptsv2paymentsidcapturesProcessingInformationAuthorizationOptions authorizationOptions = null;
@SerializedName("captureOptions")
private Ptsv2paymentsidcapturesProcessingInformationCaptureOptions captureOptions = null;
@SerializedName("loanOptions")
private Ptsv2paymentsProcessingInformationLoanOptions loanOptions = null;
@SerializedName("payByPointsIndicator")
private Boolean payByPointsIndicator = null;
@SerializedName("actionList")
private List actionList = null;
public Ptsv2paymentsidcapturesProcessingInformation paymentSolution(String paymentSolution) {
this.paymentSolution = paymentSolution;
return this;
}
/**
* Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the REST API.](https://developer.cybersource.com/content/dam/docs/cybs/en-us/apifields/reference/all/rest/api-fields.pdf) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay. - `013`: Cybersource P2PE Decryption - `014`: Mastercard credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `015`: Visa credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `027`: Click to Pay.
* @return paymentSolution
**/
@ApiModelProperty(value = "Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the REST API.](https://developer.cybersource.com/content/dam/docs/cybs/en-us/apifields/reference/all/rest/api-fields.pdf) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay. - `013`: Cybersource P2PE Decryption - `014`: Mastercard credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `015`: Visa credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `027`: Click to Pay. ")
public String getPaymentSolution() {
return paymentSolution;
}
public void setPaymentSolution(String paymentSolution) {
this.paymentSolution = paymentSolution;
}
public Ptsv2paymentsidcapturesProcessingInformation reconciliationId(String reconciliationId) {
this.reconciliationId = reconciliationId;
return this;
}
/**
* Please check with Cybersource customer support to see if your merchant account is configured correctly so you can include this field in your request. * For Payouts: max length for FDCCompass is String (22).
* @return reconciliationId
**/
@ApiModelProperty(value = "Please check with Cybersource customer support to see if your merchant account is configured correctly so you can include this field in your request. * For Payouts: max length for FDCCompass is String (22). ")
public String getReconciliationId() {
return reconciliationId;
}
public void setReconciliationId(String reconciliationId) {
this.reconciliationId = reconciliationId;
}
public Ptsv2paymentsidcapturesProcessingInformation linkId(String linkId) {
this.linkId = linkId;
return this;
}
/**
* Value that links the current authorization request to the original authorization request. Set this value to the ID that was returned in the reply message from the original authorization request. This value is used for: - Partial authorizations - Split shipments
* @return linkId
**/
@ApiModelProperty(value = "Value that links the current authorization request to the original authorization request. Set this value to the ID that was returned in the reply message from the original authorization request. This value is used for: - Partial authorizations - Split shipments ")
public String getLinkId() {
return linkId;
}
public void setLinkId(String linkId) {
this.linkId = linkId;
}
public Ptsv2paymentsidcapturesProcessingInformation reportGroup(String reportGroup) {
this.reportGroup = reportGroup;
return this;
}
/**
* Attribute that lets you define custom grouping for your processor reports. This field is supported only for **Worldpay VAP**.
* @return reportGroup
**/
@ApiModelProperty(value = "Attribute that lets you define custom grouping for your processor reports. This field is supported only for **Worldpay VAP**. ")
public String getReportGroup() {
return reportGroup;
}
public void setReportGroup(String reportGroup) {
this.reportGroup = reportGroup;
}
public Ptsv2paymentsidcapturesProcessingInformation visaCheckoutId(String visaCheckoutId) {
this.visaCheckoutId = visaCheckoutId;
return this;
}
/**
* Identifier for the **Visa Checkout** order. Visa Checkout provides a unique order ID for every transaction in the Visa Checkout **callID** field.
* @return visaCheckoutId
**/
@ApiModelProperty(value = "Identifier for the **Visa Checkout** order. Visa Checkout provides a unique order ID for every transaction in the Visa Checkout **callID** field. ")
public String getVisaCheckoutId() {
return visaCheckoutId;
}
public void setVisaCheckoutId(String visaCheckoutId) {
this.visaCheckoutId = visaCheckoutId;
}
public Ptsv2paymentsidcapturesProcessingInformation purchaseLevel(String purchaseLevel) {
this.purchaseLevel = purchaseLevel;
return this;
}
/**
* Set this field to 3 to indicate that the request includes Level III data.
* @return purchaseLevel
**/
@ApiModelProperty(value = "Set this field to 3 to indicate that the request includes Level III data.")
public String getPurchaseLevel() {
return purchaseLevel;
}
public void setPurchaseLevel(String purchaseLevel) {
this.purchaseLevel = purchaseLevel;
}
public Ptsv2paymentsidcapturesProcessingInformation industryDataType(String industryDataType) {
this.industryDataType = industryDataType;
return this;
}
/**
* Indicates that the transaction includes industry-specific data. Possible Values: - `airline` - `restaurant` - `lodging` - `auto_rental` - `transit` - `healthcare_medical` - `healthcare_transit` - `transit` #### Card Present, Airlines and Auto Rental You must set this field to `airline` in order for airline data to be sent to the processor. For example, if this field is not set to `airline` or is not included in the request, no airline data is sent to the processor. You must set this field to `restaurant` in order for restaurant data to be sent to the processor. When this field is not set to `restaurant` or is not included in the request, no restaurant data is sent to the processor. You must set this field to `auto_rental` in order for auto rental data to be sent to the processor. For example, if this field is not set to `auto_rental` or is not included in the request, no auto rental data is sent to the processor. Restaurant data is supported only on CyberSource through VisaNet.
* @return industryDataType
**/
@ApiModelProperty(value = "Indicates that the transaction includes industry-specific data. Possible Values: - `airline` - `restaurant` - `lodging` - `auto_rental` - `transit` - `healthcare_medical` - `healthcare_transit` - `transit` #### Card Present, Airlines and Auto Rental You must set this field to `airline` in order for airline data to be sent to the processor. For example, if this field is not set to `airline` or is not included in the request, no airline data is sent to the processor. You must set this field to `restaurant` in order for restaurant data to be sent to the processor. When this field is not set to `restaurant` or is not included in the request, no restaurant data is sent to the processor. You must set this field to `auto_rental` in order for auto rental data to be sent to the processor. For example, if this field is not set to `auto_rental` or is not included in the request, no auto rental data is sent to the processor. Restaurant data is supported only on CyberSource through VisaNet. ")
public String getIndustryDataType() {
return industryDataType;
}
public void setIndustryDataType(String industryDataType) {
this.industryDataType = industryDataType;
}
public Ptsv2paymentsidcapturesProcessingInformation issuer(Ptsv2paymentsIssuerInformation issuer) {
this.issuer = issuer;
return this;
}
/**
* Get issuer
* @return issuer
**/
@ApiModelProperty(value = "")
public Ptsv2paymentsIssuerInformation getIssuer() {
return issuer;
}
public void setIssuer(Ptsv2paymentsIssuerInformation issuer) {
this.issuer = issuer;
}
public Ptsv2paymentsidcapturesProcessingInformation authorizationOptions(Ptsv2paymentsidcapturesProcessingInformationAuthorizationOptions authorizationOptions) {
this.authorizationOptions = authorizationOptions;
return this;
}
/**
* Get authorizationOptions
* @return authorizationOptions
**/
@ApiModelProperty(value = "")
public Ptsv2paymentsidcapturesProcessingInformationAuthorizationOptions getAuthorizationOptions() {
return authorizationOptions;
}
public void setAuthorizationOptions(Ptsv2paymentsidcapturesProcessingInformationAuthorizationOptions authorizationOptions) {
this.authorizationOptions = authorizationOptions;
}
public Ptsv2paymentsidcapturesProcessingInformation captureOptions(Ptsv2paymentsidcapturesProcessingInformationCaptureOptions captureOptions) {
this.captureOptions = captureOptions;
return this;
}
/**
* Get captureOptions
* @return captureOptions
**/
@ApiModelProperty(value = "")
public Ptsv2paymentsidcapturesProcessingInformationCaptureOptions getCaptureOptions() {
return captureOptions;
}
public void setCaptureOptions(Ptsv2paymentsidcapturesProcessingInformationCaptureOptions captureOptions) {
this.captureOptions = captureOptions;
}
public Ptsv2paymentsidcapturesProcessingInformation loanOptions(Ptsv2paymentsProcessingInformationLoanOptions loanOptions) {
this.loanOptions = loanOptions;
return this;
}
/**
* Get loanOptions
* @return loanOptions
**/
@ApiModelProperty(value = "")
public Ptsv2paymentsProcessingInformationLoanOptions getLoanOptions() {
return loanOptions;
}
public void setLoanOptions(Ptsv2paymentsProcessingInformationLoanOptions loanOptions) {
this.loanOptions = loanOptions;
}
public Ptsv2paymentsidcapturesProcessingInformation payByPointsIndicator(Boolean payByPointsIndicator) {
this.payByPointsIndicator = payByPointsIndicator;
return this;
}
/**
* Flag that indicates if the transaction is pay by points transaction true: Transaction uses loyalty points false: Transaction does not use loyalty points Default: false
* @return payByPointsIndicator
**/
@ApiModelProperty(value = "Flag that indicates if the transaction is pay by points transaction true: Transaction uses loyalty points false: Transaction does not use loyalty points Default: false ")
public Boolean PayByPointsIndicator() {
return payByPointsIndicator;
}
public void setPayByPointsIndicator(Boolean payByPointsIndicator) {
this.payByPointsIndicator = payByPointsIndicator;
}
public Ptsv2paymentsidcapturesProcessingInformation actionList(List actionList) {
this.actionList = actionList;
return this;
}
public Ptsv2paymentsidcapturesProcessingInformation addActionListItem(String actionListItem) {
if (this.actionList == null) {
this.actionList = new ArrayList();
}
this.actionList.add(actionListItem);
return this;
}
/**
* Array of actions (one or more) to be included in the capture to invoke bundled services along with capture. Possible values : - `AP_CAPTURE`: Use this when Alternative Payment Capture service is requested.
* @return actionList
**/
@ApiModelProperty(value = "Array of actions (one or more) to be included in the capture to invoke bundled services along with capture. Possible values : - `AP_CAPTURE`: Use this when Alternative Payment Capture service is requested. ")
public List getActionList() {
return actionList;
}
public void setActionList(List actionList) {
this.actionList = actionList;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Ptsv2paymentsidcapturesProcessingInformation ptsv2paymentsidcapturesProcessingInformation = (Ptsv2paymentsidcapturesProcessingInformation) o;
return Objects.equals(this.paymentSolution, ptsv2paymentsidcapturesProcessingInformation.paymentSolution) &&
Objects.equals(this.reconciliationId, ptsv2paymentsidcapturesProcessingInformation.reconciliationId) &&
Objects.equals(this.linkId, ptsv2paymentsidcapturesProcessingInformation.linkId) &&
Objects.equals(this.reportGroup, ptsv2paymentsidcapturesProcessingInformation.reportGroup) &&
Objects.equals(this.visaCheckoutId, ptsv2paymentsidcapturesProcessingInformation.visaCheckoutId) &&
Objects.equals(this.purchaseLevel, ptsv2paymentsidcapturesProcessingInformation.purchaseLevel) &&
Objects.equals(this.industryDataType, ptsv2paymentsidcapturesProcessingInformation.industryDataType) &&
Objects.equals(this.issuer, ptsv2paymentsidcapturesProcessingInformation.issuer) &&
Objects.equals(this.authorizationOptions, ptsv2paymentsidcapturesProcessingInformation.authorizationOptions) &&
Objects.equals(this.captureOptions, ptsv2paymentsidcapturesProcessingInformation.captureOptions) &&
Objects.equals(this.loanOptions, ptsv2paymentsidcapturesProcessingInformation.loanOptions) &&
Objects.equals(this.payByPointsIndicator, ptsv2paymentsidcapturesProcessingInformation.payByPointsIndicator) &&
Objects.equals(this.actionList, ptsv2paymentsidcapturesProcessingInformation.actionList);
}
@Override
public int hashCode() {
return Objects.hash(paymentSolution, reconciliationId, linkId, reportGroup, visaCheckoutId, purchaseLevel, industryDataType, issuer, authorizationOptions, captureOptions, loanOptions, payByPointsIndicator, actionList);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Ptsv2paymentsidcapturesProcessingInformation {\n");
if (paymentSolution != null) sb.append(" paymentSolution: ").append(toIndentedString(paymentSolution)).append("\n");
if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n");
if (linkId != null) sb.append(" linkId: ").append(toIndentedString(linkId)).append("\n");
if (reportGroup != null) sb.append(" reportGroup: ").append(toIndentedString(reportGroup)).append("\n");
if (visaCheckoutId != null) sb.append(" visaCheckoutId: ").append(toIndentedString(visaCheckoutId)).append("\n");
if (purchaseLevel != null) sb.append(" purchaseLevel: ").append(toIndentedString(purchaseLevel)).append("\n");
if (industryDataType != null) sb.append(" industryDataType: ").append(toIndentedString(industryDataType)).append("\n");
if (issuer != null) sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n");
if (authorizationOptions != null) sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n");
if (captureOptions != null) sb.append(" captureOptions: ").append(toIndentedString(captureOptions)).append("\n");
if (loanOptions != null) sb.append(" loanOptions: ").append(toIndentedString(loanOptions)).append("\n");
if (payByPointsIndicator != null) sb.append(" payByPointsIndicator: ").append(toIndentedString(payByPointsIndicator)).append("\n");
if (actionList != null) sb.append(" actionList: ").append(toIndentedString(actionList)).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