lib/active_merchant/billing/check.rb in activemerchant-1.32.1 vs lib/active_merchant/billing/check.rb in activemerchant-1.33.0
- old
+ new
@@ -2,15 +2,16 @@
module Billing #:nodoc:
# The Check object is a plain old Ruby object, similar to CreditCard. It supports validation
# of necessary attributes such as checkholder's name, routing and account numbers, but it is
# not backed by any database.
#
- # You may use Check in place of CreditCard with any gateway that supports it. Currently, only
- # +BraintreeGateway+ supports the Check object.
+ # You may use Check in place of CreditCard with any gateway that supports it.
class Check
include Validateable
- attr_accessor :first_name, :last_name, :routing_number, :account_number, :account_holder_type, :account_type, :number
+ attr_accessor :first_name, :last_name,
+ :bank_name, :routing_number, :account_number,
+ :account_holder_type, :account_type, :number
# Used for Canadian bank accounts
attr_accessor :institution_number, :transit_number
def name