Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Latest commit

 

History

History
41 lines (37 loc) · 12.9 KB

File metadata and controls

41 lines (37 loc) · 12.9 KB

ProductRatePlan

Properties

Name Type Description Notes
created datetime { "description" : "The UTC DateTime when the object was created.", "verbs":[] } [optional]
changed_by str { "description" : "ID of the user who last updated the entity.", "verbs":[] } [optional]
updated datetime { "description" : "The UTC DateTime when the object was last updated.", "verbs":[] } [optional]
metadata DynamicMetadata { "description" : "Add metadata.", "verbs":["POST"] } [optional]
id str {"description":"ID uniquely identifying this rate plan.","verbs":["GET"]} [optional]
crm_id str {"description":"Customer-relationship-management ID of the rate plan.","verbs":["GET","PUT","POST"]} [optional]
product_id str {"description":"ID of the product to which this rate plan belongs. A product is essentially a collection of rate plans, and describes the service conferred to a customer upon subscription to any of said product's rate plans. The product serves also as a template from which its rate plans can infer default attributes.","verbs":["POST","GET"]}
currency str {"description":"The currency of the product-rate-plan — as specified by a three-character ISO 4217 currency code (i.e. USD).","verbs":["POST","GET"]}
tax_status str {&quot;default&quot;:&quot;inclusive&quot;,&quot;description&quot;:&quot;The tax status of the product-rate-plan &mdash; either inclusive or exclusive.<br><span class=\&quot;label label-default\&quot;>exclusive</span>pricing indicates that the cost of the Pricing Components do not include tax; when BillForward generates an Invoice, the tax will be calculated with this price as a base. <br>Tax-<span class=\&quot;label label-default\&quot;>inclusive</span>pricing indicates that the Pricing components include Tax. BillForward will still calculate tax on each invoice. Tax will be calculated from the sales price.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;PUT&quot;,&quot;GET&quot;]}
failed_payment_behaviour str {&quot;default&quot;:&quot;None&quot;,&quot;description&quot;:&quot;The action that should be taken, should an invoice for some subscription to this rate plan remain unpaid despite the dunning period's being exceeded.<br><span class=\&quot;label label-default\&quot;>CancelSubscription</span> &mdash; Demotes the subscription to the `Failed` state as soon as the dunning period is exceeded.<br><span class=\&quot;label label-default\&quot;>None</span> &mdash; The subscription is allowed to continue in the `AwaitingPayment` state indefinitely even if the dunning period is exceeded.For slow payment cycles &mdash; or when manual invoice remediation is common &mdash; <span class=\&quot;label label-default\&quot;>None</span> is recommended.<br>In a heavily-automated SaaS environment, automatic cancellation via <span class=\&quot;label label-default\&quot;>CancelSubscription</span> is recommended.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;PUT&quot;,&quot;GET&quot;]}
duration int {&quot;description&quot;:&quot;Number of length-measures which constitute the rate plan's period. If left unspecified: the rate plan will use the same `duration` number as the Product to which it belongs.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;]} [optional]
duration_period str {&quot;description&quot;:&quot;Measure describing the magnitude of the rate plan's period. If left unspecified: the rate plan will use the same `durationPeriod` magnitude as the Product to which it belongs.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;]}
trial int {&quot;default&quot;:0,&quot;description&quot;:&quot;Number of trial-length-measures which constitute the rate plan's trial period. If left unspecified: the rate plan will use the same `trial` number as the Product to which it belongs.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;PUT&quot;,&quot;GET&quot;]} [optional]
trial_period str {&quot;default&quot;:&quot;none&quot;,&quot;description&quot;:&quot;Measure describing the magnitude of the rate plan's trial period. If left unspecified: the rate plan will use the same `trialPeriod` magnitude as the Product to which it belongs.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;PUT&quot;,&quot;GET&quot;]} [optional]
product_type str {&quot;default&quot;:&quot;recurring&quot;,&quot;description&quot;:&quot;The frequency of the rate plan &mdash; either recurring or non-recurring. If left unspecified: the rate plan will use the same `productType` frequency as the Product to which it belongs.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;PUT&quot;,&quot;GET&quot;]} [optional]
pro_rata_mode str {&quot;default&quot;:&quot;WithCoupon&quot;,&quot;description&quot;:&quot;The pro-rata mode for the rate plan. <br><span class=\&quot;label label-default\&quot;>None</span> &mdash; The pro-rata cost for upgrades will be ignored.<br><span class=\&quot;label label-default\&quot;>WithCoupon</span> &mdash; The pro-rata cost for upgrades will be calculated based on the time remaining for the subscription. Discounts from any attached coupons will be deducted from the pro-rated cost.<br><span class=\&quot;label label-default\&quot;>WithoutCoupon</span> &mdash; The pro-rata cost for upgrades will be calculated based on the time remaining for the subscription. Discounts from any attached coupons will not be deducted from the pro-rated cost. &quot;,&quot;verbs&quot;:[]}
create_zero_valued_invoices bool {&quot;default&quot;:&quot;true&quot;,&quot;description&quot;:&quot;Whether invoices are created if they have a zero valued cost before any discounts are applied.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;PUT&quot;,&quot;GET&quot;] } [default to False]
name str {&quot;description&quot;:&quot;A friendly name &mdash; for your benefit &mdash; used to identify this rate plan within some product in BillForward. The name should reflect the fact that this rate plan provides to the customer a price tiering system within which a subscription to its Product can be made. <br>The rate plan's name could describe the nature of its price tiering (e.g. \&quot;Default pricing\&quot;, \&quot;Student pricing\&quot;).<br>Remember also that rate plans can override the timing prescribed by their product. If your rate plan is defined by its overriding the default timing of its product, then that can be reflected in that rate plan's name. (e.g. \&quot;Student pricing - Annual\&quot;).&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;PUT&quot;,&quot;GET&quot;]}
public_name str {&quot;description&quot;:&quot;A friendly non-unique name used to identify this product-rate-plan&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;PUT&quot;,&quot;GET&quot;]} [optional]
valid_from datetime {&quot;description&quot;:&quot;The UTC DateTime specifying when the rate plan is valid from.&quot;,&quot;verbs&quot;:[&quot;GET&quot;]} [optional]
valid_till datetime {&quot;description&quot;:&quot;The UTC DateTime specifying when the product-rate-plan is valid till.&quot;,&quot;verbs&quot;:[&quot;GET&quot;]} [optional]
status str {&quot;description&quot;:&quot;The current status of the rate plan.&quot;,&quot;verbs&quot;:[]} [optional]
migration_behaviour str {&quot;default&quot;:&quot;CreditAccount&quot;,&quot;description&quot;:&quot;The action that should be taken, should the pro-rata calculation result in a negative value.<br><span class=\&quot;label label-default\&quot;>NoCharge</span> &mdash; Don't return to the customer any money.<br><span class=\&quot;label label-default\&quot;>CreditAccount</span> &mdash; Credit the customer's account with the amount.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;PUT&quot;,&quot;GET&quot;]}
invoice_issue_type str {&quot;default&quot;:&quot;<span class=\&quot;label label-default\&quot;>Immediate</span>&quot;,&quot;description&quot;:&quot;The strategy for how invoices for this plan will be issued.<br><span class=\&quot;label label-default\&quot;>Immediate</span> &mdash; All generated invoices move immediately to the 'Unpaid' state &mdash; beginning the payment pursuit process.<br><span class=\&quot;label label-default\&quot;>Delayed</span> &mdash; All generated invoices begin in the 'Pending' state. An 'Issue Invoice' amendment is scheduled (based on the rate plan's `issueDuration` and `issuePeriod`) that will move the invoice to the 'Unpaid' state (beginning the payment pursuit process) in accordance with the rate plan's issuance schedule.<br><span class=\&quot;label label-default\&quot;>Manual</span> &mdash; All generated invoices sit in the 'Pending' state &mdash; they will not be issued to the customer unless explicit action is taken. This gives you an opportunity to review or recalculate the invoice.&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;]} [optional]
issue_duration int {&quot;description&quot;:&quot;Number of issue-length-measures between issuance of invoices for this rate plan.&quot;&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;]} [optional]
issue_period str {&quot;description&quot;:&quot;Measure describing the magnitude of the invoice issuance period.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;]} [optional]
taxation list[MutableBillingEntity] {&quot;description&quot;:&quot;A list linking taxation strategies to the rate plan.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;,&quot;PUT&quot;]} [optional]
fixed_term_definitions list[MutableBillingEntity] {&quot;description&quot;:&quot;A list linking \&quot;Fixed-Term Definitions\&quot; to the rate plan.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;PUT&quot;,&quot;GET&quot;]} [optional]
product Product {&quot;description&quot;:&quot;The product to which this rate plan belongs. A product is essentially a collection of rate plans, and describes the service conferred to a customer upon subscription to any of said product's rate plans. The product serves also as a template from which its rate plans can infer default attributes.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;]} [optional]
pricing_components list[PricingComponent] {&quot;description&quot;:&quot;The pricing-components which describe the price tiering system of this rate plan. A product rate plan may have 1 or more pricing components. Each pricing component represents a different charge associated with the subscription. Pricing components are versioned.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;PUT&quot;,&quot;GET&quot;]}
aggregating_components list[AggregatingComponent] {&quot;default&quot;:&quot;(empty list)&quot;,&quot;description&quot;:&quot;List of AggregatingComponents &mdash; these describe pricing components whose prices should be recalculated upon invoice aggregation. For example: two subscriptions' individual consumptions may be neither of them large enough to achieve bulk-buy discounts. When aggregated, though, the same two subscriptions' consumption may add up to a quantity which does merit a bulk buy discount within your tiering system.&quot;,&quot;verbs&quot;:[&quot;POST&quot;]} [optional]
payment_terms int [optional]

[Back to Model list] [Back to API list] [Back to README]