Skip to content

Commit 9a64bda

Browse files
senderInformation comment
1 parent 6d5e019 commit 9a64bda

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎src/main/java/com/checkout/payments/ProcessingSettings.java‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,17 @@ public final class ProcessingSettings {
302302
/**
303303
* Sender information. Used for Previous API only.
304304
* [Optional]
305+
*
306+
* <p>Not in the current specification. The property appears under neither
307+
* {@code senderInformation} nor {@code sender_information} in any spec available to this
308+
* workspace, including the live API reference, and no processing schema declares a sender
309+
* property of any kind. Deprecated in practice; the current API carries sender details in the
310+
* top level {@code sender} object on the payment request instead.
311+
*
312+
* <p>Left exactly as it was on purpose. Gson's global
313+
* {@code LOWER_CASE_WITH_UNDERSCORES} policy sends this as {@code sender_information}. There
314+
* is no evidence establishing which key, if either, the gateway reads, so nothing here
315+
* overrides that. Do not add a {@code @SerializedName} without a live confirmation.
305316
*/
306317
private SenderInformation senderInformation;
307318

0 commit comments

Comments
 (0)