Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo.
Line item information.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#offer
def offer() -> ::String
Returns
- (::String) — Optional. The name of the offer can have either of these formats: 'billingAccounts/{billing_account}/offers/{offer}', or 'services/{service}/standardOffers/{offer}'.
#offer=
def offer=(value) -> ::String
Parameter
- value (::String) — Optional. The name of the offer can have either of these formats: 'billingAccounts/{billing_account}/offers/{offer}', or 'services/{service}/standardOffers/{offer}'.
Returns
- (::String) — Optional. The name of the offer can have either of these formats: 'billingAccounts/{billing_account}/offers/{offer}', or 'services/{service}/standardOffers/{offer}'.
#parameters
def parameters() -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter>
Returns
- (::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter>) — Optional. User-provided parameters.
#parameters=
def parameters=(value) -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter>
Parameter
- value (::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter>) — Optional. User-provided parameters.
Returns
- (::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter>) — Optional. User-provided parameters.
#subscription
def subscription() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::Subscription
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::Subscription) — Output only. Information about the subscription created, if applicable.