storj/satellite/payments
Jeremy Wharton c92fdba972 satellite/payments/stripe: apply egress discount to invoice items
Invoicing has been modified to account for an egress discount ratio,
which specifies the fraction of the amount of data stored that egress
usage should be discounted.

The egress discount ratio measures discounted egress units per storage
unit-months, so a ratio of 0.5 with 2 MB-months of storage would
discount 1 MB of egress.

Resolves storj/storj-private#224

Change-Id: I43d7d6719391c303712c082709aef77249c65f62
2023-04-12 15:28:00 +00:00
..
accountfreeze satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
billing satellite/payments/billing: add bonus transactions 2023-04-10 16:26:56 +00:00
coinpayments satellite: remove unused coinpayments code and chores 2022-11-30 16:24:48 +00:00
paymentsconfig satellite/payments: add egress discount ratio to price override config 2023-04-12 14:52:19 +00:00
storjscan satellite/payments/billing: add bonus transactions 2023-04-10 16:26:56 +00:00
stripe satellite/payments/stripe: apply egress discount to invoice items 2023-04-12 15:28:00 +00:00
account.go satellite/payments,web/satellite: separate UI cost estimates by partner 2023-04-04 15:56:16 +00:00
balance.go satellite/console: purchase package grants credit 2023-03-31 22:29:54 +00:00
charges.go satellite/console: add credit card charges to billing history 2020-01-03 17:34:59 +02:00
coupons.go satellite/console: purchase package grants credit 2023-03-31 22:29:54 +00:00
creditcards.go satellite/console: return card from AddCreditCard 2023-02-21 20:48:15 +00:00
credits.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
invoices.go satellite/{db,analytics,payments}: add chore for auto account freeze 2023-03-01 09:31:27 +00:00
projectcharges.go satellite/payments: add egress discount ratio to price override config 2023-04-12 14:52:19 +00:00
tokens.go satellite/payments: remove Deposit from Tokens interface 2022-10-17 13:32:06 +02:00