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

com.stripe.model.PlatformTaxFee Maven / Gradle / Ivy

There is a newer version: 28.2.0
Show newest version
// Generated by delombok at Wed Jan 15 15:10:53 PST 2020
package com.stripe.model;

import com.google.gson.annotations.SerializedName;

public class PlatformTaxFee extends StripeObject implements BalanceTransactionSource {
  /**
   * The Connected account that incurred this charge.
   */
  @SerializedName("account")
  String account;
  /**
   * Unique identifier for the object.
   */
  @SerializedName("id")
  String id;
  /**
   * String representing the object's type. Objects of the same type share the same value.
   *
   * 

Equal to `platform_tax_fee`. */ @SerializedName("object") String object; /** * The payment object that caused this tax to be inflicted. */ @SerializedName("source_transaction") String sourceTransaction; /** * The type of tax (VAT). */ @SerializedName("type") String type; /** * The Connected account that incurred this charge. */ @java.lang.SuppressWarnings("all") @lombok.Generated public String getAccount() { return this.account; } /** * String representing the object's type. Objects of the same type share the same value. * *

Equal to `platform_tax_fee`. */ @java.lang.SuppressWarnings("all") @lombok.Generated public String getObject() { return this.object; } /** * The payment object that caused this tax to be inflicted. */ @java.lang.SuppressWarnings("all") @lombok.Generated public String getSourceTransaction() { return this.sourceTransaction; } /** * The type of tax (VAT). */ @java.lang.SuppressWarnings("all") @lombok.Generated public String getType() { return this.type; } /** * The Connected account that incurred this charge. */ @java.lang.SuppressWarnings("all") @lombok.Generated public void setAccount(final String account) { this.account = account; } /** * Unique identifier for the object. */ @java.lang.SuppressWarnings("all") @lombok.Generated public void setId(final String id) { this.id = id; } /** * String representing the object's type. Objects of the same type share the same value. * *

Equal to `platform_tax_fee`. */ @java.lang.SuppressWarnings("all") @lombok.Generated public void setObject(final String object) { this.object = object; } /** * The payment object that caused this tax to be inflicted. */ @java.lang.SuppressWarnings("all") @lombok.Generated public void setSourceTransaction(final String sourceTransaction) { this.sourceTransaction = sourceTransaction; } /** * The type of tax (VAT). */ @java.lang.SuppressWarnings("all") @lombok.Generated public void setType(final String type) { this.type = type; } @java.lang.Override @java.lang.SuppressWarnings("all") @lombok.Generated public boolean equals(final java.lang.Object o) { if (o == this) return true; if (!(o instanceof PlatformTaxFee)) return false; final PlatformTaxFee other = (PlatformTaxFee) o; if (!other.canEqual((java.lang.Object) this)) return false; final java.lang.Object this$account = this.getAccount(); final java.lang.Object other$account = other.getAccount(); if (this$account == null ? other$account != null : !this$account.equals(other$account)) return false; final java.lang.Object this$id = this.getId(); final java.lang.Object other$id = other.getId(); if (this$id == null ? other$id != null : !this$id.equals(other$id)) return false; final java.lang.Object this$object = this.getObject(); final java.lang.Object other$object = other.getObject(); if (this$object == null ? other$object != null : !this$object.equals(other$object)) return false; final java.lang.Object this$sourceTransaction = this.getSourceTransaction(); final java.lang.Object other$sourceTransaction = other.getSourceTransaction(); if (this$sourceTransaction == null ? other$sourceTransaction != null : !this$sourceTransaction.equals(other$sourceTransaction)) return false; final java.lang.Object this$type = this.getType(); final java.lang.Object other$type = other.getType(); if (this$type == null ? other$type != null : !this$type.equals(other$type)) return false; return true; } @java.lang.SuppressWarnings("all") @lombok.Generated protected boolean canEqual(final java.lang.Object other) { return other instanceof PlatformTaxFee; } @java.lang.Override @java.lang.SuppressWarnings("all") @lombok.Generated public int hashCode() { final int PRIME = 59; int result = 1; final java.lang.Object $account = this.getAccount(); result = result * PRIME + ($account == null ? 43 : $account.hashCode()); final java.lang.Object $id = this.getId(); result = result * PRIME + ($id == null ? 43 : $id.hashCode()); final java.lang.Object $object = this.getObject(); result = result * PRIME + ($object == null ? 43 : $object.hashCode()); final java.lang.Object $sourceTransaction = this.getSourceTransaction(); result = result * PRIME + ($sourceTransaction == null ? 43 : $sourceTransaction.hashCode()); final java.lang.Object $type = this.getType(); result = result * PRIME + ($type == null ? 43 : $type.hashCode()); return result; } /** * Unique identifier for the object. */ @Override @java.lang.SuppressWarnings("all") @lombok.Generated public String getId() { return this.id; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy