Class PayoutMethod.AlternativeReference

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.moneymanagement.PayoutMethod.AlternativeReference
All Implemented Interfaces:
HasId, StripeObjectInterface
Enclosing class:
PayoutMethod

public static class PayoutMethod.AlternativeReference extends StripeObject implements HasId
The alternative reference for this payout method, if it's a projected payout method.
  • Constructor Details

    • AlternativeReference

      public AlternativeReference()
  • Method Details

    • getType

      public String getType()
      The type of the alternative reference (e.g., external_account for V1 external accounts).

      One of external_account, or payment_method.

    • setId

      public void setId(String id)
      The ID of the alternative resource being referenced.
    • setType

      public void setType(String type)
      The type of the alternative reference (e.g., external_account for V1 external accounts).

      One of external_account, or payment_method.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getId

      public String getId()
      The ID of the alternative resource being referenced.
      Specified by:
      getId in interface HasId