Shared
ModelsExpand Collapse
type CostQuote struct{…}Cost quote returned by POST /cost. current_summary and updated_summary hold the org billing summary now and with this resource; omitted when the caller cannot view billing.
Cost quote returned by POST /cost. current_summary and updated_summary hold the org billing summary now and with this resource; omitted when the caller cannot view billing.
UsageDimensions []CostQuoteUsageDimensionPriced rows, one per usage dimension emitted by the resource.
Priced rows, one per usage dimension emitted by the resource.
Forward-looking billing summary for an organization. All costs are run-rate projections from the organization’s current active usage (”≈ $X/mo at current usage”).
Forward-looking billing summary for an organization. All costs are run-rate projections from the organization’s current active usage (”≈ $X/mo at current usage”).
Arbitrary-precision decimal serialized as a string (e.g. “58.40”).
PromotionalCredits []OrganizationBillingSummaryPromotionalCreditCredits the organization earns automatically through the startup credits program, one per step. Empty when the organization is not part of the program.
Credits the organization earns automatically through the startup credits program, one per step. Empty when the organization is not part of the program.
Kind stringStep that earns the credit: creating the organization, or saving a payment method on it.
Step that earns the credit: creating the organization, or saving a payment method on it.
Status stringWhether the credit can still be earned (“available”), was earned and is being issued (“pending”), or was issued (“granted”). A granted credit reaches the balance shortly after it is issued.
Whether the credit can still be earned (“available”), was earned and is being issued (“pending”), or was issued (“granted”). A granted credit reaches the balance shortly after it is issued.
Arbitrary-precision decimal serialized as a string (e.g. “58.40”).
Forward-looking billing summary for an organization. All costs are run-rate projections from the organization’s current active usage (”≈ $X/mo at current usage”).
Forward-looking billing summary for an organization. All costs are run-rate projections from the organization’s current active usage (”≈ $X/mo at current usage”).
Arbitrary-precision decimal serialized as a string (e.g. “58.40”).
PromotionalCredits []OrganizationBillingSummaryPromotionalCreditCredits the organization earns automatically through the startup credits program, one per step. Empty when the organization is not part of the program.
Credits the organization earns automatically through the startup credits program, one per step. Empty when the organization is not part of the program.
Kind stringStep that earns the credit: creating the organization, or saving a payment method on it.
Step that earns the credit: creating the organization, or saving a payment method on it.
Status stringWhether the credit can still be earned (“available”), was earned and is being issued (“pending”), or was issued (“granted”). A granted credit reaches the balance shortly after it is issued.
Whether the credit can still be earned (“available”), was earned and is being issued (“pending”), or was issued (“granted”). A granted credit reaches the balance shortly after it is issued.
Arbitrary-precision decimal serialized as a string (e.g. “58.40”).
type CostQuoteUpdate struct{…}Cost quote returned by PATCH /:id/cost: current-state quote, post-update quote, and signed diff. current_summary and updated_summary omitted when the caller cannot view billing.
Cost quote returned by PATCH /:id/cost: current-state quote, post-update quote, and signed diff. current_summary and updated_summary omitted when the caller cannot view billing.
After CostQuoteUpdateAfterQuote for the proposed (post-update) resource state.
Quote for the proposed (post-update) resource state.
Before CostQuoteUpdateBeforeQuote for the proposed (post-update) resource state.
Quote for the proposed (post-update) resource state.
Diff CostQuoteUpdateDiffPer-dimension and total deltas: after minus before.
Per-dimension and total deltas: after minus before.
Arbitrary-precision decimal serialized as a string (e.g. “58.40”).
UsageDimensions []CostQuoteUpdateDiffUsageDimensionPer-dimension diff entries. Includes every dimension touched by the update.
Per-dimension diff entries. Includes every dimension touched by the update.
Forward-looking billing summary for an organization. All costs are run-rate projections from the organization’s current active usage (”≈ $X/mo at current usage”).
Forward-looking billing summary for an organization. All costs are run-rate projections from the organization’s current active usage (”≈ $X/mo at current usage”).
Arbitrary-precision decimal serialized as a string (e.g. “58.40”).
PromotionalCredits []OrganizationBillingSummaryPromotionalCreditCredits the organization earns automatically through the startup credits program, one per step. Empty when the organization is not part of the program.
Credits the organization earns automatically through the startup credits program, one per step. Empty when the organization is not part of the program.
Kind stringStep that earns the credit: creating the organization, or saving a payment method on it.
Step that earns the credit: creating the organization, or saving a payment method on it.
Status stringWhether the credit can still be earned (“available”), was earned and is being issued (“pending”), or was issued (“granted”). A granted credit reaches the balance shortly after it is issued.
Whether the credit can still be earned (“available”), was earned and is being issued (“pending”), or was issued (“granted”). A granted credit reaches the balance shortly after it is issued.
Arbitrary-precision decimal serialized as a string (e.g. “58.40”).
Forward-looking billing summary for an organization. All costs are run-rate projections from the organization’s current active usage (”≈ $X/mo at current usage”).
Forward-looking billing summary for an organization. All costs are run-rate projections from the organization’s current active usage (”≈ $X/mo at current usage”).
Arbitrary-precision decimal serialized as a string (e.g. “58.40”).
PromotionalCredits []OrganizationBillingSummaryPromotionalCreditCredits the organization earns automatically through the startup credits program, one per step. Empty when the organization is not part of the program.
Credits the organization earns automatically through the startup credits program, one per step. Empty when the organization is not part of the program.
Kind stringStep that earns the credit: creating the organization, or saving a payment method on it.
Step that earns the credit: creating the organization, or saving a payment method on it.
Status stringWhether the credit can still be earned (“available”), was earned and is being issued (“pending”), or was issued (“granted”). A granted credit reaches the balance shortly after it is issued.
Whether the credit can still be earned (“available”), was earned and is being issued (“pending”), or was issued (“granted”). A granted credit reaches the balance shortly after it is issued.
Arbitrary-precision decimal serialized as a string (e.g. “58.40”).
type OrganizationBillingSummary struct{…}Forward-looking billing summary for an organization. All costs are run-rate projections from the organization’s current active usage (”≈ $X/mo at current usage”).
Forward-looking billing summary for an organization. All costs are run-rate projections from the organization’s current active usage (”≈ $X/mo at current usage”).
Arbitrary-precision decimal serialized as a string (e.g. “58.40”).
PromotionalCredits []OrganizationBillingSummaryPromotionalCreditCredits the organization earns automatically through the startup credits program, one per step. Empty when the organization is not part of the program.
Credits the organization earns automatically through the startup credits program, one per step. Empty when the organization is not part of the program.
Kind stringStep that earns the credit: creating the organization, or saving a payment method on it.
Step that earns the credit: creating the organization, or saving a payment method on it.
Status stringWhether the credit can still be earned (“available”), was earned and is being issued (“pending”), or was issued (“granted”). A granted credit reaches the balance shortly after it is issued.
Whether the credit can still be earned (“available”), was earned and is being issued (“pending”), or was issued (“granted”). A granted credit reaches the balance shortly after it is issued.
Arbitrary-precision decimal serialized as a string (e.g. “58.40”).