Interface ProductInstallmentOrBuilder (1.27.0)

public interface ProductInstallmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAmount()

public abstract Price getAmount()

The amount the buyer has to pay per month.

.google.shopping.type.Price amount = 2;

Returns
Type Description
com.google.shopping.type.Price

The amount.

getAmountOrBuilder()

public abstract PriceOrBuilder getAmountOrBuilder()

The amount the buyer has to pay per month.

.google.shopping.type.Price amount = 2;

Returns
Type Description
com.google.shopping.type.PriceOrBuilder

getAnnualPercentageRate()

public abstract double getAnnualPercentageRate()

Optional. Annual percentage rate for credit_type finance

optional double annual_percentage_rate = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The annualPercentageRate.

getCreditType()

public abstract CreditType getCreditType()

Type of installment payments.

optional .google.shopping.merchant.products.v1.CreditType credit_type = 4;

Returns
Type Description
CreditType

The creditType.

getCreditTypeValue()

public abstract int getCreditTypeValue()

Type of installment payments.

optional .google.shopping.merchant.products.v1.CreditType credit_type = 4;

Returns
Type Description
int

The enum numeric value on the wire for creditType.

getDownpayment()

public abstract Price getDownpayment()

The up-front down payment amount the buyer has to pay.

optional .google.shopping.type.Price downpayment = 3;

Returns
Type Description
com.google.shopping.type.Price

The downpayment.

getDownpaymentOrBuilder()

public abstract PriceOrBuilder getDownpaymentOrBuilder()

The up-front down payment amount the buyer has to pay.

optional .google.shopping.type.Price downpayment = 3;

Returns
Type Description
com.google.shopping.type.PriceOrBuilder

getMileageAllowance()

public abstract ProductAttributes.Mileage getMileageAllowance()

Optional. The mileage allowance for the lease of the vehicle. Only applicable to vehicle products.

optional .google.shopping.merchant.products.v1.ProductAttributes.Mileage mileage_allowance = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductAttributes.Mileage

The mileageAllowance.

getMileageAllowanceOrBuilder()

public abstract ProductAttributes.MileageOrBuilder getMileageAllowanceOrBuilder()

Optional. The mileage allowance for the lease of the vehicle. Only applicable to vehicle products.

optional .google.shopping.merchant.products.v1.ProductAttributes.Mileage mileage_allowance = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductAttributes.MileageOrBuilder

getMonths()

public abstract long getMonths()

The number of installments the buyer has to pay.

int64 months = 1;

Returns
Type Description
long

The months.

getTotalAmount()

public abstract Price getTotalAmount()

Optional. Total amount the buyer has to pay, including interest.

optional .google.shopping.type.Price total_amount = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.shopping.type.Price

The totalAmount.

getTotalAmountOrBuilder()

public abstract PriceOrBuilder getTotalAmountOrBuilder()

Optional. Total amount the buyer has to pay, including interest.

optional .google.shopping.type.Price total_amount = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.shopping.type.PriceOrBuilder

hasAmount()

public abstract boolean hasAmount()

The amount the buyer has to pay per month.

.google.shopping.type.Price amount = 2;

Returns
Type Description
boolean

Whether the amount field is set.

hasAnnualPercentageRate()

public abstract boolean hasAnnualPercentageRate()

Optional. Annual percentage rate for credit_type finance

optional double annual_percentage_rate = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the annualPercentageRate field is set.

hasCreditType()

public abstract boolean hasCreditType()

Type of installment payments.

optional .google.shopping.merchant.products.v1.CreditType credit_type = 4;

Returns
Type Description
boolean

Whether the creditType field is set.

hasDownpayment()

public abstract boolean hasDownpayment()

The up-front down payment amount the buyer has to pay.

optional .google.shopping.type.Price downpayment = 3;

Returns
Type Description
boolean

Whether the downpayment field is set.

hasMileageAllowance()

public abstract boolean hasMileageAllowance()

Optional. The mileage allowance for the lease of the vehicle. Only applicable to vehicle products.

optional .google.shopping.merchant.products.v1.ProductAttributes.Mileage mileage_allowance = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the mileageAllowance field is set.

hasTotalAmount()

public abstract boolean hasTotalAmount()

Optional. Total amount the buyer has to pay, including interest.

optional .google.shopping.type.Price total_amount = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the totalAmount field is set.