1
0
Files
PayPal-PHP-Server-SDK/doc/models/sepa-debit-experience-context.md
2025-11-06 20:07:39 +00:00

1.4 KiB

Sepa Debit Experience Context

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}))?$
getLocale(): ?string setLocale(?string locale): void
returnUrl string Required Describes the URL. getReturnUrl(): string setReturnUrl(string returnUrl): void
cancelUrl string Required Describes the URL. getCancelUrl(): string setCancelUrl(string cancelUrl): void

Example (as JSON)

{
  "locale": "locale8",
  "return_url": "return_url6",
  "cancel_url": "cancel_url8"
}