Class: Stripe::AccountUpdateParams::Card

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/account_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(object: nil, address_city: nil, address_country: nil, address_line1: nil, address_line2: nil, address_state: nil, address_zip: nil, currency: nil, cvc: nil, default_for_currency: nil, exp_month: nil, exp_year: nil, metadata: nil, name: nil, number: nil) ⇒ Card

Returns a new instance of Card.



1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
# File 'lib/stripe/params/account_update_params.rb', line 1023

def initialize(
  object: nil,
  address_city: nil,
  address_country: nil,
  address_line1: nil,
  address_line2: nil,
  address_state: nil,
  address_zip: nil,
  currency: nil,
  cvc: nil,
  default_for_currency: nil,
  exp_month: nil,
  exp_year: nil,
  metadata: nil,
  name: nil,
  number: nil
)
  @object = object
  @address_city = address_city
  @address_country = address_country
  @address_line1 = address_line1
  @address_line2 = address_line2
  @address_state = address_state
  @address_zip = address_zip
  @currency = currency
  @cvc = cvc
  @default_for_currency = default_for_currency
  @exp_month = exp_month
  @exp_year = exp_year
  @metadata = 
  @name = name
  @number = number
end

Instance Attribute Details

#address_cityObject

Attribute for param field address_city



995
996
997
# File 'lib/stripe/params/account_update_params.rb', line 995

def address_city
  @address_city
end

#address_countryObject

Attribute for param field address_country



997
998
999
# File 'lib/stripe/params/account_update_params.rb', line 997

def address_country
  @address_country
end

#address_line1Object

Attribute for param field address_line1



999
1000
1001
# File 'lib/stripe/params/account_update_params.rb', line 999

def address_line1
  @address_line1
end

#address_line2Object

Attribute for param field address_line2



1001
1002
1003
# File 'lib/stripe/params/account_update_params.rb', line 1001

def address_line2
  @address_line2
end

#address_stateObject

Attribute for param field address_state



1003
1004
1005
# File 'lib/stripe/params/account_update_params.rb', line 1003

def address_state
  @address_state
end

#address_zipObject

Attribute for param field address_zip



1005
1006
1007
# File 'lib/stripe/params/account_update_params.rb', line 1005

def address_zip
  @address_zip
end

#currencyObject

Attribute for param field currency



1007
1008
1009
# File 'lib/stripe/params/account_update_params.rb', line 1007

def currency
  @currency
end

#cvcObject

Attribute for param field cvc



1009
1010
1011
# File 'lib/stripe/params/account_update_params.rb', line 1009

def cvc
  @cvc
end

#default_for_currencyObject

Attribute for param field default_for_currency



1011
1012
1013
# File 'lib/stripe/params/account_update_params.rb', line 1011

def default_for_currency
  @default_for_currency
end

#exp_monthObject

Attribute for param field exp_month



1013
1014
1015
# File 'lib/stripe/params/account_update_params.rb', line 1013

def exp_month
  @exp_month
end

#exp_yearObject

Attribute for param field exp_year



1015
1016
1017
# File 'lib/stripe/params/account_update_params.rb', line 1015

def exp_year
  @exp_year
end

#metadataObject

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.



1017
1018
1019
# File 'lib/stripe/params/account_update_params.rb', line 1017

def 
  @metadata
end

#nameObject

Attribute for param field name



1019
1020
1021
# File 'lib/stripe/params/account_update_params.rb', line 1019

def name
  @name
end

#numberObject

Attribute for param field number



1021
1022
1023
# File 'lib/stripe/params/account_update_params.rb', line 1021

def number
  @number
end

#objectObject

Attribute for param field object



993
994
995
# File 'lib/stripe/params/account_update_params.rb', line 993

def object
  @object
end