Google Shopping Css V1 Client - Class HeadlineOfferInstallment (0.3.2)

Reference documentation and code samples for the Google Shopping Css V1 Client class HeadlineOfferInstallment.

A message that represents installment.

Generated from protobuf message google.shopping.css.v1.HeadlineOfferInstallment

Namespace

Google \ Shopping \ Css \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ months int|string

The number of installments the buyer has to pay.

↳ amount Google\Shopping\Type\Price

The amount the buyer has to pay per month.

↳ downpayment Google\Shopping\Type\Price

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

getMonths

The number of installments the buyer has to pay.

Returns
Type Description
int|string

setMonths

The number of installments the buyer has to pay.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getAmount

The amount the buyer has to pay per month.

Returns
Type Description
Google\Shopping\Type\Price|null

hasAmount

clearAmount

setAmount

The amount the buyer has to pay per month.

Parameter
Name Description
var Google\Shopping\Type\Price
Returns
Type Description
$this

getDownpayment

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

Returns
Type Description
Google\Shopping\Type\Price|null

hasDownpayment

clearDownpayment

setDownpayment

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

Parameter
Name Description
var Google\Shopping\Type\Price
Returns
Type Description
$this