forked from LiveCarta/PayPal-PHP-Server-SDK
* Automated commit message * Automated commit message * Automated commit message * Automated commit message --------- Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
1.2 KiB
1.2 KiB
Cobranded Card
Details about the merchant cobranded card used for order purchase.
Structure
CobrandedCard
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
labels |
?(string[]) |
Optional | Array of labels for the cobranded card. Constraints: Minimum Items: 1, Maximum Items: 25, Minimum Length: 1, Maximum Length: 256 |
getLabels(): ?array | setLabels(?array labels): void |
payee |
?PayeeBase |
Optional | The details for the merchant who receives the funds and fulfills the order. The merchant is also known as the payee. | getPayee(): ?PayeeBase | setPayee(?PayeeBase payee): void |
amount |
?Money |
Optional | The currency and amount for a financial transaction, such as a balance or payment due. | getAmount(): ?Money | setAmount(?Money amount): void |
Example (as JSON)
{
"labels": [
"labels2",
"labels3"
],
"payee": {
"email_address": "email_address4",
"merchant_id": "merchant_id6"
},
"amount": {
"currency_code": "currency_code6",
"value": "value0"
}
}