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

io.swagger.client.model.ArchiveRecurringPlanRequest Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
/*
 * Qualpay Platform API
 * This document describes the Qualpay Platform API.
 *
 * OpenAPI spec version: 1.1.9
 * 
 *
 * 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 io.swagger.client.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;

/**
 * ArchiveRecurringPlanRequest
 */

public class ArchiveRecurringPlanRequest {
  @SerializedName("plan_name")
  private String planName = null;

  @SerializedName("merchant_id")
  private Long merchantId = null;

  public ArchiveRecurringPlanRequest planName(String planName) {
    this.planName = planName;
    return this;
  }

   /**
   * <strong>Format: </strong>Variable length, up to 64 AN<br><strong>Description: </strong>The name associated with the plan that should be archived.  
   * @return planName
  **/
  @ApiModelProperty(example = "ABCPlan", required = true, value = "Format: Variable length, up to 64 AN
Description: The name associated with the plan that should be archived. ") public String getPlanName() { return planName; } public void setPlanName(String planName) { this.planName = planName; } public ArchiveRecurringPlanRequest merchantId(Long merchantId) { this.merchantId = merchantId; return this; } /** * <strong>Format: </strong>Variable length, up to 16 AN<br><strong>Description: </strong>Identifies the merchant to whom this request applies. Optional field, applicable only if the request is sent on behalf of another merchant.<br><strong>Conditional Requirement: </strong>Required if this request is on behalf of another merchant. * @return merchantId **/ @ApiModelProperty(example = "210000000289", value = "Format: Variable length, up to 16 AN
Description: Identifies the merchant to whom this request applies. Optional field, applicable only if the request is sent on behalf of another merchant.
Conditional Requirement: Required if this request is on behalf of another merchant.") public Long getMerchantId() { return merchantId; } public void setMerchantId(Long merchantId) { this.merchantId = merchantId; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } ArchiveRecurringPlanRequest archiveRecurringPlanRequest = (ArchiveRecurringPlanRequest) o; return Objects.equals(this.planName, archiveRecurringPlanRequest.planName) && Objects.equals(this.merchantId, archiveRecurringPlanRequest.merchantId); } @Override public int hashCode() { return Objects.hash(planName, merchantId); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ArchiveRecurringPlanRequest {\n"); sb.append(" planName: ").append(toIndentedString(planName)).append("\n"); sb.append(" merchantId: ").append(toIndentedString(merchantId)).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