Class: Stripe::Billing::CreditBalanceSummaryRetrieveParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb

Defined Under Namespace

Classes: Filter

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(customer: nil, customer_account: nil, expand: nil, filter: nil) ⇒ CreditBalanceSummaryRetrieveParams

Returns a new instance of CreditBalanceSummaryRetrieveParams.



49
50
51
52
53
54
# File 'lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb', line 49

def initialize(customer: nil, customer_account: nil, expand: nil, filter: nil)
  @customer = customer
  @customer_account = 
  @expand = expand
  @filter = filter
end

Instance Attribute Details

#customerObject

The customer whose credit balance summary you’re retrieving.



41
42
43
# File 'lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb', line 41

def customer
  @customer
end

#customer_accountObject

The account representing the customer whose credit balance summary you’re retrieving.



43
44
45
# File 'lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb', line 43

def 
  @customer_account
end

#expandObject

Specifies which fields in the response should be expanded.



45
46
47
# File 'lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb', line 45

def expand
  @expand
end

#filterObject

The filter criteria for the credit balance summary.



47
48
49
# File 'lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb', line 47

def filter
  @filter
end