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
Get expanded account.
  • Constructor Details

    • ConsentCollection

      public ConsentCollection()
  • Method Details

    • getPaymentMethodReuseAgreement

      public PaymentLink.ConsentCollection.PaymentMethodReuseAgreement getPaymentMethodReuseAgreement()
      Settings related to the payment method reuse text shown in the Checkout UI.
    • getPromotions

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

      One of auto, or none.

    • getTermsOfService

      public String getTermsOfService()
      If set to required, it requires cutomers to accept the terms of service before being able to pay. If set to none, customers won't be shown a checkbox to accept the terms of service.

      One of none, or required.

    • setPaymentMethodReuseAgreement

      public void setPaymentMethodReuseAgreement(PaymentLink.ConsentCollection.PaymentMethodReuseAgreement paymentMethodReuseAgreement)
      Settings related to the payment method reuse text shown in the Checkout UI.
    • setPromotions

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

      One of auto, or none.

    • setTermsOfService

      public void setTermsOfService(String termsOfService)
      If set to required, it requires cutomers to accept the terms of service before being able to pay. If set to none, customers won't be shown a checkbox to accept the terms of service.

      One of none, or required.

    • 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