Class: Google::Cloud::Channel::V1::Price

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/channel/v1/offers.rb

Overview

Represents the price of the Offer.

Instance Attribute Summary collapse

Instance Attribute Details

#base_price::Google::Type::Money

Returns Base price.

Returns:



194
195
196
197
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 194

class Price
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#discount::Float

Returns 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.



194
195
196
197
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 194

class Price
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#effective_price::Google::Type::Money

Returns Effective Price after applying the discounts.

Returns:



194
195
196
197
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 194

class Price
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#external_price_uri::String

Returns 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.



194
195
196
197
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 194

class Price
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end