Class Invoice.PaymentSettings

  • All Implemented Interfaces:
    StripeObjectInterface
    Enclosing class:
    Invoice

    public static class Invoice.PaymentSettings
    extends StripeObject
    We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and other requirements. However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on manually requesting 3D Secure for more information on how this configuration interacts with Radar and our SCA Engine.

    One of any, or automatic.

    • Constructor Detail

      • PaymentSettings

        public PaymentSettings()
    • Method Detail

      • getPaymentMethodOptions

        public Invoice.PaymentMethodOptions getPaymentMethodOptions()
        Payment-method-specific configuration to provide to the invoice’s PaymentIntent.
      • getPaymentMethodTypes

        public java.util.List<java.lang.String> getPaymentMethodTypes()
        The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your invoice template settings.
      • setPaymentMethodOptions

        public void setPaymentMethodOptions​(Invoice.PaymentMethodOptions paymentMethodOptions)
        Payment-method-specific configuration to provide to the invoice’s PaymentIntent.
      • setPaymentMethodTypes

        public void setPaymentMethodTypes​(java.util.List<java.lang.String> paymentMethodTypes)
        The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your invoice template settings.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object