Sepa Debit Experience Context
August 21, 2026 ยท View on GitHub
Customizes the payer experience during the approval process for the SEPA Debit payment.
Structure
SepaDebitExperienceContext
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
Locale | String | Optional | The language tag for the language in which to localize the error-related strings, such as messages, issues, and suggested actions. The tag is made up of the ISO 639-2 language code, the optional ISO-15924 script tag, and the ISO-3166 alpha-2 country code or M49 region code. Constraints: Minimum Length: 2, Maximum Length: 10, Pattern: ^[a-z]{2}(?:-[A-Z][a-z]{3})?(?:-(?:[A-Z]{2}|[0-9]{3}))?$ | String getLocale() | setLocale(String locale) |
ReturnUrl | String | Required | Describes the URL. | String getReturnUrl() | setReturnUrl(String returnUrl) |
CancelUrl | String | Required | Describes the URL. | String getCancelUrl() | setCancelUrl(String cancelUrl) |
Example
import com.paypal.sdk.models.SepaDebitExperienceContext;
SepaDebitExperienceContext sepaDebitExperienceContext = new SepaDebitExperienceContext.Builder(
"return_url4",
"cancel_url6"
)
.locale("locale6")
.build();