Class: Google::Shopping::Merchant::Products::V1beta::SubscriptionCost
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Products::V1beta::SubscriptionCost
- 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
-
#amount ⇒ ::Google::Shopping::Type::Price
The amount the buyer has to pay per subscription period.
-
#period ⇒ ::Google::Shopping::Merchant::Products::V1beta::SubscriptionPeriod
The type of subscription period.
-
#period_length ⇒ ::Integer
The number of subscription periods the buyer has to pay.
Instance Attribute Details
#amount ⇒ ::Google::Shopping::Type::Price
Returns The amount the buyer has to pay per subscription period.
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
".
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.
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 |