Skip to content

Commit

Permalink
fix installment datatype
Browse files Browse the repository at this point in the history
Installment term should be `int` instead of slice
  • Loading branch information
rizdaprasetya authored Aug 3, 2018
1 parent 1e13ba9 commit cd37d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion request.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type CreditCardDetail struct {
TokenID string `json:"token_id"`
Bank string `json:"bank,omitempty"`
Bins []string `json:"bins,omitempty"`
InstallmentTerm []int8 `json:"installment_term,omitempty"`
InstallmentTerm int8 `json:"installment_term,omitempty"`
Type string `json:"type,omitempty"`
// indicate if generated token should be saved for next charge
SaveTokenID bool `json:"save_token_id,omitempty"`
Expand Down

0 comments on commit cd37d33

Please sign in to comment.