Class: Google::Shopping::Merchant::Products::V1beta::SubscriptionCost

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/products/v1beta/products_common.rb

Overview

The SubscriptionCost of the product.

Instance Attribute Summary collapse

Instance Attribute Details

#amount::Google::Shopping::Type::Price

Returns The amount the buyer has to pay per subscription period.

Returns:



468
469
470
471
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 468

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

#period::Google::Shopping::Merchant::Products::V1beta::SubscriptionPeriod

Returns The type of subscription period. Supported values are:

  • "month"
  • "year".

Returns:



468
469
470
471
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 468

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

#period_length::Integer

Returns The number of subscription periods the buyer has to pay.

Returns:

  • (::Integer)

    The number of subscription periods the buyer has to pay.



468
469
470
471
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 468

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