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 GoogleTypeMoneyResponse setupFee, required String startTime, required String state}) -
Creates a new GetRatePlanResult.
apiproductName of the API product that the rate plan is associated with.billingPeriodFrequency at which the customer will be billed.consumptionPricingRatesAPI 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 isSTAIRSTEPand 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 isUSD): * 1 call costs $75 * 50 calls cost $75 * 150 calls cost $100 The number of API calls cannot exceed 200.consumptionPricingTypePricing model used for consumption-based charges.createdAtTime that the rate plan was created in milliseconds since epoch.currencyCodeCurrency to be used for billing. Consists of a three-letter code as defined by the ISO 4217 standard.descriptionDescription of the rate plan.displayNameDisplay name of the rate plan.endTimeTime when the rate plan will expire in milliseconds since epoch. Set to 0 ornullto indicate that the rate plan should never expire.fixedFeeFrequencyFrequency at which the fixed fee is charged.fixedRecurringFeeFixed 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.lastModifiedAtTime the rate plan was last modified in milliseconds since epoch.nameName of the rate plan.paymentFundingModelDEPRECATED: This field is no longer supported and will eventually be removed when Apigee Hybrid 1.5/1.6 is no longer supported. Instead, use thebillingTypefield insideDeveloperMonetizationConfigresource. Flag that specifies the billing account type, prepaid or postpaid.revenueShareRatesDetails of the revenue sharing model.revenueShareTypeMethod used to calculate the revenue that is shared with developers.setupFeeInitial, one-time fee paid when purchasing the API product.startTimeTime when the rate plan becomes active in milliseconds since epoch.stateCurrent 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
STAIRSTEPand 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 isUSD): * 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
nullto 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
billingTypefield insideDeveloperMonetizationConfigresource. Flag that specifies the billing account type, prepaid or postpaid.final -
Details of the revenue sharing model.
final
-
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