Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CreditDeveloperBalanceRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb

Overview

Request for CreditDeveloperBalance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1CreditDeveloperBalanceRequest

Returns a new instance of GoogleCloudApigeeV1CreditDeveloperBalanceRequest.



2645
2646
2647
# File 'lib/google/apis/apigee_v1/classes.rb', line 2645

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#transaction_amountGoogle::Apis::ApigeeV1::GoogleTypeMoney

Represents an amount of money with its currency type. Corresponds to the JSON property transactionAmount



2636
2637
2638
# File 'lib/google/apis/apigee_v1/classes.rb', line 2636

def transaction_amount
  @transaction_amount
end

#transaction_idString

Each transaction_id uniquely identifies a credit balance request. If multiple requests are received with the same transaction_id, only one of them will be considered. Corresponds to the JSON property transactionId

Returns:

  • (String)


2643
2644
2645
# File 'lib/google/apis/apigee_v1/classes.rb', line 2643

def transaction_id
  @transaction_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2650
2651
2652
2653
# File 'lib/google/apis/apigee_v1/classes.rb', line 2650

def update!(**args)
  @transaction_amount = args[:transaction_amount] if args.key?(:transaction_amount)
  @transaction_id = args[:transaction_id] if args.key?(:transaction_id)
end