Skip to content

Commit

Permalink
Add omitempty in VaNumber attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
andhikamaheva committed Aug 30, 2018
1 parent 061d1e5 commit 2fada1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions request.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ type PermataBankTransferDetail struct {
// BNIBankTransferDetail : Represent BNI bank_transfer detail
type BNIBankTransferDetail struct {
Bank Bank `json:"bank,omitemtpy"`
VaNumber string `json:"va_number"`
VaNumber string `json:"va_number,omitempty"`
}

// BCABankTransferLangDetail : Represent BCA bank_transfer lang detail
Expand Down Expand Up @@ -99,7 +99,7 @@ type BCABankTransferDetailFreeText struct {
// BCABankTransferDetail : Represent BCA bank_transfer detail
type BCABankTransferDetail struct {
Bank Bank `json:"bank"`
VaNumber string `json:"va_number"`
VaNumber string `json:"va_number,omitempty"`
SubCompanyCode string `json:"sub_company_code,omitempty"`
FreeText BCABankTransferDetailFreeText `json:"free_text"`
}
Expand Down

0 comments on commit 2fada1c

Please sign in to comment.