Interface PlanOrBuilder (3.45.0)

public interface PlanOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBillingAccount()

public abstract String getBillingAccount()

Reseller Billing account to charge after an offer transaction. Only present for Google Cloud offers.

string billing_account = 5;

Returns
TypeDescription
String

The billingAccount.

getBillingAccountBytes()

public abstract ByteString getBillingAccountBytes()

Reseller Billing account to charge after an offer transaction. Only present for Google Cloud offers.

string billing_account = 5;

Returns
TypeDescription
ByteString

The bytes for billingAccount.

getPaymentCycle()

public abstract Period getPaymentCycle()

Describes how frequently the reseller will be billed, such as once per month.

.google.cloud.channel.v1.Period payment_cycle = 3;

Returns
TypeDescription
Period

The paymentCycle.

getPaymentCycleOrBuilder()

public abstract PeriodOrBuilder getPaymentCycleOrBuilder()

Describes how frequently the reseller will be billed, such as once per month.

.google.cloud.channel.v1.Period payment_cycle = 3;

Returns
TypeDescription
PeriodOrBuilder

getPaymentPlan()

public abstract PaymentPlan getPaymentPlan()

Describes how a reseller will be billed.

.google.cloud.channel.v1.PaymentPlan payment_plan = 1;

Returns
TypeDescription
PaymentPlan

The paymentPlan.

getPaymentPlanValue()

public abstract int getPaymentPlanValue()

Describes how a reseller will be billed.

.google.cloud.channel.v1.PaymentPlan payment_plan = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for paymentPlan.

getPaymentType()

public abstract PaymentType getPaymentType()

Specifies when the payment needs to happen.

.google.cloud.channel.v1.PaymentType payment_type = 2;

Returns
TypeDescription
PaymentType

The paymentType.

getPaymentTypeValue()

public abstract int getPaymentTypeValue()

Specifies when the payment needs to happen.

.google.cloud.channel.v1.PaymentType payment_type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for paymentType.

getTrialPeriod()

public abstract 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
TypeDescription
Period

The trialPeriod.

getTrialPeriodOrBuilder()

public abstract 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;

Returns
TypeDescription
PeriodOrBuilder

hasPaymentCycle()

public abstract boolean hasPaymentCycle()

Describes how frequently the reseller will be billed, such as once per month.

.google.cloud.channel.v1.Period payment_cycle = 3;

Returns
TypeDescription
boolean

Whether the paymentCycle field is set.

hasTrialPeriod()

public abstract 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
TypeDescription
boolean

Whether the trialPeriod field is set.