Reference documentation and code samples for the Google Shopping Merchant Products V1beta Client class Installment.
A message that represents installment.
Generated from protobuf message google.shopping.merchant.products.v1beta.Installment
Namespace
Google \ Shopping \ Merchant \ Products \ V1betaMethods
__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. |
↳ credit_type |
string
Type of installment payments. Supported values are: * * " |
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 |
getCreditType
Type of installment payments.
Supported values are:
- "
finance
" - "
lease
"
Returns | |
---|---|
Type | Description |
string |
hasCreditType
clearCreditType
setCreditType
Type of installment payments.
Supported values are:
- "
finance
" - "
lease
"
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |