class Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPurchaseTransaction
A transaction represents the entire purchase transaction.
def initialize(**args)
def initialize(**args) update!(**args) end
def update!(**args)
def update!(**args) @cost = args[:cost] if args.key?(:cost) @currency_code = args[:currency_code] if args.key?(:currency_code) @id = args[:id] if args.key?(:id) @revenue = args[:revenue] if args.key?(:revenue) @tax = args[:tax] if args.key?(:tax) end