class Adyen::REST::AuthorisePayment::ListRecurringDetailsResponse
The Response
class implements some extensions for the list recurring details call. @see Adyen::REST::Response
Public Instance Methods
details()
click to toggle source
Returns a list of recurring details @return [Array] A not empty array if there is at least a recurring detail
# File lib/adyen/rest/authorise_payment.rb 193 def details 194 mapped_attributes = { 195 :recurring_detail_reference => "recurringDetailReference", 196 :creation_date => "creationDate", 197 :variant => "variant", 198 :card_holder_name => "card.holderName", 199 :card_expiry_month => "card.expiryMonth", 200 :card_expiry_year => "card.expiryYear", 201 :card_number => "card.number" 202 } 203 204 map_response_list("recurringDetailsResult.details", mapped_attributes) 205 end
references()
click to toggle source
Returns a list of recurring details references @return [Array] A not empty array if there is at least a recurring detail reference
# File lib/adyen/rest/authorise_payment.rb 209 def references 210 details.map { |detail| detail[:recurring_detail_reference] } 211 end