Class PaymentRecord.PaymentMethodDetails.Custom

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentRecord.PaymentMethodDetails.Custom
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
PaymentRecord.PaymentMethodDetails

public static class PaymentRecord.PaymentMethodDetails.Custom extends StripeObject
Custom Payment Methods represent Payment Method types not modeled directly in the Stripe API. This resource consists of details about the custom payment method used for this payment attempt.
  • Constructor Details

    • Custom

      public Custom()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Display name for the custom (user-defined) payment method type used to make this payment.
    • getType

      public String getType()
      The custom payment method type associated with this payment.
    • setDisplayName

      public void setDisplayName(String displayName)
      Display name for the custom (user-defined) payment method type used to make this payment.
    • setType

      public void setType(String type)
      The custom payment method type associated with this payment.
    • 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