lib/active_merchant/billing/credit_card.rb in activemerchant-1.33.0 vs lib/active_merchant/billing/credit_card.rb in activemerchant-1.34.0
- old
+ new
@@ -110,9 +110,14 @@
# the gateway will attempt to validate the value.
#
# @return [String] the verification value
attr_accessor :verification_value
+ # Returns or sets the track data for the card
+ #
+ # @return [String]
+ attr_accessor :track_data
+
def type
self.class.deprecated "CreditCard#type is deprecated and will be removed from a future release of ActiveMerchant. Please use CreditCard#brand instead."
brand
end