
Model.Ptsv2payoutsProcessingInformationPurchaseOptions 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;
/**
* Ptsv2payoutsProcessingInformationPurchaseOptions
*/
public class Ptsv2payoutsProcessingInformationPurchaseOptions {
@SerializedName("benefitAmount")
private String benefitAmount = null;
@SerializedName("benefitType")
private String benefitType = null;
public Ptsv2payoutsProcessingInformationPurchaseOptions 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 Ptsv2payoutsProcessingInformationPurchaseOptions 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;
}
Ptsv2payoutsProcessingInformationPurchaseOptions ptsv2payoutsProcessingInformationPurchaseOptions = (Ptsv2payoutsProcessingInformationPurchaseOptions) o;
return Objects.equals(this.benefitAmount, ptsv2payoutsProcessingInformationPurchaseOptions.benefitAmount) &&
Objects.equals(this.benefitType, ptsv2payoutsProcessingInformationPurchaseOptions.benefitType);
}
@Override
public int hashCode() {
return Objects.hash(benefitAmount, benefitType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Ptsv2payoutsProcessingInformationPurchaseOptions {\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