Interface RepricingConfigOrBuilder (3.14.0)

public interface RepricingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdjustment()

public abstract RepricingAdjustment getAdjustment()

Required. Information about the adjustment.

.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RepricingAdjustment

The adjustment.

getAdjustmentOrBuilder()

public abstract RepricingAdjustmentOrBuilder getAdjustmentOrBuilder()

Required. Information about the adjustment.

.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RepricingAdjustmentOrBuilder

getChannelPartnerGranularity()

public abstract RepricingConfig.ChannelPartnerGranularity getChannelPartnerGranularity()

Applies the repricing configuration at the channel partner level. This is the only supported value for ChannelPartnerRepricingConfig.

.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5;

Returns
TypeDescription
RepricingConfig.ChannelPartnerGranularity

The channelPartnerGranularity.

getChannelPartnerGranularityOrBuilder()

public abstract RepricingConfig.ChannelPartnerGranularityOrBuilder getChannelPartnerGranularityOrBuilder()

Applies the repricing configuration at the channel partner level. This is the only supported value for ChannelPartnerRepricingConfig.

.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5;

Returns
TypeDescription
RepricingConfig.ChannelPartnerGranularityOrBuilder

getConditionalOverrides(int index)

public abstract ConditionalOverride getConditionalOverrides(int index)

The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.

repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConditionalOverride

getConditionalOverridesCount()

public abstract int getConditionalOverridesCount()

The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.

repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;

Returns
TypeDescription
int

getConditionalOverridesList()

public abstract List<ConditionalOverride> getConditionalOverridesList()

The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.

repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;

Returns
TypeDescription
List<ConditionalOverride>

getConditionalOverridesOrBuilder(int index)

public abstract ConditionalOverrideOrBuilder getConditionalOverridesOrBuilder(int index)

The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.

repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConditionalOverrideOrBuilder

getConditionalOverridesOrBuilderList()

public abstract List<? extends ConditionalOverrideOrBuilder> getConditionalOverridesOrBuilderList()

The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.

repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;

Returns
TypeDescription
List<? extends com.google.cloud.channel.v1.ConditionalOverrideOrBuilder>

getEffectiveInvoiceMonth()

public abstract Date getEffectiveInvoiceMonth()

Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.

.google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
com.google.type.Date

The effectiveInvoiceMonth.

getEffectiveInvoiceMonthOrBuilder()

public abstract DateOrBuilder getEffectiveInvoiceMonthOrBuilder()

Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.

.google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
com.google.type.DateOrBuilder

getEntitlementGranularity()

public abstract RepricingConfig.EntitlementGranularity getEntitlementGranularity()

Applies the repricing configuration at the entitlement level. This is the only supported value for CustomerRepricingConfig.

.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4;

Returns
TypeDescription
RepricingConfig.EntitlementGranularity

The entitlementGranularity.

getEntitlementGranularityOrBuilder()

public abstract RepricingConfig.EntitlementGranularityOrBuilder getEntitlementGranularityOrBuilder()

Applies the repricing configuration at the entitlement level. This is the only supported value for CustomerRepricingConfig.

.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4;

Returns
TypeDescription
RepricingConfig.EntitlementGranularityOrBuilder

getGranularityCase()

public abstract RepricingConfig.GranularityCase getGranularityCase()
Returns
TypeDescription
RepricingConfig.GranularityCase

getRebillingBasis()

public abstract RebillingBasis getRebillingBasis()

Required. The RebillingBasis to use for this bill. Specifies the relative cost based on repricing costs you will apply.

.google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RebillingBasis

The rebillingBasis.

getRebillingBasisValue()

public abstract int getRebillingBasisValue()

Required. The RebillingBasis to use for this bill. Specifies the relative cost based on repricing costs you will apply.

.google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for rebillingBasis.

hasAdjustment()

public abstract boolean hasAdjustment()

Required. Information about the adjustment.

.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the adjustment field is set.

hasChannelPartnerGranularity()

public abstract boolean hasChannelPartnerGranularity()

Applies the repricing configuration at the channel partner level. This is the only supported value for ChannelPartnerRepricingConfig.

.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5;

Returns
TypeDescription
boolean

Whether the channelPartnerGranularity field is set.

hasEffectiveInvoiceMonth()

public abstract boolean hasEffectiveInvoiceMonth()

Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.

.google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the effectiveInvoiceMonth field is set.

hasEntitlementGranularity()

public abstract boolean hasEntitlementGranularity()

Applies the repricing configuration at the entitlement level. This is the only supported value for CustomerRepricingConfig.

.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4;

Returns
TypeDescription
boolean

Whether the entitlementGranularity field is set.