Skip to content

Commit

Permalink
payments: SuccessfulPayment currency type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EmJiHash committed May 28, 2020
1 parent 7643078 commit e0fc2b7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions payments.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ type ShippingOption struct {

// Payment contains basic information about a successful payment.
type Payment struct {
Currency Currency `json:"currency"`
Total int `json:"total_amount"`
Payload string `json:"invoice_payload"`
OptionID string `json:"shipping_option_id"`
Order Order `json:"order_info"`
TelegramChargeID string `json:"telegram_payment_charge_id"`
ProviderChargeID string `json:"provider_payment_charge_id"`
Currency string `json:"currency"`
Total int `json:"total_amount"`
Payload string `json:"invoice_payload"`
OptionID string `json:"shipping_option_id"`
Order Order `json:"order_info"`
TelegramChargeID string `json:"telegram_payment_charge_id"`
ProviderChargeID string `json:"provider_payment_charge_id"`
}

// PreCheckoutQuery contains information about an incoming pre-checkout query.
Expand Down

0 comments on commit e0fc2b7

Please sign in to comment.