All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Model.PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions Maven / Gradle / Ivy

There is a newer version: 0.0.8
Show newest version
/*
 * 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;

/**
 * PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions
 */

public class PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions {
  @SerializedName("eligibilityIndicator")
  private String eligibilityIndicator = null;

  @SerializedName("type")
  private String type = null;

  @SerializedName("benefitAmount")
  private String benefitAmount = null;

  @SerializedName("benefitType")
  private String benefitType = null;

  public PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions 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 PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions type(String type) {
    this.type = type;
    return this;
  }

   /**
   * Data mapped received in response from MasterCard. Possible values: - 01 = Meal Voucher - Employee Nutrition Program - 02 = Food Voucher - Employee Nutrition Program - 03 = Culture Voucher - Worker's Culture Program - 04 = Meal Voucher - Consolidation of Labor Laws - 05 = Food Voucher - Consolidation of Labor Laws 
   * @return type
  **/
  @ApiModelProperty(value = "Data mapped received in response from MasterCard. Possible values: - 01 = Meal Voucher - Employee Nutrition Program - 02 = Food Voucher - Employee Nutrition Program - 03 = Culture Voucher - Worker's Culture Program - 04 = Meal Voucher - Consolidation of Labor Laws - 05 = Food Voucher - Consolidation of Labor Laws ")
  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions 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 PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions 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;
    }
    PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions ptsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions = (PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions) o;
    return Objects.equals(this.eligibilityIndicator, ptsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.eligibilityIndicator) &&
        Objects.equals(this.type, ptsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.type) &&
        Objects.equals(this.benefitAmount, ptsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.benefitAmount) &&
        Objects.equals(this.benefitType, ptsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions.benefitType);
  }

  @Override
  public int hashCode() {
    return Objects.hash(eligibilityIndicator, type, benefitAmount, benefitType);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class PtsV2PaymentsPost201ResponseProcessingInformationPurchaseOptions {\n");
    
    if (eligibilityIndicator != null) sb.append("    eligibilityIndicator: ").append(toIndentedString(eligibilityIndicator)).append("\n");
    if (type != null) sb.append("    type: ").append(toIndentedString(type)).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