Class: Google::Cloud::Channel::V1::Price
- Inherits:
-
Object
- Object
- Google::Cloud::Channel::V1::Price
- 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
-
#base_price ⇒ ::Google::Type::Money
Base price.
-
#discount ⇒ ::Float
Discount percentage, represented as decimal.
-
#effective_price ⇒ ::Google::Type::Money
Effective Price after applying the discounts.
-
#external_price_uri ⇒ ::String
Link to external price list, such as link to Google Voice rate card.
Instance Attribute Details
#base_price ⇒ ::Google::Type::Money
Returns Base price.
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.
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 |