Class: Google::Apis::ContentV2_1::SettlementTransactionTransaction
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::SettlementTransactionTransaction
- 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
Instance Attribute Summary collapse
-
#post_date ⇒ String
The time on which the event occurred in ISO 8601 format.
-
#type ⇒ String
The type of the transaction that occurred.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SettlementTransactionTransaction
constructor
A new instance of SettlementTransactionTransaction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SettlementTransactionTransaction
Returns a new instance of SettlementTransactionTransaction.
14421 14422 14423 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14421 def initialize(**args) update!(**args) end |
Instance Attribute Details
#post_date ⇒ String
The time on which the event occurred in ISO 8601 format.
Corresponds to the JSON property postDate
14410 14411 14412 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14410 def post_date @post_date end |
#type ⇒ String
The type of the transaction that occurred. Acceptable values are: - "order" -
"reversal" - "orderRefund" - "reversalRefund" - "
issueRelatedRefundAndReplacement" - "returnLabelShippingFeeTransaction" - "
reversalIssueRelatedRefundAndReplacement" - "
reversalReturnLabelShippingFeeTransaction" - "lumpSumCorrectionTransaction"
Corresponds to the JSON property type
14419 14420 14421 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14419 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14426 14427 14428 14429 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14426 def update!(**args) @post_date = args[:post_date] if args.key?(:post_date) @type = args[:type] if args.key?(:type) end |