cards

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Config *pagarme.Config
}

API is the /1/cards API

func New

func New(cfg *pagarme.Config) *API

New /1/cards API

func (*API) NewCard

func (api *API) NewCard(cr *pagarme.NCard) (*pagarme.Response, *pagarme.Card, error)

NewCard consume a pagarme API to create a new card and return your informations

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL