Documentation ¶
Index ¶
Constants ¶
View Source
const ( TagPayloadFormatIndicator = "00" TagMerchantAccountInformation = "26" TagMerchantCategoryCode = "52" TagTransactionCurrency = "53" TagTransactionAmount = "54" TagCountryCode = "58" TagMerchantName = "59" TagMerchantCity = "60" TagAdditionDataFieldTemplate = "62" TagCRC = "63" /* Merchant Account Information Tags */ TagGUI = "00" TagPixKey = "01" TagDescription = "02" TagFss = "03" TagUrl = "25" /* Adittional Data Field Template Tags */ TagReferenceLabel = "05" )
Variables ¶
View Source
var BcbGui = "br.gov.bcb.pix"
View Source
var BcbGuiTag = EmvTag{ Tag: "00", Size: 14, Value: BcbGui, }
Functions ¶
func RemoveAccents ¶
Types ¶
type AdditionalDataStructure ¶
type AdditionalDataStructure struct {
ReferenceLabel EmvTag
}
type CreateDynamicPixParams ¶
type CreateStaticPixParams ¶
type MaiStructure ¶
type PixEmv ¶
type PixEmv struct { PayloadFormatIndicator EmvTag MerchantAccountInformation MaiStructure MerchantCategoryCode EmvTag TransactionCurrency EmvTag TransactionAmount EmvTag CountryCode EmvTag MerchantName EmvTag MerchantCity EmvTag AdditionDataFieldTemplate AdditionalDataStructure CRC EmvTag }
type PixObject ¶
func CreateDynamicPix ¶
func CreateDynamicPix(params CreateDynamicPixParams) PixObject
func CreateStaticPix ¶
func CreateStaticPix(params CreateStaticPixParams) PixObject
Click to show internal directories.
Click to hide internal directories.