Reference documentation and code samples for the Cloud Commerce Producer V1BETA API class Google::Cloud::CommerceProducer::V1beta::StandardOffer.
Message describing the StandardOffer resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Creation time of the offer.
#effective_time
def effective_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Effective time of the offer. Prior to this time, the offer cannot be purchased or used as the base standard offer of a private offer.
#expire_time
def expire_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Expire time of the offer. An offer is expired if its expire time is in the past. An expired standard offer cannot be purchased or used as the base standard offer of a private offer.
#name
def name() -> ::String- (::String) — Identifier. Name of resource.
#name=
def name=(value) -> ::String- value (::String) — Identifier. Name of resource.
- (::String) — Identifier. Name of resource.
#price_model
def price_model() -> ::Google::Cloud::CommerceProducer::V1beta::StandardOffer::PriceModel- (::Google::Cloud::CommerceProducer::V1beta::StandardOffer::PriceModel) — Output only. Price model of the offer.
#service_level
def service_level() -> ::String-
(::String) — Output only. Identifier that distinguishes between different service levels
of the same product that constitute distinct offerings to customers with
different pricing.
The service levels of a product are also referred to in some cases as the product's 'plans', and the
service_levelvalue is referred to in some cases as the "plan ID".Multiple non-expired standard offers can share the same service level when they are subscription offers for different term durations.
#service_level_title
def service_level_title() -> ::String-
(::String) — Output only. Title of the service level.
Not included for
STANDARD_OFFER_VIEW_BASIC.
#term_duration_months
def term_duration_months() -> ::Integer- (::Integer) — Output only. Term duration of the offer in months. Applicable only to offers with a subscription price model. Additional forms of offer term may be added in the future.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Last update time of the offer.