Class Link
java.lang.Object
io.deeplumen.ucp.models.schemas.shopping.Link
Link
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetTitle()Optional display text for the link.getType()Type of link.getUrl()The actual URL pointing to the content to be displayed.inthashCode()voidsetAdditionalProperty(String name, Object value) voidOptional display text for the link.voidType of link.voidThe actual URL pointing to the content to be displayed.toString()withAdditionalProperty(String name, Object value)
-
Constructor Details
-
Link
public Link()
-
-
Method Details
-
getType
Type of link. Well-known values: `privacy_policy`, `terms_of_service`, `refund_policy`, `shipping_policy`, `faq`. Consumers SHOULD handle unknown values gracefully by displaying them using the `title` field or omitting the link. (Required) -
setType
Type of link. Well-known values: `privacy_policy`, `terms_of_service`, `refund_policy`, `shipping_policy`, `faq`. Consumers SHOULD handle unknown values gracefully by displaying them using the `title` field or omitting the link. (Required) -
withType
-
getUrl
The actual URL pointing to the content to be displayed. (Required) -
setUrl
The actual URL pointing to the content to be displayed. (Required) -
withUrl
-
getTitle
Optional display text for the link. When provided, use this instead of generating from type. -
setTitle
Optional display text for the link. When provided, use this instead of generating from type. -
withTitle
-
getAdditionalProperties
-
setAdditionalProperty
-
withAdditionalProperty
-
toString
-
hashCode
public int hashCode() -
equals
-