Class: GrowsurfRuby::Models::Campaign::ParticipantRefundTransactionResponse
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/growsurf_ruby/models/campaign/participant_refund_transaction_response.rb,
sig/growsurf_ruby/models/campaign/participant_refund_transaction_response.rbs
Overview
Defined Under Namespace
Modules: AmendmentType
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(adjusted:, amendment_type:, deleted:, matched:, matching_commission_ids:, message:, reversed:, success:, not_found: nil) ⇒ Object
|
# File 'lib/growsurf_ruby/models/campaign/participant_refund_transaction_response.rb', line 57
|
Instance Attribute Details
#adjusted ⇒ Integer
11
|
# File 'lib/growsurf_ruby/models/campaign/participant_refund_transaction_response.rb', line 11
required :adjusted, Integer
|
16
17
18
|
# File 'lib/growsurf_ruby/models/campaign/participant_refund_transaction_response.rb', line 16
required :amendment_type,
enum: -> { GrowsurfRuby::Campaign::ParticipantRefundTransactionResponse::AmendmentType },
api_name: :amendmentType
|
#deleted ⇒ Integer
23
|
# File 'lib/growsurf_ruby/models/campaign/participant_refund_transaction_response.rb', line 23
required :deleted, Integer
|
#matched ⇒ Integer
28
|
# File 'lib/growsurf_ruby/models/campaign/participant_refund_transaction_response.rb', line 28
required :matched, Integer
|
#matching_commission_ids ⇒ Array<String>
33
34
35
|
# File 'lib/growsurf_ruby/models/campaign/participant_refund_transaction_response.rb', line 33
required :matching_commission_ids,
GrowsurfRuby::Internal::Type::ArrayOf[String],
api_name: :matchingCommissionIds
|
#message ⇒ String
40
|
# File 'lib/growsurf_ruby/models/campaign/participant_refund_transaction_response.rb', line 40
required :message, String
|
#not_found ⇒ Boolean?
55
|
# File 'lib/growsurf_ruby/models/campaign/participant_refund_transaction_response.rb', line 55
optional :not_found, GrowsurfRuby::Internal::Type::Boolean, api_name: :notFound
|
#reversed ⇒ Integer
45
|
# File 'lib/growsurf_ruby/models/campaign/participant_refund_transaction_response.rb', line 45
required :reversed, Integer
|
#success ⇒ Boolean
50
|
# File 'lib/growsurf_ruby/models/campaign/participant_refund_transaction_response.rb', line 50
required :success, GrowsurfRuby::Internal::Type::Boolean
|
Instance Method Details
#to_hash ⇒ {
50
|
# File 'sig/growsurf_ruby/models/campaign/participant_refund_transaction_response.rbs', line 50
def to_hash: -> {
|