Class PaymentIntent.PaymentMethodOptions.Paypal

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.PaymentMethodOptions.Paypal
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
PaymentIntent.PaymentMethodOptions

public static class PaymentIntent.PaymentMethodOptions.Paypal extends StripeObject
  • Constructor Details

    • Paypal

      public Paypal()
  • Method Details

    • getCaptureMethod

      public String getCaptureMethod()
      Controls when the funds will be captured from the customer's account.

      Equal to manual.

    • getPreferredLocale

      public String getPreferredLocale()
      Preferred locale of the PayPal checkout page that the customer is redirected to.
    • getReferenceId

      public String getReferenceId()
      A unique reference ID of the PayPal transaction. This must be a globally unique ID across all PayPal transactions or the transaction will fail.
    • setCaptureMethod

      public void setCaptureMethod(String captureMethod)
      Controls when the funds will be captured from the customer's account.

      Equal to manual.

    • setPreferredLocale

      public void setPreferredLocale(String preferredLocale)
      Preferred locale of the PayPal checkout page that the customer is redirected to.
    • setReferenceId

      public void setReferenceId(String referenceId)
      A unique reference ID of the PayPal transaction. This must be a globally unique ID across all PayPal transactions or the transaction will fail.
    • 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