Class: Google::Apis::ContentV2_1::OrderReportDisbursement
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::OrderReportDisbursement
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Overview
Order disbursement. All methods require the payment analyst role.
Instance Attribute Summary collapse
-
#disbursement_amount ⇒ Google::Apis::ContentV2_1::Price
The disbursement amount.
-
#disbursement_creation_date ⇒ String
The disbursement date, in ISO 8601 format.
-
#disbursement_date ⇒ String
The date the disbursement was initiated, in ISO 8601 format.
-
#disbursement_id ⇒ String
The ID of the disbursement.
-
#merchant_id ⇒ Fixnum
The ID of the managing account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderReportDisbursement
constructor
A new instance of OrderReportDisbursement.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OrderReportDisbursement
Returns a new instance of OrderReportDisbursement.
5583 5584 5585 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5583 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disbursement_amount ⇒ Google::Apis::ContentV2_1::Price
The disbursement amount.
Corresponds to the JSON property disbursementAmount
5561 5562 5563 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5561 def disbursement_amount @disbursement_amount end |
#disbursement_creation_date ⇒ String
The disbursement date, in ISO 8601 format.
Corresponds to the JSON property disbursementCreationDate
5566 5567 5568 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5566 def disbursement_creation_date @disbursement_creation_date end |
#disbursement_date ⇒ String
The date the disbursement was initiated, in ISO 8601 format.
Corresponds to the JSON property disbursementDate
5571 5572 5573 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5571 def disbursement_date @disbursement_date end |
#disbursement_id ⇒ String
The ID of the disbursement.
Corresponds to the JSON property disbursementId
5576 5577 5578 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5576 def disbursement_id @disbursement_id end |
#merchant_id ⇒ Fixnum
The ID of the managing account.
Corresponds to the JSON property merchantId
5581 5582 5583 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5581 def merchant_id @merchant_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5588 5589 5590 5591 5592 5593 5594 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5588 def update!(**args) @disbursement_amount = args[:disbursement_amount] if args.key?(:disbursement_amount) @disbursement_creation_date = args[:disbursement_creation_date] if args.key?(:disbursement_creation_date) @disbursement_date = args[:disbursement_date] if args.key?(:disbursement_date) @disbursement_id = args[:disbursement_id] if args.key?(:disbursement_id) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) end |