Class: Google::Apis::ContentV2_1::SettlementReport
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::SettlementReport
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Settlement reports detail order-level and item-level credits and debits between you and Google.
Instance Attribute Summary collapse
-
#end_date ⇒ String
The end date on which all transactions are included in the report, in ISO 8601 format.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#previous_balance ⇒ Google::Apis::ContentV2_1::Price
The residual amount from the previous invoice.
-
#settlement_id ⇒ String
The ID of the settlement report.
-
#start_date ⇒ String
The start date on which all transactions are included in the report, in ISO 8601 format.
-
#transfer_amount ⇒ Google::Apis::ContentV2_1::Price
The money due to the merchant.
-
#transfer_date ⇒ String
Date on which transfer for this payment was initiated by Google, in ISO 8601 format.
-
#transfer_ids ⇒ Array<String>
The list of bank identifiers used for the transfer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SettlementReport
constructor
A new instance of SettlementReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SettlementReport
Returns a new instance of SettlementReport.
12881 12882 12883 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12881 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_date ⇒ String
The end date on which all transactions are included in the report, in ISO 8601
format.
Corresponds to the JSON property endDate
12839 12840 12841 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12839 def end_date @end_date end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
settlementReport"
Corresponds to the JSON property kind
12845 12846 12847 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12845 def kind @kind end |
#previous_balance ⇒ Google::Apis::ContentV2_1::Price
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
12851 12852 12853 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12851 def previous_balance @previous_balance end |
#settlement_id ⇒ String
The ID of the settlement report.
Corresponds to the JSON property settlementId
12856 12857 12858 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12856 def settlement_id @settlement_id end |
#start_date ⇒ String
The start date on which all transactions are included in the report, in ISO
8601 format.
Corresponds to the JSON property startDate
12862 12863 12864 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12862 def start_date @start_date end |
#transfer_amount ⇒ Google::Apis::ContentV2_1::Price
The money due to the merchant.
Corresponds to the JSON property transferAmount
12867 12868 12869 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12867 def transfer_amount @transfer_amount end |
#transfer_date ⇒ String
Date on which transfer for this payment was initiated by Google, in ISO 8601
format.
Corresponds to the JSON property transferDate
12873 12874 12875 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12873 def transfer_date @transfer_date end |
#transfer_ids ⇒ Array<String>
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
12879 12880 12881 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12879 def transfer_ids @transfer_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12886 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 |