Class: Google::Apis::ContentV2_1::SettlementTransactionTransaction

Inherits:
Object
  • Object
show all
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

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) ⇒ SettlementTransactionTransaction

Returns a new instance of SettlementTransactionTransaction.



10916
10917
10918
# File 'generated/google/apis/content_v2_1/classes.rb', line 10916

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

Instance Attribute Details

#post_dateString

The time on which the event occurred in ISO 8601 format. Corresponds to the JSON property postDate

Returns:

  • (String)


10900
10901
10902
# File 'generated/google/apis/content_v2_1/classes.rb', line 10900

def 
  @post_date
end

#typeString

The type of the transaction that occurred. Acceptable values are:

  • "order"
  • "reversal"
  • "orderRefund"
  • "reversalRefund"
  • "issueRelatedRefundAndReplacement"
  • "returnLabelShippingFeeTransaction"
  • "reversalIssueRelatedRefundAndReplacement"
  • "reversalReturnLabelShippingFeeTransaction" Corresponds to the JSON property type

Returns:

  • (String)


10914
10915
10916
# File 'generated/google/apis/content_v2_1/classes.rb', line 10914

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10921
10922
10923
10924
# File 'generated/google/apis/content_v2_1/classes.rb', line 10921

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