Class: ValidateCardCheckoutResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/AfricasTalking/Payments.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status_, description_, checkoutToken_) ⇒ ValidateCardCheckoutResponse

Returns a new instance of ValidateCardCheckoutResponse.



569
570
571
572
573
# File 'lib/AfricasTalking/Payments.rb', line 569

def initialize status_, description_, checkoutToken_
    @description = description_
    @status = status_
    @checkoutToken = checkoutToken_
end

Instance Attribute Details

#checkoutTokenObject (readonly)

Returns the value of attribute checkoutToken.



568
569
570
# File 'lib/AfricasTalking/Payments.rb', line 568

def checkoutToken
  @checkoutToken
end

#descriptionObject (readonly)

Returns the value of attribute description.



568
569
570
# File 'lib/AfricasTalking/Payments.rb', line 568

def description
  @description
end

#statusObject (readonly)

Returns the value of attribute status.



568
569
570
# File 'lib/AfricasTalking/Payments.rb', line 568

def status
  @status
end