Interface OnlineReturnPolicy.PolicyOrBuilder (0.9.0)

public static interface OnlineReturnPolicy.PolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDays()

public abstract long getDays()

The number of days items can be returned after delivery, where one day is defined as 24 hours after the delivery timestamp. Required for NUMBER_OF_DAYS_AFTER_DELIVERY returns.

int64 days = 2;

Returns
Type Description
long

The days.

getType()

public abstract OnlineReturnPolicy.Policy.Type getType()

Policy type.

.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.Policy.Type type = 1;

Returns
Type Description
OnlineReturnPolicy.Policy.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Policy type.

.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.Policy.Type type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.