thephpleague / omnipay-common

Core components for the Omnipay PHP payment processing library
MIT License
329 stars 242 forks source link

Allow to set amount as integer #179

Closed barryvdh closed 6 years ago

barryvdh commented 6 years ago

This adds a method to set the amount as integer. Can be useful in case you're already using integer-based objects (eg. Money) instead of relying on the interfaces/objects directly (see https://github.com/thephpleague/omnipay-common/commit/cda8afc670d93e51d4a5d0676732206a230e5d4c which removed Money public support)