Google is committed to advancing racial equity for Black communities. See how.

LoyaltyPointsBalance

public final class LoyaltyPointsBalance extends Object
implements Parcelable

Parcelable representing loyalty points balance.

Nested Class Summary

class LoyaltyPointsBalance.Builder Builder to create a LoyaltyPointsBalance
interface LoyaltyPointsBalance.Type Type of the loyalty points balance. 

Inherited Constant Summary

Field Summary

public static final Creator<LoyaltyPointsBalance> CREATOR

Public Method Summary

String
long
double
int
String
int
static LoyaltyPointsBalance.Builder
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Fields

public static final Creator<LoyaltyPointsBalance> CREATOR

Public Methods

public String getCurrencyCode ()

Returns
  • the balance currency code

public long getCurrencyMicros ()

Returns
  • the balance currency micros

public double getDouble ()

Returns
  • the balance double value

public int getInt ()

Returns
  • the balance int value

public String getString ()

Returns
  • the balance string value

public int getType ()

Returns
  • the balance type

public static LoyaltyPointsBalance.Builder newBuilder ()

public void writeToParcel (Parcel dest, int flags)