Class: Telnyx::Resources::Payment

Inherits:
Object
  • Object
show all
Defined in:
lib/telnyx/resources/payment.rb,
lib/telnyx/resources/payment/auto_recharge_prefs.rb

Defined Under Namespace

Classes: AutoRechargePrefs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Payment

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Payment.

Parameters:



12
13
14
15
# File 'lib/telnyx/resources/payment.rb', line 12

def initialize(client:)
  @client = client
  @auto_recharge_prefs = Telnyx::Resources::Payment::AutoRechargePrefs.new(client: client)
end

Instance Attribute Details

#auto_recharge_prefsTelnyx::Resources::Payment::AutoRechargePrefs (readonly)



7
8
9
# File 'lib/telnyx/resources/payment.rb', line 7

def auto_recharge_prefs
  @auto_recharge_prefs
end