ReadonlydayReadonlyhourReadonlymillisecondReadonlyminuteReadonlymonthReadonlyoffsetMinutes east of UTC (0 for Z), or null when the API sent no offset (Mastercard).
ReadonlyparsedFalse when the API sent a form this SDK cannot read; only raw holds it then.
ReadonlyrawThe value as the API sent it, such as 2026-01-01T10:00:00 or 2026-01-01T10:00:00Z.
ReadonlysecondReadonlyyearTrue when the API sent an offset (Visa, Amex): the value is an exact moment.
The exact moment, or null when the API sent no offset (Mastercard local time). Use
toDateAtOffset if you know the merchant's offset, or show the local parts as they are.
The moment this wall-clock time is at the given offset (minutes east of UTC). Throws RangeError when parsed is false.
The raw string, so JSON.stringify writes back what the API sent.
StaticfromFor the generated model: reads the JSON value. null and undefined pass through; a string this
SDK cannot read is kept in raw with parsed false, so one value never fails a response.
For the generated model: reads the JSON value. null and undefined pass through; a string this
SDK cannot read is kept in raw with parsed false, so one value never fails a response.
For the generated model: reads the JSON value. null and undefined pass through; a string this
SDK cannot read is kept in raw with parsed false, so one value never fails a response.
StaticparseReads an ISO 8601 date-time, with or without an offset. Throws RangeError for anything else,
an impossible date or time (2026-02-30, 25:00) or offset included.
1 to 12.