class Google::Apis::AuthorizedbuyersmarketplaceV1::Price

Represents a price and a pricing type for a deal.

Attributes

amount[RW]

Represents an amount of money with its currency type. Corresponds to the JSON property ‘amount` @return [Google::Apis::AuthorizedbuyersmarketplaceV1::Money]

type[RW]

The pricing type for the deal. Corresponds to the JSON property ‘type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 1397
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 1402
def update!(**args)
  @amount = args[:amount] if args.key?(:amount)
  @type = args[:type] if args.key?(:type)
end