
Model.Ptsv2paymentsProcessingInformationCaptureOptions 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 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;
/**
* Ptsv2paymentsProcessingInformationCaptureOptions
*/
public class Ptsv2paymentsProcessingInformationCaptureOptions {
@SerializedName("captureSequenceNumber")
private Integer captureSequenceNumber = null;
@SerializedName("totalCaptureCount")
private Integer totalCaptureCount = null;
@SerializedName("dateToCapture")
private String dateToCapture = null;
@SerializedName("isFinal")
private String isFinal = null;
@SerializedName("notes")
private String notes = null;
@SerializedName("reconciliationId")
private String reconciliationId = null;
@SerializedName("reconciliationIdAlternate")
private String reconciliationIdAlternate = null;
public Ptsv2paymentsProcessingInformationCaptureOptions captureSequenceNumber(Integer captureSequenceNumber) {
this.captureSequenceNumber = captureSequenceNumber;
return this;
}
/**
* Capture number when requesting multiple partial captures for one authorization. Used along with `totalCaptureCount` to track which capture is being processed. For example, the second of five captures would be passed to CyberSource as: - `captureSequenceNumber_ = 2`, and - `totalCaptureCount = 5`
* minimum: 1
* maximum: 99
* @return captureSequenceNumber
**/
@ApiModelProperty(value = "Capture number when requesting multiple partial captures for one authorization. Used along with `totalCaptureCount` to track which capture is being processed. For example, the second of five captures would be passed to CyberSource as: - `captureSequenceNumber_ = 2`, and - `totalCaptureCount = 5` ")
public Integer getCaptureSequenceNumber() {
return captureSequenceNumber;
}
public void setCaptureSequenceNumber(Integer captureSequenceNumber) {
this.captureSequenceNumber = captureSequenceNumber;
}
public Ptsv2paymentsProcessingInformationCaptureOptions totalCaptureCount(Integer totalCaptureCount) {
this.totalCaptureCount = totalCaptureCount;
return this;
}
/**
* Total number of captures when requesting multiple partial captures for one payment. Used along with `captureSequenceNumber` field to track which capture is being processed. For example, the second of five captures would be passed to CyberSource as: - `captureSequenceNumber = 2`, and - `totalCaptureCount = 5`
* minimum: 1
* maximum: 99
* @return totalCaptureCount
**/
@ApiModelProperty(value = "Total number of captures when requesting multiple partial captures for one payment. Used along with `captureSequenceNumber` field to track which capture is being processed. For example, the second of five captures would be passed to CyberSource as: - `captureSequenceNumber = 2`, and - `totalCaptureCount = 5` ")
public Integer getTotalCaptureCount() {
return totalCaptureCount;
}
public void setTotalCaptureCount(Integer totalCaptureCount) {
this.totalCaptureCount = totalCaptureCount;
}
public Ptsv2paymentsProcessingInformationCaptureOptions dateToCapture(String dateToCapture) {
this.dateToCapture = dateToCapture;
return this;
}
/**
* Date on which you want the capture to occur. This field is supported only for CyberSource through VisaNet. Format: `MMDD` #### Used by **Authorization** Optional field.
* @return dateToCapture
**/
@ApiModelProperty(value = "Date on which you want the capture to occur. This field is supported only for CyberSource through VisaNet. Format: `MMDD` #### Used by **Authorization** Optional field. ")
public String getDateToCapture() {
return dateToCapture;
}
public void setDateToCapture(String dateToCapture) {
this.dateToCapture = dateToCapture;
}
public Ptsv2paymentsProcessingInformationCaptureOptions isFinal(String isFinal) {
this.isFinal = isFinal;
return this;
}
/**
* Indicates whether to release the authorization hold on the remaining funds. Possible Values: - `true` - `false`
* @return isFinal
**/
@ApiModelProperty(value = "Indicates whether to release the authorization hold on the remaining funds. Possible Values: - `true` - `false` ")
public String getIsFinal() {
return isFinal;
}
public void setIsFinal(String isFinal) {
this.isFinal = isFinal;
}
public Ptsv2paymentsProcessingInformationCaptureOptions notes(String notes) {
this.notes = notes;
return this;
}
/**
* An informational note about this settlement. Appears in both the payer's transaction history and the emails that the payer receives.
* @return notes
**/
@ApiModelProperty(value = "An informational note about this settlement. Appears in both the payer's transaction history and the emails that the payer receives. ")
public String getNotes() {
return notes;
}
public void setNotes(String notes) {
this.notes = notes;
}
public Ptsv2paymentsProcessingInformationCaptureOptions reconciliationId(String reconciliationId) {
this.reconciliationId = reconciliationId;
return this;
}
/**
* Used for authbill request when capture field equals true
* @return reconciliationId
**/
@ApiModelProperty(value = "Used for authbill request when capture field equals true")
public String getReconciliationId() {
return reconciliationId;
}
public void setReconciliationId(String reconciliationId) {
this.reconciliationId = reconciliationId;
}
public Ptsv2paymentsProcessingInformationCaptureOptions reconciliationIdAlternate(String reconciliationIdAlternate) {
this.reconciliationIdAlternate = reconciliationIdAlternate;
return this;
}
/**
* Used by Nike merchant to send 12 digit order number
* @return reconciliationIdAlternate
**/
@ApiModelProperty(value = "Used by Nike merchant to send 12 digit order number")
public String getReconciliationIdAlternate() {
return reconciliationIdAlternate;
}
public void setReconciliationIdAlternate(String reconciliationIdAlternate) {
this.reconciliationIdAlternate = reconciliationIdAlternate;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Ptsv2paymentsProcessingInformationCaptureOptions ptsv2paymentsProcessingInformationCaptureOptions = (Ptsv2paymentsProcessingInformationCaptureOptions) o;
return Objects.equals(this.captureSequenceNumber, ptsv2paymentsProcessingInformationCaptureOptions.captureSequenceNumber) &&
Objects.equals(this.totalCaptureCount, ptsv2paymentsProcessingInformationCaptureOptions.totalCaptureCount) &&
Objects.equals(this.dateToCapture, ptsv2paymentsProcessingInformationCaptureOptions.dateToCapture) &&
Objects.equals(this.isFinal, ptsv2paymentsProcessingInformationCaptureOptions.isFinal) &&
Objects.equals(this.notes, ptsv2paymentsProcessingInformationCaptureOptions.notes) &&
Objects.equals(this.reconciliationId, ptsv2paymentsProcessingInformationCaptureOptions.reconciliationId) &&
Objects.equals(this.reconciliationIdAlternate, ptsv2paymentsProcessingInformationCaptureOptions.reconciliationIdAlternate);
}
@Override
public int hashCode() {
return Objects.hash(captureSequenceNumber, totalCaptureCount, dateToCapture, isFinal, notes, reconciliationId, reconciliationIdAlternate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Ptsv2paymentsProcessingInformationCaptureOptions {\n");
if (captureSequenceNumber != null) sb.append(" captureSequenceNumber: ").append(toIndentedString(captureSequenceNumber)).append("\n");
if (totalCaptureCount != null) sb.append(" totalCaptureCount: ").append(toIndentedString(totalCaptureCount)).append("\n");
if (dateToCapture != null) sb.append(" dateToCapture: ").append(toIndentedString(dateToCapture)).append("\n");
if (isFinal != null) sb.append(" isFinal: ").append(toIndentedString(isFinal)).append("\n");
if (notes != null) sb.append(" notes: ").append(toIndentedString(notes)).append("\n");
if (reconciliationId != null) sb.append(" reconciliationId: ").append(toIndentedString(reconciliationId)).append("\n");
if (reconciliationIdAlternate != null) sb.append(" reconciliationIdAlternate: ").append(toIndentedString(reconciliationIdAlternate)).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