Cloud Channel V1 API - Class Google::Cloud::Channel::V1::Price (v0.10.0)

Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::Price.

Represents the price of the Offer.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#base_price

def base_price() -> ::Google::Type::Money
Returns

#base_price=

def base_price=(value) -> ::Google::Type::Money
Parameter
Returns

#discount

def discount() -> ::Float
Returns
  • (::Float) — Discount percentage, represented as decimal. For example, a 20% discount will be represent as 0.2.

#discount=

def discount=(value) -> ::Float
Parameter
  • value (::Float) — Discount percentage, represented as decimal. For example, a 20% discount will be represent as 0.2.
Returns
  • (::Float) — Discount percentage, represented as decimal. For example, a 20% discount will be represent as 0.2.

#effective_price

def effective_price() -> ::Google::Type::Money
Returns

#effective_price=

def effective_price=(value) -> ::Google::Type::Money
Parameter
Returns

#external_price_uri

def external_price_uri() -> ::String
Returns
  • (::String) — Link to external price list, such as link to Google Voice rate card.

#external_price_uri=

def external_price_uri=(value) -> ::String
Parameter
  • value (::String) — Link to external price list, such as link to Google Voice rate card.
Returns
  • (::String) — Link to external price list, such as link to Google Voice rate card.