Class PaymentLink.ConsentCollection

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentLink.ConsentCollection
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
PaymentLink

public static class PaymentLink.ConsentCollection extends StripeObject
  • Constructor Details

    • ConsentCollection

      public ConsentCollection()
  • Method Details

    • getPromotions

      public String getPromotions()
      If set to auto, enables the collection of customer consent for promotional communications.

      Equal to auto.

    • setPromotions

      public void setPromotions(String promotions)
      If set to auto, enables the collection of customer consent for promotional communications.

      Equal to auto.

    • 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