
Model.Ptsv2paymentsProcessingInformationPurchaseOptions 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;
/**
* Ptsv2paymentsProcessingInformationPurchaseOptions
*/
public class Ptsv2paymentsProcessingInformationPurchaseOptions {
@SerializedName("isElectronicBenefitsTransfer")
private Boolean isElectronicBenefitsTransfer = null;
@SerializedName("type")
private String type = null;
@SerializedName("eligibilityIndicator")
private String eligibilityIndicator = null;
@SerializedName("benefitAmount")
private String benefitAmount = null;
@SerializedName("benefitType")
private String benefitType = null;
public Ptsv2paymentsProcessingInformationPurchaseOptions isElectronicBenefitsTransfer(Boolean isElectronicBenefitsTransfer) {
this.isElectronicBenefitsTransfer = isElectronicBenefitsTransfer;
return this;
}
/**
* Flag that indicates whether this transaction is an EBT transaction. Possible values: - `true` - `false` #### PIN debit Required field for EBT and EBT voucher transactions that use PIN debit credit or PIN debit purchase; otherwise, not used.
* @return isElectronicBenefitsTransfer
**/
@ApiModelProperty(value = "Flag that indicates whether this transaction is an EBT transaction. Possible values: - `true` - `false` #### PIN debit Required field for EBT and EBT voucher transactions that use PIN debit credit or PIN debit purchase; otherwise, not used. ")
public Boolean IsElectronicBenefitsTransfer() {
return isElectronicBenefitsTransfer;
}
public void setIsElectronicBenefitsTransfer(Boolean isElectronicBenefitsTransfer) {
this.isElectronicBenefitsTransfer = isElectronicBenefitsTransfer;
}
public Ptsv2paymentsProcessingInformationPurchaseOptions type(String type) {
this.type = type;
return this;
}
/**
* Flag that indicates an EBT voucher transaction. Possible value: - `EBT_VOUCHER`: Indicates the PIN debit transaction is an EBT voucher. - `BUY` - `RENT` - `BOOK` - `SUBSCRIBE` - `DOWNLOAD` - `ORDER` - `CONTINUE` #### PIN debit Required field for EBT voucher transactions that use PIN debit purchase; otherwise, not used.
* @return type
**/
@ApiModelProperty(value = "Flag that indicates an EBT voucher transaction. Possible value: - `EBT_VOUCHER`: Indicates the PIN debit transaction is an EBT voucher. - `BUY` - `RENT` - `BOOK` - `SUBSCRIBE` - `DOWNLOAD` - `ORDER` - `CONTINUE` #### PIN debit Required field for EBT voucher transactions that use PIN debit purchase; otherwise, not used. ")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public Ptsv2paymentsProcessingInformationPurchaseOptions eligibilityIndicator(String eligibilityIndicator) {
this.eligibilityIndicator = eligibilityIndicator;
return this;
}
/**
* This field contains installment data defined by MasterCard. Possible values: - Y = eligible - N = not eligile
* @return eligibilityIndicator
**/
@ApiModelProperty(value = "This field contains installment data defined by MasterCard. Possible values: - Y = eligible - N = not eligile ")
public String getEligibilityIndicator() {
return eligibilityIndicator;
}
public void setEligibilityIndicator(String eligibilityIndicator) {
this.eligibilityIndicator = eligibilityIndicator;
}
public Ptsv2paymentsProcessingInformationPurchaseOptions benefitAmount(String benefitAmount) {
this.benefitAmount = benefitAmount;
return this;
}
/**
* Workplace benefit amount.
* @return benefitAmount
**/
@ApiModelProperty(value = "Workplace benefit amount.")
public String getBenefitAmount() {
return benefitAmount;
}
public void setBenefitAmount(String benefitAmount) {
this.benefitAmount = benefitAmount;
}
public Ptsv2paymentsProcessingInformationPurchaseOptions benefitType(String benefitType) {
this.benefitType = benefitType;
return this;
}
/**
* Workplace benefit type. Possible values: - 70 = employee benefit - 4T = transportation / transit - 52 = general benefit - 53 = meal voucher - 54 = fuel - 55 = ecological / sustainability - 58 = philanthropy / patronage / consumption - 59 = gift - 5S = sport / culture - 5T = book / education
* @return benefitType
**/
@ApiModelProperty(value = "Workplace benefit type. Possible values: - 70 = employee benefit - 4T = transportation / transit - 52 = general benefit - 53 = meal voucher - 54 = fuel - 55 = ecological / sustainability - 58 = philanthropy / patronage / consumption - 59 = gift - 5S = sport / culture - 5T = book / education ")
public String getBenefitType() {
return benefitType;
}
public void setBenefitType(String benefitType) {
this.benefitType = benefitType;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Ptsv2paymentsProcessingInformationPurchaseOptions ptsv2paymentsProcessingInformationPurchaseOptions = (Ptsv2paymentsProcessingInformationPurchaseOptions) o;
return Objects.equals(this.isElectronicBenefitsTransfer, ptsv2paymentsProcessingInformationPurchaseOptions.isElectronicBenefitsTransfer) &&
Objects.equals(this.type, ptsv2paymentsProcessingInformationPurchaseOptions.type) &&
Objects.equals(this.eligibilityIndicator, ptsv2paymentsProcessingInformationPurchaseOptions.eligibilityIndicator) &&
Objects.equals(this.benefitAmount, ptsv2paymentsProcessingInformationPurchaseOptions.benefitAmount) &&
Objects.equals(this.benefitType, ptsv2paymentsProcessingInformationPurchaseOptions.benefitType);
}
@Override
public int hashCode() {
return Objects.hash(isElectronicBenefitsTransfer, type, eligibilityIndicator, benefitAmount, benefitType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Ptsv2paymentsProcessingInformationPurchaseOptions {\n");
if (isElectronicBenefitsTransfer != null) sb.append(" isElectronicBenefitsTransfer: ").append(toIndentedString(isElectronicBenefitsTransfer)).append("\n");
if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n");
if (eligibilityIndicator != null) sb.append(" eligibilityIndicator: ").append(toIndentedString(eligibilityIndicator)).append("\n");
if (benefitAmount != null) sb.append(" benefitAmount: ").append(toIndentedString(benefitAmount)).append("\n");
if (benefitType != null) sb.append(" benefitType: ").append(toIndentedString(benefitType)).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