Interface UriSettingsOrBuilder (0.24.0)

public interface UriSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCartUriTemplate()

public abstract String getCartUriTemplate()

Cart URL template. When the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart. For more details, check the help center doc

string cart_uri_template = 2;

Returns
Type Description
String

The cartUriTemplate.

getCartUriTemplateBytes()

public abstract ByteString getCartUriTemplateBytes()

Cart URL template. When the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart. For more details, check the help center doc

string cart_uri_template = 2;

Returns
Type Description
ByteString

The bytes for cartUriTemplate.

getCheckoutUriTemplate()

public abstract String getCheckoutUriTemplate()

Checkout URL template. When the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart. For more details, check the help center doc

string checkout_uri_template = 1;

Returns
Type Description
String

The checkoutUriTemplate.

getCheckoutUriTemplateBytes()

public abstract ByteString getCheckoutUriTemplateBytes()

Checkout URL template. When the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart. For more details, check the help center doc

string checkout_uri_template = 1;

Returns
Type Description
ByteString

The bytes for checkoutUriTemplate.

getUriTemplateCase()

public abstract UriSettings.UriTemplateCase getUriTemplateCase()
Returns
Type Description
UriSettings.UriTemplateCase

hasCartUriTemplate()

public abstract boolean hasCartUriTemplate()

Cart URL template. When the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart. For more details, check the help center doc

string cart_uri_template = 2;

Returns
Type Description
boolean

Whether the cartUriTemplate field is set.

hasCheckoutUriTemplate()

public abstract boolean hasCheckoutUriTemplate()

Checkout URL template. When the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart. For more details, check the help center doc

string checkout_uri_template = 1;

Returns
Type Description
boolean

Whether the checkoutUriTemplate field is set.