class Google::Apis::ContentV2_1::SettlementReport

Settlement reports detail order-level and item-level credits and debits between you and Google.

Attributes

end_date[RW]

The end date on which all transactions are included in the report, in ISO 8601 format. Corresponds to the JSON property `endDate` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “`content# settlementReport`” Corresponds to the JSON property `kind` @return [String]

previous_balance[RW]

The residual amount from the previous invoice. This is set only if the previous invoices are not paid because of negative balance. Corresponds to the JSON property `previousBalance` @return [Google::Apis::ContentV2_1::Price]

settlement_id[RW]

The ID of the settlement report. Corresponds to the JSON property `settlementId` @return [String]

start_date[RW]

The start date on which all transactions are included in the report, in ISO 8601 format. Corresponds to the JSON property `startDate` @return [String]

transfer_amount[RW]

The money due to the merchant. Corresponds to the JSON property `transferAmount` @return [Google::Apis::ContentV2_1::Price]

transfer_date[RW]

Date on which transfer for this payment was initiated by Google, in ISO 8601 format. Corresponds to the JSON property `transferDate` @return [String]

transfer_ids[RW]

The list of bank identifiers used for the transfer. e.g. Trace ID for Federal Automated Clearing House (ACH). This may also be known as the Wire ID. Corresponds to the JSON property `transferIds` @return [Array<String>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2_1/classes.rb, line 14205
def update!(**args)
  @end_date = args[:end_date] if args.key?(:end_date)
  @kind = args[:kind] if args.key?(:kind)
  @previous_balance = args[:previous_balance] if args.key?(:previous_balance)
  @settlement_id = args[:settlement_id] if args.key?(:settlement_id)
  @start_date = args[:start_date] if args.key?(:start_date)
  @transfer_amount = args[:transfer_amount] if args.key?(:transfer_amount)
  @transfer_date = args[:transfer_date] if args.key?(:transfer_date)
  @transfer_ids = args[:transfer_ids] if args.key?(:transfer_ids)
end