Package com.lithic.api.models
Class CardGetEmbedUrlParams.CardGetEmbedUrlBody
-
- All Implemented Interfaces:
public final class CardGetEmbedUrlParams.CardGetEmbedUrlBody
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCardGetEmbedUrlParams.CardGetEmbedUrlBody.Builder
-
Method Summary
Modifier and Type Method Description final Stringtoken()Globally unique identifier for the card to be displayed. final Stringcss()A publicly available URI, so the white-labeled card element can be styled with the client's branding. final OffsetDateTimeexpiration()An RFC 3339 timestamp for when the request should expire. final StringtargetOrigin()Required if you want to post the element clicked to the parent iframe. final Map<String, JsonValue>_additionalProperties()final CardGetEmbedUrlParams.CardGetEmbedUrlBody.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CardGetEmbedUrlParams.CardGetEmbedUrlBody.Builderbuilder()-
-
Method Detail
-
css
final String css()
A publicly available URI, so the white-labeled card element can be styled with the client's branding.
-
expiration
final OffsetDateTime expiration()
An RFC 3339 timestamp for when the request should expire. UTC time zone.
If no timezone is specified, UTC will be used. If payload does not contain an expiration, the request will never expire.
Using an
expirationreduces the risk of a replay attack. Without supplying theexpiration, in the event that a malicious user gets a copy of your request in transit, they will be able to obtain the response data indefinitely.
-
targetOrigin
final String targetOrigin()
Required if you want to post the element clicked to the parent iframe.
If you supply this param, you can also capture click events in the parent iframe by adding an event listener.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CardGetEmbedUrlParams.CardGetEmbedUrlBody.Builder toBuilder()
-
builder
final static CardGetEmbedUrlParams.CardGetEmbedUrlBody.Builder builder()
-
-
-
-