Merge pull request #51 from lordkhonsu/master

added json field `transaction_fee` to Sale struct
This commit is contained in:
Alex Pliutau 2018-02-08 13:49:07 +07:00 committed by GitHub
commit d1c1dd2026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -458,6 +458,7 @@ type (
Sale struct { Sale struct {
ID string `json:"id,omitempty"` ID string `json:"id,omitempty"`
Amount *Amount `json:"amount,omitempty"` Amount *Amount `json:"amount,omitempty"`
TransactionFee *Currency `json:"transaction_fee,omitempty"`
Description string `json:"description,omitempty"` Description string `json:"description,omitempty"`
CreateTime *time.Time `json:"create_time,omitempty"` CreateTime *time.Time `json:"create_time,omitempty"`
State string `json:"state,omitempty"` State string `json:"state,omitempty"`