Interface OnlineReturnPolicy.SeasonalOverrideOrBuilder (0.16.0)

public static interface OnlineReturnPolicy.SeasonalOverrideOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndDate()

public abstract Date getEndDate()

Required. seasonal override end date (inclusive).

.google.type.Date end_date = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.Date

The endDate.

getEndDateOrBuilder()

public abstract DateOrBuilder getEndDateOrBuilder()

Required. seasonal override end date (inclusive).

.google.type.Date end_date = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.DateOrBuilder

getLabel()

public abstract String getLabel()

Required. Display name of this seasonal override in Merchant Center.

string label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The label.

getLabelBytes()

public abstract ByteString getLabelBytes()

Required. Display name of this seasonal override in Merchant Center.

string label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for label.

getReturnDays()

public abstract int getReturnDays()

Number of days (from the delivery date) that the product can be returned.

int32 return_days = 5;

Returns
Type Description
int

The returnDays.

getReturnUntilDate()

public abstract Date getReturnUntilDate()

Fixed end date until which the product can be returned.

.google.type.Date return_until_date = 6;

Returns
Type Description
com.google.type.Date

The returnUntilDate.

getReturnUntilDateOrBuilder()

public abstract DateOrBuilder getReturnUntilDateOrBuilder()

Fixed end date until which the product can be returned.

.google.type.Date return_until_date = 6;

Returns
Type Description
com.google.type.DateOrBuilder

getReturnWindowCase()

public abstract OnlineReturnPolicy.SeasonalOverride.ReturnWindowCase getReturnWindowCase()
Returns
Type Description
OnlineReturnPolicy.SeasonalOverride.ReturnWindowCase

getStartDate()

public abstract Date getStartDate()

Required. Defines the date range when this seasonal override applies. Both start_date and end_date are inclusive. The dates of the seasonal overrides should not overlap.

.google.type.Date start_date = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.Date

The startDate.

getStartDateOrBuilder()

public abstract DateOrBuilder getStartDateOrBuilder()

Required. Defines the date range when this seasonal override applies. Both start_date and end_date are inclusive. The dates of the seasonal overrides should not overlap.

.google.type.Date start_date = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.DateOrBuilder

hasEndDate()

public abstract boolean hasEndDate()

Required. seasonal override end date (inclusive).

.google.type.Date end_date = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the endDate field is set.

hasReturnDays()

public abstract boolean hasReturnDays()

Number of days (from the delivery date) that the product can be returned.

int32 return_days = 5;

Returns
Type Description
boolean

Whether the returnDays field is set.

hasReturnUntilDate()

public abstract boolean hasReturnUntilDate()

Fixed end date until which the product can be returned.

.google.type.Date return_until_date = 6;

Returns
Type Description
boolean

Whether the returnUntilDate field is set.

hasStartDate()

public abstract boolean hasStartDate()

Required. Defines the date range when this seasonal override applies. Both start_date and end_date are inclusive. The dates of the seasonal overrides should not overlap.

.google.type.Date start_date = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the startDate field is set.