This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public function rules() | |
| { | |
| switch ($this->method()) { | |
| case 'POST': | |
| $rules = [ | |
| 'name' => ['required'], | |
| 'email' => ['required', 'email', 'min:4', 'max:100', Rule::unique('admins')], | |
| 'password' => ['required', 'string', 'min:6', 'max:100'], | |
| 'password_confirmation' => ['required', 'string', 'min:6', 'max:100', 'same:password'], | |
| 'image' => ['image'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static function configure($token, $marketplace, $seller = null, $is_zend = null) | |
| { | |
| $auth = array('token' => $token); | |
| is_null($seller) ?: $auth += array('on_behalf_of' => $seller); | |
| $configurations = [ | |
| 'marketplace' => $marketplace, | |
| 'gatway' => 'zoop', | |
| 'base_url' => 'https://api.zoop.ws', | |
| 'auth' => $auth, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Transformers; | |
| use Eduardokum\LaravelBoleto\Boleto\Render\AbstractPdf; | |
| use Eduardokum\LaravelBoleto\Contracts\Boleto\Boleto as BoletoContract; | |
| use Eduardokum\LaravelBoleto\Contracts\Boleto\Render\Pdf as PdfContract; | |
| use Eduardokum\LaravelBoleto\Util; | |
| class PdfCarne extends AbstractPdf implements PdfContract |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| swagger: '2.0' | |
| host: api.zoop.ws | |
| info: | |
| title: Métodos de Cobrança | |
| version: "1.1" | |
| securityDefinitions: | |
| basicAuth: | |
| type: basic | |
| security: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| swagger: '2.0' | |
| host: api.zoop.ws | |
| info: | |
| title: Usuários e API Keys | |
| version: "1.1" | |
| securityDefinitions: | |
| basicAuth: | |
| type: basic | |
| security: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| swagger: '2.0' | |
| host: api.zoop.ws | |
| info: | |
| title: Objetos Base | |
| version: "1.1" | |
| securityDefinitions: | |
| basicAuth: | |
| type: basic | |
| security: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| swagger: '2.0' | |
| host: api.zoop.ws | |
| info: | |
| title: Métodos de Cobrança | |
| version: "1.1" | |
| securityDefinitions: | |
| basicAuth: | |
| type: basic | |
| security: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| swagger: '2.0' | |
| host: api.zoop.ws | |
| info: | |
| title: Pagamentos e Transferências | |
| version: "1.1" | |
| securityDefinitions: | |
| basicAuth: | |
| type: basic | |
| security: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| swagger: '2.0' | |
| x-api-id: 'notificações-e-eventos' | |
| host: api.zoop.ws | |
| info: | |
| title: Notificações e Eventos | |
| version: "1.1" | |
| securityDefinitions: | |
| basicAuth: | |
| type: basic |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| swagger: '2.0' | |
| info: | |
| description: Planos e Assinaturas | |
| version: 1.0.0 | |
| title: Planos e Assinaturas | |
| basePath: /v2 | |
| host: api.zoop.ws | |
| securityDefinitions: | |
| basicAuth: | |
| type: basic |