Class: Stripe::Issuing::TokenService::UpdateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/issuing/token_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil, status: nil) ⇒ UpdateParams

Returns a new instance of UpdateParams.



74
75
76
77
# File 'lib/stripe/services/issuing/token_service.rb', line 74

def initialize(expand: nil, status: nil)
  @expand = expand
  @status = status
end

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



70
71
72
# File 'lib/stripe/services/issuing/token_service.rb', line 70

def expand
  @expand
end

#statusObject

Specifies which status the token should be updated to.



72
73
74
# File 'lib/stripe/services/issuing/token_service.rb', line 72

def status
  @status
end