Skip to contents

Pricing Class

Format

An R6Class generator object

Public fields

id

character [optional]

array_uuid

character [optional]

pricing_name

character [optional]

pricing_type

PricingType [optional]

product_name

character [optional]

product_statement_descriptor

character [optional]

product_unit_label

PricingUnitLabel [optional]

currency

PricingCurrency [optional]

aggregate_usage

PricingAggregateUsage [optional]

interval

PricingInterval [optional]

divided_by

integer [optional]

charge

numeric [optional]

activated

character [optional]

Methods


Method new()

Usage

Pricing$new(
  id = NULL,
  array_uuid = NULL,
  pricing_name = NULL,
  pricing_type = NULL,
  product_name = NULL,
  product_statement_descriptor = NULL,
  product_unit_label = NULL,
  currency = NULL,
  aggregate_usage = NULL,
  interval = NULL,
  divided_by = NULL,
  charge = NULL,
  activated = NULL,
  ...
)


Method toJSON()

Usage

Pricing$toJSON()


Method fromJSON()

Usage

Pricing$fromJSON(PricingJson)


Method toJSONString()

Usage

Pricing$toJSONString()


Method fromJSONString()

Usage

Pricing$fromJSONString(PricingJson)


Method clone()

The objects of this class are cloneable with this method.

Usage

Pricing$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.