1
0
Files
PayPal-PHP-Server-SDK/doc/models/last-payment-details.md
2025-11-06 20:07:39 +00:00

1.1 KiB

Last Payment Details

Structure

LastPaymentDetails

Fields

Name Type Tags Description Getter Setter
amount ?Money Optional The currency and amount for a financial transaction, such as a balance or payment due. getAmount(): ?Money setAmount(?Money amount): void
time ?string Optional The date and time, in Internet date and time format. Seconds are required while fractional seconds are optional. Note: The regular expression provides guidance but does not reject all invalid dates.

Constraints: Minimum Length: 20, Maximum Length: 64, Pattern: ^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$
getTime(): ?string setTime(?string time): void

Example (as JSON)

{
  "amount": {
    "currency_code": "currency_code6",
    "value": "value0"
  },
  "time": "time0"
}