Class: Allorails::Response::OnetimeButtonResponse

Inherits:
ApiMappingResponse show all
Defined in:
lib/allorails/response/onetime_button_response.rb

Overview

Class defining a onetime button request’s response

Instance Attribute Summary

Attributes inherited from ApiMappingResponse

#xml

Instance Method Summary collapse

Methods inherited from ApiMappingResponse

#_verify, attribute_reader, #initialize, node_reader

Methods inherited from ApiResponse

#_verify, #initialize

Constructor Details

This class inherits a constructor from Allorails::Response::ApiMappingResponse

Instance Method Details

#access_typeObject

Provides access type

@return (string) access type


6
# File 'lib/allorails/response/onetime_button_response.rb', line 6

node_reader :access_type

#button_idObject

Provides the button id

@return (string) button id


10
# File 'lib/allorails/response/onetime_button_response.rb', line 10

node_reader :button_id

#buy_urlObject

Provides the buy url

@return (string) buy url


22
# File 'lib/allorails/response/onetime_button_response.rb', line 22

node_reader :buy_url

#checkout_buttonObject

Provides the checkout button

@return (string) checkout button (html code)


26
# File 'lib/allorails/response/onetime_button_response.rb', line 26

node_reader :checkout_button

#creation_dateObject

Provides the creation date

@return (datetime.datetime) Creation date


14
# File 'lib/allorails/response/onetime_button_response.rb', line 14

node_reader :creation_date, DateTime

#websiteObject

Provides the website

@return (Website) website


18
# File 'lib/allorails/response/onetime_button_response.rb', line 18

node_reader :website, Allorails::Website