Package com.google.cloud.channel.v1
Interface PlanOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Plan
,Plan.Builder
public interface PlanOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBillingAccount()
Reseller Billing account to charge after an offer transaction.com.google.protobuf.ByteString
getBillingAccountBytes()
Reseller Billing account to charge after an offer transaction.Period
getPaymentCycle()
Describes how frequently the reseller will be billed, such as once per month.PeriodOrBuilder
getPaymentCycleOrBuilder()
Describes how frequently the reseller will be billed, such as once per month.PaymentPlan
getPaymentPlan()
Describes how a reseller will be billed.int
getPaymentPlanValue()
Describes how a reseller will be billed.PaymentType
getPaymentType()
Specifies when the payment needs to happen.int
getPaymentTypeValue()
Specifies when the payment needs to happen.Period
getTrialPeriod()
Present for Offers with a trial period.PeriodOrBuilder
getTrialPeriodOrBuilder()
Present for Offers with a trial period.boolean
hasPaymentCycle()
Describes how frequently the reseller will be billed, such as once per month.boolean
hasTrialPeriod()
Present for Offers with a trial period.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPaymentPlanValue
int getPaymentPlanValue()
Describes how a reseller will be billed.
.google.cloud.channel.v1.PaymentPlan payment_plan = 1;
- Returns:
- The enum numeric value on the wire for paymentPlan.
-
getPaymentPlan
PaymentPlan getPaymentPlan()
Describes how a reseller will be billed.
.google.cloud.channel.v1.PaymentPlan payment_plan = 1;
- Returns:
- The paymentPlan.
-
getPaymentTypeValue
int getPaymentTypeValue()
Specifies when the payment needs to happen.
.google.cloud.channel.v1.PaymentType payment_type = 2;
- Returns:
- The enum numeric value on the wire for paymentType.
-
getPaymentType
PaymentType getPaymentType()
Specifies when the payment needs to happen.
.google.cloud.channel.v1.PaymentType payment_type = 2;
- Returns:
- The paymentType.
-
hasPaymentCycle
boolean hasPaymentCycle()
Describes how frequently the reseller will be billed, such as once per month.
.google.cloud.channel.v1.Period payment_cycle = 3;
- Returns:
- Whether the paymentCycle field is set.
-
getPaymentCycle
Period getPaymentCycle()
Describes how frequently the reseller will be billed, such as once per month.
.google.cloud.channel.v1.Period payment_cycle = 3;
- Returns:
- The paymentCycle.
-
getPaymentCycleOrBuilder
PeriodOrBuilder getPaymentCycleOrBuilder()
Describes how frequently the reseller will be billed, such as once per month.
.google.cloud.channel.v1.Period payment_cycle = 3;
-
hasTrialPeriod
boolean hasTrialPeriod()
Present for Offers with a trial period. For trial-only Offers, a paid service needs to start before the trial period ends for continued service. For Regular Offers with a trial period, the regular pricing goes into effect when trial period ends, or if paid service is started before the end of the trial period.
.google.cloud.channel.v1.Period trial_period = 4;
- Returns:
- Whether the trialPeriod field is set.
-
getTrialPeriod
Period getTrialPeriod()
Present for Offers with a trial period. For trial-only Offers, a paid service needs to start before the trial period ends for continued service. For Regular Offers with a trial period, the regular pricing goes into effect when trial period ends, or if paid service is started before the end of the trial period.
.google.cloud.channel.v1.Period trial_period = 4;
- Returns:
- The trialPeriod.
-
getTrialPeriodOrBuilder
PeriodOrBuilder getTrialPeriodOrBuilder()
Present for Offers with a trial period. For trial-only Offers, a paid service needs to start before the trial period ends for continued service. For Regular Offers with a trial period, the regular pricing goes into effect when trial period ends, or if paid service is started before the end of the trial period.
.google.cloud.channel.v1.Period trial_period = 4;
-
getBillingAccount
String getBillingAccount()
Reseller Billing account to charge after an offer transaction. Only present for Google Cloud offers.
string billing_account = 5;
- Returns:
- The billingAccount.
-
getBillingAccountBytes
com.google.protobuf.ByteString getBillingAccountBytes()
Reseller Billing account to charge after an offer transaction. Only present for Google Cloud offers.
string billing_account = 5;
- Returns:
- The bytes for billingAccount.
-
-