GetRatePlanResult class

Result data returned by getRatePlan.

Constructors

GetRatePlanResult({required String apiproduct, required String billingPeriod, required List<GoogleCloudApigeeV1RateRangeResponse> consumptionPricingRates, required String consumptionPricingType, required String createdAt, required String currencyCode, required String description, required String displayName, required String endTime, required int fixedFeeFrequency, required GoogleTypeMoneyResponse fixedRecurringFee, required String lastModifiedAt, required String name, required String paymentFundingModel, required List<GoogleCloudApigeeV1RevenueShareRangeResponse> revenueShareRates, required String revenueShareType, required GoogleTypeMoneyResponse setupFee, required String startTime, required String state})
Creates a new GetRatePlanResult. apiproduct Name of the API product that the rate plan is associated with. billingPeriod Frequency at which the customer will be billed. consumptionPricingRates API call volume ranges and the fees charged when the total number of API calls is within a given range. The method used to calculate the final fee depends on the selected pricing model. For example, if the pricing model is STAIRSTEP and the ranges are defined as follows: { "start": 1, "end": 100, "fee": 75 }, { "start": 101, "end": 200, "fee": 100 }, } Then the following fees would be charged based on the total number of API calls (assuming the currency selected is USD): * 1 call costs $75 * 50 calls cost $75 * 150 calls cost $100 The number of API calls cannot exceed 200. consumptionPricingType Pricing model used for consumption-based charges. createdAt Time that the rate plan was created in milliseconds since epoch. currencyCode Currency to be used for billing. Consists of a three-letter code as defined by the ISO 4217 standard. description Description of the rate plan. displayName Display name of the rate plan. endTime Time when the rate plan will expire in milliseconds since epoch. Set to 0 or null to indicate that the rate plan should never expire. fixedFeeFrequency Frequency at which the fixed fee is charged. fixedRecurringFee Fixed amount that is charged at a defined interval and billed in advance of use of the API product. The fee will be prorated for the first billing period. lastModifiedAt Time the rate plan was last modified in milliseconds since epoch. name Name of the rate plan. paymentFundingModel DEPRECATED: This field is no longer supported and will eventually be removed when Apigee Hybrid 1.5/1.6 is no longer supported. Instead, use the billingType field inside DeveloperMonetizationConfig resource. Flag that specifies the billing account type, prepaid or postpaid. revenueShareRates Details of the revenue sharing model. revenueShareType Method used to calculate the revenue that is shared with developers. setupFee Initial, one-time fee paid when purchasing the API product. startTime Time when the rate plan becomes active in milliseconds since epoch. state Current state of the rate plan (draft or published).
const
GetRatePlanResult.fromMap(Map<String, dynamic> map)
factory

Properties

apiproduct → String
Name of the API product that the rate plan is associated with.
final
billingPeriod → String
Frequency at which the customer will be billed.
final
consumptionPricingRates → List<GoogleCloudApigeeV1RateRangeResponse>
API call volume ranges and the fees charged when the total number of API calls is within a given range. The method used to calculate the final fee depends on the selected pricing model. For example, if the pricing model is STAIRSTEP and the ranges are defined as follows: { "start": 1, "end": 100, "fee": 75 }, { "start": 101, "end": 200, "fee": 100 }, } Then the following fees would be charged based on the total number of API calls (assuming the currency selected is USD): * 1 call costs $75 * 50 calls cost $75 * 150 calls cost $100 The number of API calls cannot exceed 200.
final
consumptionPricingType → String
Pricing model used for consumption-based charges.
final
createdAt → String
Time that the rate plan was created in milliseconds since epoch.
final
currencyCode → String
Currency to be used for billing. Consists of a three-letter code as defined by the ISO 4217 standard.
final
description → String
Description of the rate plan.
final
displayName → String
Display name of the rate plan.
final
endTime → String
Time when the rate plan will expire in milliseconds since epoch. Set to 0 or null to indicate that the rate plan should never expire.
final
fixedFeeFrequency → int
Frequency at which the fixed fee is charged.
final
fixedRecurringFee → GoogleTypeMoneyResponse
Fixed amount that is charged at a defined interval and billed in advance of use of the API product. The fee will be prorated for the first billing period.
final
hashCode → int
The hash code for this object.
no setterinherited
lastModifiedAt → String
Time the rate plan was last modified in milliseconds since epoch.
final
name → String
Name of the rate plan.
final
paymentFundingModel → String
DEPRECATED: This field is no longer supported and will eventually be removed when Apigee Hybrid 1.5/1.6 is no longer supported. Instead, use the billingType field inside DeveloperMonetizationConfig resource. Flag that specifies the billing account type, prepaid or postpaid.
final
revenueShareRates → List<GoogleCloudApigeeV1RevenueShareRangeResponse>
Details of the revenue sharing model.
final
revenueShareType → String
Method used to calculate the revenue that is shared with developers.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
setupFee → GoogleTypeMoneyResponse
Initial, one-time fee paid when purchasing the API product.
final
startTime → String
Time when the rate plan becomes active in milliseconds since epoch.
final
state → String
Current state of the rate plan (draft or published).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited