github.com/mundipagg/boleto-api@v0.0.0-20230620145841-3f9ec742599f/models/payeeGuarantor.go (about) 1 package models 2 3 // PayeeGuarantor informações de entrada do lojista(sacador avalista) 4 type PayeeGuarantor struct { 5 Name string `json:"name,omitempty"` 6 Document Document `json:"document,omitempty"` 7 } 8 9 // HasName diz se o Name está preenchido com algum valor 10 func (p PayeeGuarantor) HasName() bool { 11 return p.Name != "" 12 }