
Model.Ptsv2paymentsidcapturesProcessingInformationCaptureOptions 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;
/**
* Ptsv2paymentsidcapturesProcessingInformationCaptureOptions
*/
public class Ptsv2paymentsidcapturesProcessingInformationCaptureOptions {
@SerializedName("captureSequenceNumber")
private Integer captureSequenceNumber = null;
@SerializedName("totalCaptureCount")
private Integer totalCaptureCount = null;
@SerializedName("isFinal")
private String isFinal = null;
@SerializedName("notes")
private String notes = null;
@SerializedName("reconciliationIdAlternate")
private String reconciliationIdAlternate = null;
public Ptsv2paymentsidcapturesProcessingInformationCaptureOptions 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 Ptsv2paymentsidcapturesProcessingInformationCaptureOptions 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 Ptsv2paymentsidcapturesProcessingInformationCaptureOptions 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 Ptsv2paymentsidcapturesProcessingInformationCaptureOptions 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 Ptsv2paymentsidcapturesProcessingInformationCaptureOptions 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;
}
Ptsv2paymentsidcapturesProcessingInformationCaptureOptions ptsv2paymentsidcapturesProcessingInformationCaptureOptions = (Ptsv2paymentsidcapturesProcessingInformationCaptureOptions) o;
return Objects.equals(this.captureSequenceNumber, ptsv2paymentsidcapturesProcessingInformationCaptureOptions.captureSequenceNumber) &&
Objects.equals(this.totalCaptureCount, ptsv2paymentsidcapturesProcessingInformationCaptureOptions.totalCaptureCount) &&
Objects.equals(this.isFinal, ptsv2paymentsidcapturesProcessingInformationCaptureOptions.isFinal) &&
Objects.equals(this.notes, ptsv2paymentsidcapturesProcessingInformationCaptureOptions.notes) &&
Objects.equals(this.reconciliationIdAlternate, ptsv2paymentsidcapturesProcessingInformationCaptureOptions.reconciliationIdAlternate);
}
@Override
public int hashCode() {
return Objects.hash(captureSequenceNumber, totalCaptureCount, isFinal, notes, reconciliationIdAlternate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Ptsv2paymentsidcapturesProcessingInformationCaptureOptions {\n");
if (captureSequenceNumber != null) sb.append(" captureSequenceNumber: ").append(toIndentedString(captureSequenceNumber)).append("\n");
if (totalCaptureCount != null) sb.append(" totalCaptureCount: ").append(toIndentedString(totalCaptureCount)).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 (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