Interface LoyaltyPointsOrBuilder (0.1.0)

public interface LoyaltyPointsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getPointsValue()

public abstract long getPointsValue()

The retailer's loyalty points in absolute value.

int64 points_value = 2;

Returns
Type Description
long

The pointsValue.

getRatio()

public abstract double getRatio()

The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0.

double ratio = 3;

Returns
Type Description
double

The ratio.