thephpleague / omnipay-pin

Pin Payments driver for the Omnipay PHP payment processing library
MIT License
12 stars 14 forks source link

Rename getCustomerToken and getCardToken functions #7

Closed delatbabel closed 8 years ago

delatbabel commented 9 years ago

Rename getCustomerToken and getCardToken functions to getCustomerReference and getCardReference for compatibility with other gateways. Also the function in the parent Omnipay\Common\Message]AbstractRequest class is called getCardReference not getCardToken.

I have left behind a backwards compatibility shim so nothing should break.