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

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

// Generated by delombok at Thu Nov 08 14:01:03 PST 2018
package com.stripe.model;

public final class PaymentIntentSourceActionValueAuthorizeWithUrl extends PaymentIntentSourceActionValue {
  String returnUrl;
  String url;

  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  public String getReturnUrl() {
    return this.returnUrl;
  }

  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  public String getUrl() {
    return this.url;
  }

  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  public void setReturnUrl(final String returnUrl) {
    this.returnUrl = returnUrl;
  }

  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  public void setUrl(final String url) {
    this.url = url;
  }

  @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 PaymentIntentSourceActionValueAuthorizeWithUrl)) return false;
    final PaymentIntentSourceActionValueAuthorizeWithUrl other = (PaymentIntentSourceActionValueAuthorizeWithUrl) o;
    if (!other.canEqual((java.lang.Object) this)) return false;
    final java.lang.Object this$returnUrl = this.getReturnUrl();
    final java.lang.Object other$returnUrl = other.getReturnUrl();
    if (this$returnUrl == null ? other$returnUrl != null : !this$returnUrl.equals(other$returnUrl)) return false;
    final java.lang.Object this$url = this.getUrl();
    final java.lang.Object other$url = other.getUrl();
    if (this$url == null ? other$url != null : !this$url.equals(other$url)) return false;
    return true;
  }

  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  protected boolean canEqual(final java.lang.Object other) {
    return other instanceof PaymentIntentSourceActionValueAuthorizeWithUrl;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  public int hashCode() {
    final int PRIME = 59;
    int result = 1;
    final java.lang.Object $returnUrl = this.getReturnUrl();
    result = result * PRIME + ($returnUrl == null ? 43 : $returnUrl.hashCode());
    final java.lang.Object $url = this.getUrl();
    result = result * PRIME + ($url == null ? 43 : $url.hashCode());
    return result;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy