Upgrade price
Overview
Retrieve the upgrade price for a subscription.
Attributes
Parameters | Type/Description |
---|---|
BillingPrice |
Double |
|
The price Avangate charges the customer, without taxes. |
BillingGrossPrice |
Double |
|
The price Avangate charges the customer, including taxes. |
BillingCurrency |
String |
|
The currency ISO code used for the payment - ISO 4217. |
Quantity |
Int |
|
The mandatory quantity for the upgrade (you cannot make partial upgrades) |
DisplayPrice |
Double |
|
Display price. |
DisplayGrossPrice |
Double |
|
Display price before deductions. |
DisplayCurrency |
String |
|
Display currency. ISO 4217 code. |
ProratedPrice | String |
Net prorated price for the upgrade. If the calculated upgrade price is 0, the prorated price is also send as 0. If customers upgrade to a product with a lower price, the total and net prices will be 0, however, the Prorated Price will be the negative calculated value. Use this information in case you want to refund customers for upgrades to lower priced subscription plans. |
|
ProratedGrossPrice | String |
Gross prorated price for the upgrade. If the calculated upgrade price is 0, the prorated gross price is also 0. If customers upgrade to a product with a lower price, the total and net prices will be 0, however, the Prorated Gross Price will be the negative calculated value. Use this information in case you want to refund customers for upgrades to lower priced subscription plans. |
|
Discount | Float |
Applied discounts | |
DiscountedProratedPrice | Float |
Prorated net price for the upgrade with applied discounts | |
DiscountedProratedGrossPrice | Float |
Prorated gross price for the upgrade with applied discounts | |
DiscountedBillingPrice | Float |
Net billing price available for the upgrade process with applied discounts | |
DiscountedBillingGrossPrice | Float |
Gross billing price available for the upgrade process with applied discounts | |
DisplayDiscount | Float |
Discount displayed for the upgrade process | |
DiscountedDisplayPrice | Float |
Net display price available for the upgrade process with applied discounts | |
DiscountedDisplayGrossPrice | Float |
Gross display price available for the upgrade process with applied discounts |