1
0
Files
PayPal-PHP-Server-SDK/doc/models/level-2-card-processing-data.md
2024-09-06 15:38:17 +05:00

1.1 KiB
Raw Blame History

Level 2 Card Processing Data

The level 2 card processing data collections. If your merchant account has been configured for Level 2 processing this field will be passed to the processor on your behalf. Please contact your PayPal Technical Account Manager to define level 2 data for your business.

Structure

Level2CardProcessingData

Fields

Name Type Tags Description Getter Setter
invoiceId ?string Optional Use this field to pass a purchase identification value of up to 12 ASCII characters for AIB and 17 ASCII characters for all other processors.
Constraints: Minimum Length: 1, Maximum Length: 17, Pattern: ^[\w\-.,":;\!?]*$
getInvoiceId(): ?string setInvoiceId(?string invoiceId): void
taxTotal ?Money Optional The currency and amount for a financial transaction, such as a balance or payment due. getTaxTotal(): ?Money setTaxTotal(?Money taxTotal): void

Example (as JSON)

{
  "invoice_id": "invoice_id8",
  "tax_total": {
    "currency_code": "currency_code4",
    "value": "value0"
  }
}