Cloud Commerce Producer V1BETA API - Class Google::Cloud::CommerceProducer::V1beta::StandardOffer (v0.1.0)

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
Returns

#effective_time

def effective_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::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
Returns
  • (::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
Returns
  • (::String) — Identifier. Name of resource.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. Name of resource.
Returns
  • (::String) — Identifier. Name of resource.

#price_model

def price_model() -> ::Google::Cloud::CommerceProducer::V1beta::StandardOffer::PriceModel
Returns

#service_level

def service_level() -> ::String
Returns
  • (::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_level value 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
Returns
  • (::String) — Output only. Title of the service level.

    Not included for STANDARD_OFFER_VIEW_BASIC.

#term_duration_months

def term_duration_months() -> ::Integer
Returns
  • (::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
Returns