forked from LiveCarta/PayPal-PHP-Server-SDK
Beta Release 0.5.0 (#3)
* Automated commit message * Automated commit message * Automated commit message * Automated commit message --------- Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
This commit is contained in:
25
doc/models/supplementary-purchase-data.md
Normal file
25
doc/models/supplementary-purchase-data.md
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
# Supplementary Purchase Data
|
||||
|
||||
The capture identification-related fields. Includes the invoice ID, custom ID, note to payer, and soft descriptor.
|
||||
|
||||
## Structure
|
||||
|
||||
`SupplementaryPurchaseData`
|
||||
|
||||
## Fields
|
||||
|
||||
| Name | Type | Tags | Description | Getter | Setter |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| `invoiceId` | `?string` | Optional | The API caller-provided external invoice number for this order. Appears in both the payer's transaction history and the emails that the payer receives.<br>**Constraints**: *Minimum Length*: `1`, *Maximum Length*: `127`, *Pattern*: `^.{1,127}$` | getInvoiceId(): ?string | setInvoiceId(?string invoiceId): void |
|
||||
| `noteToPayer` | `?string` | Optional | An informational note about this settlement. Appears in both the payer's transaction history and the emails that the payer receives.<br>**Constraints**: *Minimum Length*: `1`, *Maximum Length*: `255`, *Pattern*: `^.{1,255}$` | getNoteToPayer(): ?string | setNoteToPayer(?string noteToPayer): void |
|
||||
|
||||
## Example (as JSON)
|
||||
|
||||
```json
|
||||
{
|
||||
"invoice_id": "invoice_id8",
|
||||
"note_to_payer": "note_to_payer0"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user