Class: YSM::AccountService::SetActiveCreditCard

Inherits:
Object
  • Object
show all
Defined in:
lib/ysm4r/v1/AccountService.rb,
lib/ysm4r/v2/AccountService.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(accountID = nil, paymentMethodID = nil) ⇒ SetActiveCreditCard

Returns a new instance of SetActiveCreditCard.



219
220
221
222
# File 'lib/ysm4r/v1/AccountService.rb', line 219

def initialize(accountID = nil, paymentMethodID = nil)
  @accountID = accountID
  @paymentMethodID = paymentMethodID
end

Instance Attribute Details

#accountIDObject

Returns the value of attribute accountID.



216
217
218
# File 'lib/ysm4r/v1/AccountService.rb', line 216

def accountID
  @accountID
end

#paymentMethodIDObject

Returns the value of attribute paymentMethodID.



217
218
219
# File 'lib/ysm4r/v1/AccountService.rb', line 217

def paymentMethodID
  @paymentMethodID
end