/*
 * Swagger of Opencellsoft Api
 * @#Introduction
 *
 * The version of the OpenAPI document: 7.3.1-SNAPSHOT
 * Contact: contact@opencellsoft.fr
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package org.openapitools.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;
import org.threeten.bp.OffsetDateTime;

/**
 * WalletBalanceDto
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2019-09-13T10:03:17.753Z[GMT]")
public class WalletBalanceDto {
  public static final String SERIALIZED_NAME_SELLER_CODE = "sellerCode";
  @SerializedName(SERIALIZED_NAME_SELLER_CODE)
  private String sellerCode;

  public static final String SERIALIZED_NAME_CUSTOMER_CODE = "customerCode";
  @SerializedName(SERIALIZED_NAME_CUSTOMER_CODE)
  private String customerCode;

  public static final String SERIALIZED_NAME_CUSTOMER_ACCOUNT_CODE = "customerAccountCode";
  @SerializedName(SERIALIZED_NAME_CUSTOMER_ACCOUNT_CODE)
  private String customerAccountCode;

  public static final String SERIALIZED_NAME_BILLING_ACCOUNT_CODE = "billingAccountCode";
  @SerializedName(SERIALIZED_NAME_BILLING_ACCOUNT_CODE)
  private String billingAccountCode;

  public static final String SERIALIZED_NAME_USER_ACCOUNT_CODE = "userAccountCode";
  @SerializedName(SERIALIZED_NAME_USER_ACCOUNT_CODE)
  private String userAccountCode;

  public static final String SERIALIZED_NAME_START_DATE = "startDate";
  @SerializedName(SERIALIZED_NAME_START_DATE)
  private OffsetDateTime startDate;

  public static final String SERIALIZED_NAME_END_DATE = "endDate";
  @SerializedName(SERIALIZED_NAME_END_DATE)
  private OffsetDateTime endDate;

  public static final String SERIALIZED_NAME_WALLET_CODE = "walletCode";
  @SerializedName(SERIALIZED_NAME_WALLET_CODE)
  private String walletCode;

  public static final String SERIALIZED_NAME_AMOUNT_WITH_TAX = "amountWithTax";
  @SerializedName(SERIALIZED_NAME_AMOUNT_WITH_TAX)
  private Boolean amountWithTax;


  public WalletBalanceDto sellerCode(String sellerCode) {
    
    this.sellerCode = sellerCode;
    return this;
  }

   /**
   * Get sellerCode
   * @return sellerCode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getSellerCode() {
    return sellerCode;
  }



  public void setSellerCode(String sellerCode) {
    this.sellerCode = sellerCode;
  }


  public WalletBalanceDto customerCode(String customerCode) {
    
    this.customerCode = customerCode;
    return this;
  }

   /**
   * Get customerCode
   * @return customerCode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getCustomerCode() {
    return customerCode;
  }



  public void setCustomerCode(String customerCode) {
    this.customerCode = customerCode;
  }


  public WalletBalanceDto customerAccountCode(String customerAccountCode) {
    
    this.customerAccountCode = customerAccountCode;
    return this;
  }

   /**
   * Get customerAccountCode
   * @return customerAccountCode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getCustomerAccountCode() {
    return customerAccountCode;
  }



  public void setCustomerAccountCode(String customerAccountCode) {
    this.customerAccountCode = customerAccountCode;
  }


  public WalletBalanceDto billingAccountCode(String billingAccountCode) {
    
    this.billingAccountCode = billingAccountCode;
    return this;
  }

   /**
   * Get billingAccountCode
   * @return billingAccountCode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getBillingAccountCode() {
    return billingAccountCode;
  }



  public void setBillingAccountCode(String billingAccountCode) {
    this.billingAccountCode = billingAccountCode;
  }


  public WalletBalanceDto userAccountCode(String userAccountCode) {
    
    this.userAccountCode = userAccountCode;
    return this;
  }

   /**
   * Get userAccountCode
   * @return userAccountCode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getUserAccountCode() {
    return userAccountCode;
  }



  public void setUserAccountCode(String userAccountCode) {
    this.userAccountCode = userAccountCode;
  }


  public WalletBalanceDto startDate(OffsetDateTime startDate) {
    
    this.startDate = startDate;
    return this;
  }

   /**
   * Get startDate
   * @return startDate
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public OffsetDateTime getStartDate() {
    return startDate;
  }



  public void setStartDate(OffsetDateTime startDate) {
    this.startDate = startDate;
  }


  public WalletBalanceDto endDate(OffsetDateTime endDate) {
    
    this.endDate = endDate;
    return this;
  }

   /**
   * Get endDate
   * @return endDate
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public OffsetDateTime getEndDate() {
    return endDate;
  }



  public void setEndDate(OffsetDateTime endDate) {
    this.endDate = endDate;
  }


  public WalletBalanceDto walletCode(String walletCode) {
    
    this.walletCode = walletCode;
    return this;
  }

   /**
   * Get walletCode
   * @return walletCode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getWalletCode() {
    return walletCode;
  }



  public void setWalletCode(String walletCode) {
    this.walletCode = walletCode;
  }


  public WalletBalanceDto amountWithTax(Boolean amountWithTax) {
    
    this.amountWithTax = amountWithTax;
    return this;
  }

   /**
   * Get amountWithTax
   * @return amountWithTax
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public Boolean getAmountWithTax() {
    return amountWithTax;
  }



  public void setAmountWithTax(Boolean amountWithTax) {
    this.amountWithTax = amountWithTax;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    WalletBalanceDto walletBalanceDto = (WalletBalanceDto) o;
    return Objects.equals(this.sellerCode, walletBalanceDto.sellerCode) &&
        Objects.equals(this.customerCode, walletBalanceDto.customerCode) &&
        Objects.equals(this.customerAccountCode, walletBalanceDto.customerAccountCode) &&
        Objects.equals(this.billingAccountCode, walletBalanceDto.billingAccountCode) &&
        Objects.equals(this.userAccountCode, walletBalanceDto.userAccountCode) &&
        Objects.equals(this.startDate, walletBalanceDto.startDate) &&
        Objects.equals(this.endDate, walletBalanceDto.endDate) &&
        Objects.equals(this.walletCode, walletBalanceDto.walletCode) &&
        Objects.equals(this.amountWithTax, walletBalanceDto.amountWithTax);
  }

  @Override
  public int hashCode() {
    return Objects.hash(sellerCode, customerCode, customerAccountCode, billingAccountCode, userAccountCode, startDate, endDate, walletCode, amountWithTax);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class WalletBalanceDto {\n");
    sb.append("    sellerCode: ").append(toIndentedString(sellerCode)).append("\n");
    sb.append("    customerCode: ").append(toIndentedString(customerCode)).append("\n");
    sb.append("    customerAccountCode: ").append(toIndentedString(customerAccountCode)).append("\n");
    sb.append("    billingAccountCode: ").append(toIndentedString(billingAccountCode)).append("\n");
    sb.append("    userAccountCode: ").append(toIndentedString(userAccountCode)).append("\n");
    sb.append("    startDate: ").append(toIndentedString(startDate)).append("\n");
    sb.append("    endDate: ").append(toIndentedString(endDate)).append("\n");
    sb.append("    walletCode: ").append(toIndentedString(walletCode)).append("\n");
    sb.append("    amountWithTax: ").append(toIndentedString(amountWithTax)).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    ");
  }

}

