Google Shopping Css V1 Client - Class HeadlineOfferSubscriptionCost (0.4.1)

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

The SubscriptionCost of the product.

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

Namespace

Google \ Shopping \ Css \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ period
int

The type of subscription period. Supported values are: * * " month " * * " year "

↳ period_length
int|string

The number of subscription periods the buyer has to pay.

↳ amount
Google\Shopping\Type\Price

The amount the buyer has to pay per subscription period.

getPeriod

The type of subscription period.

Supported values are:

  • " month "
  • " year "
Returns
Type
Description
int

setPeriod

The type of subscription period.

Supported values are:

  • " month "
  • " year "
Parameter
Name
Description
var
int
Returns
Type
Description
$this

getPeriodLength

The number of subscription periods the buyer has to pay.

Returns
Type
Description
int|string

setPeriodLength

The number of subscription periods the buyer has to pay.

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

getAmount

The amount the buyer has to pay per subscription period.

Returns
Type
Description

hasAmount

clearAmount

setAmount

The amount the buyer has to pay per subscription period.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: