Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disambiguate payment acct json form's "country" field
Make it clear the user needs to enter a two letter country code in json form's "country" field, not a country name. The json form's field name was not changed to "countryCode" in this change for the following reason: The API's payment account forms are dynamically generated using reflection, and PaymentAccount class hierarchy @Setter methods determine which form fields are included or excluded. Reflection and @Setter methods are also used when reading completed json forms, to set the field values on a new PaymentAccount instance before it is persisted. CountryBasedPaymentAccount subclasses have a country field and a @Setter, not a countryCode field, hence this shortcut to informing the user the country field value is a country-code.
- Loading branch information