Class: Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OrderpaymentsNotifyAuthApprovedRequest

Returns a new instance of OrderpaymentsNotifyAuthApprovedRequest



5439
5440
5441
# File 'generated/google/apis/content_v2/classes.rb', line 5439

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

Instance Attribute Details

#auth_amount_pretaxGoogle::Apis::ContentV2::Price

Authorized amount for pre-tax charge on user's credit card. Corresponds to the JSON property authAmountPretax



5432
5433
5434
# File 'generated/google/apis/content_v2/classes.rb', line 5432

def auth_amount_pretax
  @auth_amount_pretax
end

#auth_amount_taxGoogle::Apis::ContentV2::Price

Authorized amount for tax charge on user's credit card. Corresponds to the JSON property authAmountTax



5437
5438
5439
# File 'generated/google/apis/content_v2/classes.rb', line 5437

def auth_amount_tax
  @auth_amount_tax
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5444
5445
5446
5447
# File 'generated/google/apis/content_v2/classes.rb', line 5444

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