├── .codeclimate.yml ├── .github ├── CHANGELOG.md ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .styleci.yml ├── README.md ├── composer.json ├── phpunit.xml ├── src └── bubbstore │ └── Iugu │ ├── Contracts │ ├── ChargeInterface.php │ ├── CustomerInterface.php │ ├── InvoiceInterface.php │ └── PaymentMethodInterface.php │ ├── Exceptions │ ├── IuguException.php │ ├── IuguPaymentException.php │ └── IuguValidationException.php │ ├── Iugu.php │ └── Services │ ├── BaseRequest.php │ ├── Charge.php │ ├── Customer.php │ ├── Invoice.php │ └── PaymentMethod.php └── tests ├── ClientTest.php ├── ResponseSamples ├── Charges │ └── ChargeCreated.json ├── Customers │ ├── Customer.json │ └── InvalidCustomerEmail.json └── Unauthorized.json ├── Services ├── ChargeTest.php └── CustomerTest.php └── TestCase.php /.codeclimate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/.codeclimate.yml -------------------------------------------------------------------------------- /.github/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/.github/CHANGELOG.md -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | .DS_Store 3 | vendor 4 | index.php 5 | build -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/.styleci.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/bubbstore/Iugu/Contracts/ChargeInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/src/bubbstore/Iugu/Contracts/ChargeInterface.php -------------------------------------------------------------------------------- /src/bubbstore/Iugu/Contracts/CustomerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/src/bubbstore/Iugu/Contracts/CustomerInterface.php -------------------------------------------------------------------------------- /src/bubbstore/Iugu/Contracts/InvoiceInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/src/bubbstore/Iugu/Contracts/InvoiceInterface.php -------------------------------------------------------------------------------- /src/bubbstore/Iugu/Contracts/PaymentMethodInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/src/bubbstore/Iugu/Contracts/PaymentMethodInterface.php -------------------------------------------------------------------------------- /src/bubbstore/Iugu/Exceptions/IuguException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/src/bubbstore/Iugu/Exceptions/IuguException.php -------------------------------------------------------------------------------- /src/bubbstore/Iugu/Exceptions/IuguPaymentException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/src/bubbstore/Iugu/Exceptions/IuguPaymentException.php -------------------------------------------------------------------------------- /src/bubbstore/Iugu/Exceptions/IuguValidationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/src/bubbstore/Iugu/Exceptions/IuguValidationException.php -------------------------------------------------------------------------------- /src/bubbstore/Iugu/Iugu.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/src/bubbstore/Iugu/Iugu.php -------------------------------------------------------------------------------- /src/bubbstore/Iugu/Services/BaseRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/src/bubbstore/Iugu/Services/BaseRequest.php -------------------------------------------------------------------------------- /src/bubbstore/Iugu/Services/Charge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/src/bubbstore/Iugu/Services/Charge.php -------------------------------------------------------------------------------- /src/bubbstore/Iugu/Services/Customer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/src/bubbstore/Iugu/Services/Customer.php -------------------------------------------------------------------------------- /src/bubbstore/Iugu/Services/Invoice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/src/bubbstore/Iugu/Services/Invoice.php -------------------------------------------------------------------------------- /src/bubbstore/Iugu/Services/PaymentMethod.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/src/bubbstore/Iugu/Services/PaymentMethod.php -------------------------------------------------------------------------------- /tests/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/tests/ClientTest.php -------------------------------------------------------------------------------- /tests/ResponseSamples/Charges/ChargeCreated.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/tests/ResponseSamples/Charges/ChargeCreated.json -------------------------------------------------------------------------------- /tests/ResponseSamples/Customers/Customer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/tests/ResponseSamples/Customers/Customer.json -------------------------------------------------------------------------------- /tests/ResponseSamples/Customers/InvalidCustomerEmail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/tests/ResponseSamples/Customers/InvalidCustomerEmail.json -------------------------------------------------------------------------------- /tests/ResponseSamples/Unauthorized.json: -------------------------------------------------------------------------------- 1 | { 2 | "errors": "Unauthorized" 3 | } -------------------------------------------------------------------------------- /tests/Services/ChargeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/tests/Services/ChargeTest.php -------------------------------------------------------------------------------- /tests/Services/CustomerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/tests/Services/CustomerTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubbstore/iugu-php-sdk/HEAD/tests/TestCase.php --------------------------------------------------------------------------------