Class: Onlyfans::Models::ChargebackListResponse::Data::List::Payment

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/chargeback_list_response.rb

Overview

See Also:

Defined Under Namespace

Classes: User

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], 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

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(id: nil, amount: nil, created_at: nil, currency: nil, description: nil, fee: nil, media_tax_amount: nil, net: nil, payout_pending_days: nil, status: nil, tax_amount: nil, user: nil, vat_amount: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: nil)
  • amount (Float) (defaults to: nil)
  • created_at (String) (defaults to: nil)
  • currency (String) (defaults to: nil)
  • description (String) (defaults to: nil)
  • fee (Integer) (defaults to: nil)
  • media_tax_amount (Integer) (defaults to: nil)
  • net (Float) (defaults to: nil)
  • payout_pending_days (Integer) (defaults to: nil)
  • status (String) (defaults to: nil)
  • tax_amount (Integer) (defaults to: nil)
  • user (Onlyfans::Models::ChargebackListResponse::Data::List::Payment::User) (defaults to: nil)
  • vat_amount (Integer) (defaults to: nil)


# File 'lib/onlyfans/models/chargeback_list_response.rb', line 224

Instance Attribute Details

#amountFloat?

Returns:

  • (Float, nil)


167
# File 'lib/onlyfans/models/chargeback_list_response.rb', line 167

optional :amount, Float

#created_atString?

Returns:

  • (String, nil)


172
# File 'lib/onlyfans/models/chargeback_list_response.rb', line 172

optional :created_at, String, api_name: :createdAt

#currencyString?

Returns:

  • (String, nil)


177
# File 'lib/onlyfans/models/chargeback_list_response.rb', line 177

optional :currency, String

#descriptionString?

Returns:

  • (String, nil)


182
# File 'lib/onlyfans/models/chargeback_list_response.rb', line 182

optional :description, String

#feeInteger?

Returns:

  • (Integer, nil)


187
# File 'lib/onlyfans/models/chargeback_list_response.rb', line 187

optional :fee, Integer

#idString?

Returns:

  • (String, nil)


162
# File 'lib/onlyfans/models/chargeback_list_response.rb', line 162

optional :id, String

#media_tax_amountInteger?

Returns:

  • (Integer, nil)


192
# File 'lib/onlyfans/models/chargeback_list_response.rb', line 192

optional :media_tax_amount, Integer, api_name: :mediaTaxAmount

#netFloat?

Returns:

  • (Float, nil)


197
# File 'lib/onlyfans/models/chargeback_list_response.rb', line 197

optional :net, Float

#payout_pending_daysInteger?

Returns:

  • (Integer, nil)


202
# File 'lib/onlyfans/models/chargeback_list_response.rb', line 202

optional :payout_pending_days, Integer, api_name: :payoutPendingDays

#statusString?

Returns:

  • (String, nil)


207
# File 'lib/onlyfans/models/chargeback_list_response.rb', line 207

optional :status, String

#tax_amountInteger?

Returns:

  • (Integer, nil)


212
# File 'lib/onlyfans/models/chargeback_list_response.rb', line 212

optional :tax_amount, Integer, api_name: :taxAmount

#userOnlyfans::Models::ChargebackListResponse::Data::List::Payment::User?



217
# File 'lib/onlyfans/models/chargeback_list_response.rb', line 217

optional :user, -> { Onlyfans::Models::ChargebackListResponse::Data::List::Payment::User }

#vat_amountInteger?

Returns:

  • (Integer, nil)


222
# File 'lib/onlyfans/models/chargeback_list_response.rb', line 222

optional :vat_amount, Integer, api_name: :vatAmount