Class Session.PaymentMethodOptions.Paypal
- All Implemented Interfaces:
- StripeObjectInterface
- Enclosing class:
- Session.PaymentMethodOptions
- 
Field SummaryFields inherited from class com.stripe.model.StripeObjectPRETTY_PRINT_GSON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanControls when the funds will be captured from the customer's account.Preferred locale of the PayPal checkout page that the customer is redirected to.A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID.Indicates that you intend to make future payments with this PaymentIntent's payment method.The Stripe connected account IDs of the sellers on the platform for this transaction (optional).inthashCode()voidsetCaptureMethod(String captureMethod) Controls when the funds will be captured from the customer's account.voidsetPreferredLocale(String preferredLocale) Preferred locale of the PayPal checkout page that the customer is redirected to.voidsetReference(String reference) A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID.voidsetSetupFutureUsage(String setupFutureUsage) Indicates that you intend to make future payments with this PaymentIntent's payment method.voidsetSubsellers(List<String> subsellers) The Stripe connected account IDs of the sellers on the platform for this transaction (optional).Methods inherited from class com.stripe.model.StripeObjectdeserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
- 
Constructor Details- 
Paypalpublic Paypal()
 
- 
- 
Method Details- 
getCaptureMethodControls when the funds will be captured from the customer's account.Equal to manual.
- 
getPreferredLocalePreferred locale of the PayPal checkout page that the customer is redirected to.
- 
getReferenceA reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
- 
getSetupFutureUsageIndicates that you intend to make future payments with this PaymentIntent's payment method.If you provide a Customer with the PaymentIntent, you can use this parameter to attach the payment method to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still attach the payment method to a Customer after the transaction completes. If the payment method is card_presentand isn't a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses setup_future_usageto help you comply with regional legislation and network rules, such as SCA.One of none, oroff_session.
- 
getSubsellersThe Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when separate charges and transfers are used.
- 
setCaptureMethodControls when the funds will be captured from the customer's account.Equal to manual.
- 
setPreferredLocalePreferred locale of the PayPal checkout page that the customer is redirected to.
- 
setReferenceA reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
- 
setSetupFutureUsageIndicates that you intend to make future payments with this PaymentIntent's payment method.If you provide a Customer with the PaymentIntent, you can use this parameter to attach the payment method to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still attach the payment method to a Customer after the transaction completes. If the payment method is card_presentand isn't a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses setup_future_usageto help you comply with regional legislation and network rules, such as SCA.One of none, oroff_session.
- 
setSubsellersThe Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when separate charges and transfers are used.
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
 
-