Enum BillingSetupErrorEnum.BillingSetupError
- java.lang.Object
-
- java.lang.Enum<BillingSetupErrorEnum.BillingSetupError>
-
- com.google.ads.googleads.v10.errors.BillingSetupErrorEnum.BillingSetupError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<BillingSetupErrorEnum.BillingSetupError>
- Enclosing class:
- BillingSetupErrorEnum
public static enum BillingSetupErrorEnum.BillingSetupError extends java.lang.Enum<BillingSetupErrorEnum.BillingSetupError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible billing setup errors.
Protobuf enumgoogle.ads.googleads.v10.errors.BillingSetupErrorEnum.BillingSetupError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BILLING_SETUP_IN_PROGRESSBilling setups cannot be created if there is already a pending billing in progress.BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORYOnly billable and third-party customers can create billing setups.BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUSBilling setups can only be used by customers with ENABLED or DRAFT status.CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNTCannot perform a Change of Bill-To (CBT) to the same payments account.CANNOT_REMOVE_STARTED_BILLING_SETUPCannot cancel an approved billing setup whose start time has passed.CANNOT_USE_EXISTING_AND_NEW_ACCOUNTCannot specify both an existing payments account and a new payments account when setting up billing.CHANGE_OF_BILL_TO_IN_PROGRESSBilling setups cannot be created if there is already a future-approved billing.CUSTOMER_NEEDS_INTERNAL_APPROVALBilling setup creation failed because the payments profile needs internal approval.FUTURE_START_TIME_PROHIBITEDA start time in the future cannot be used because there is currently no active billing setup for this customer.INVALID_PAYMENTS_ACCOUNTBilling setups must either include a correctly formatted existing payments account id, or a non-empty new payments account name.INVALID_START_TIME_TYPEBilling setup creations can only use NOW for start time type.NO_SIGNUP_PERMISSIONBilling setups can only be created by customers who have permission to setup billings.PAYMENTS_ACCOUNT_INELIGIBLEBilling setup creation failed because the payments account is ineligible.PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCHPayments account has different currency code than the current customer and hence cannot be used to setup billing.PAYMENTS_ACCOUNT_NOT_FOUNDRequested payments account not found.PAYMENTS_PROFILE_INELIGIBLEBilling setup creation failed because the payments profile is ineligible.PAYMENTS_PROFILE_NOT_FOUNDRequested payments profile not found.THIRD_PARTY_ALREADY_HAS_BILLINGBilling setups can only be created for a third-party customer if they do not already have a setup.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intBILLING_SETUP_IN_PROGRESS_VALUEBilling setups cannot be created if there is already a pending billing in progress.static intBILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY_VALUEOnly billable and third-party customers can create billing setups.static intBILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS_VALUEBilling setups can only be used by customers with ENABLED or DRAFT status.static intCANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT_VALUECannot perform a Change of Bill-To (CBT) to the same payments account.static intCANNOT_REMOVE_STARTED_BILLING_SETUP_VALUECannot cancel an approved billing setup whose start time has passed.static intCANNOT_USE_EXISTING_AND_NEW_ACCOUNT_VALUECannot specify both an existing payments account and a new payments account when setting up billing.static intCHANGE_OF_BILL_TO_IN_PROGRESS_VALUEBilling setups cannot be created if there is already a future-approved billing.static intCUSTOMER_NEEDS_INTERNAL_APPROVAL_VALUEBilling setup creation failed because the payments profile needs internal approval.static intFUTURE_START_TIME_PROHIBITED_VALUEA start time in the future cannot be used because there is currently no active billing setup for this customer.static intINVALID_PAYMENTS_ACCOUNT_VALUEBilling setups must either include a correctly formatted existing payments account id, or a non-empty new payments account name.static intINVALID_START_TIME_TYPE_VALUEBilling setup creations can only use NOW for start time type.static intNO_SIGNUP_PERMISSION_VALUEBilling setups can only be created by customers who have permission to setup billings.static intPAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH_VALUEPayments account has different currency code than the current customer and hence cannot be used to setup billing.static intPAYMENTS_ACCOUNT_INELIGIBLE_VALUEBilling setup creation failed because the payments account is ineligible.static intPAYMENTS_ACCOUNT_NOT_FOUND_VALUERequested payments account not found.static intPAYMENTS_PROFILE_INELIGIBLE_VALUEBilling setup creation failed because the payments profile is ineligible.static intPAYMENTS_PROFILE_NOT_FOUND_VALUERequested payments profile not found.static intTHIRD_PARTY_ALREADY_HAS_BILLING_VALUEBilling setups can only be created for a third-party customer if they do not already have a setup.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BillingSetupErrorEnum.BillingSetupErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<BillingSetupErrorEnum.BillingSetupError>internalGetValueMap()static BillingSetupErrorEnum.BillingSetupErrorvalueOf(int value)Deprecated.static BillingSetupErrorEnum.BillingSetupErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static BillingSetupErrorEnum.BillingSetupErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BillingSetupErrorEnum.BillingSetupError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final BillingSetupErrorEnum.BillingSetupError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final BillingSetupErrorEnum.BillingSetupError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
CANNOT_USE_EXISTING_AND_NEW_ACCOUNT
public static final BillingSetupErrorEnum.BillingSetupError CANNOT_USE_EXISTING_AND_NEW_ACCOUNT
Cannot specify both an existing payments account and a new payments account when setting up billing.
CANNOT_USE_EXISTING_AND_NEW_ACCOUNT = 2;
-
CANNOT_REMOVE_STARTED_BILLING_SETUP
public static final BillingSetupErrorEnum.BillingSetupError CANNOT_REMOVE_STARTED_BILLING_SETUP
Cannot cancel an approved billing setup whose start time has passed.
CANNOT_REMOVE_STARTED_BILLING_SETUP = 3;
-
CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT
public static final BillingSetupErrorEnum.BillingSetupError CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT
Cannot perform a Change of Bill-To (CBT) to the same payments account.
CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT = 4;
-
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS
public static final BillingSetupErrorEnum.BillingSetupError BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS
Billing setups can only be used by customers with ENABLED or DRAFT status.
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5;
-
INVALID_PAYMENTS_ACCOUNT
public static final BillingSetupErrorEnum.BillingSetupError INVALID_PAYMENTS_ACCOUNT
Billing setups must either include a correctly formatted existing payments account id, or a non-empty new payments account name.
INVALID_PAYMENTS_ACCOUNT = 6;
-
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY
public static final BillingSetupErrorEnum.BillingSetupError BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY
Only billable and third-party customers can create billing setups.
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7;
-
INVALID_START_TIME_TYPE
public static final BillingSetupErrorEnum.BillingSetupError INVALID_START_TIME_TYPE
Billing setup creations can only use NOW for start time type.
INVALID_START_TIME_TYPE = 8;
-
THIRD_PARTY_ALREADY_HAS_BILLING
public static final BillingSetupErrorEnum.BillingSetupError THIRD_PARTY_ALREADY_HAS_BILLING
Billing setups can only be created for a third-party customer if they do not already have a setup.
THIRD_PARTY_ALREADY_HAS_BILLING = 9;
-
BILLING_SETUP_IN_PROGRESS
public static final BillingSetupErrorEnum.BillingSetupError BILLING_SETUP_IN_PROGRESS
Billing setups cannot be created if there is already a pending billing in progress.
BILLING_SETUP_IN_PROGRESS = 10;
-
NO_SIGNUP_PERMISSION
public static final BillingSetupErrorEnum.BillingSetupError NO_SIGNUP_PERMISSION
Billing setups can only be created by customers who have permission to setup billings. Users can contact a representative for help setting up permissions.
NO_SIGNUP_PERMISSION = 11;
-
CHANGE_OF_BILL_TO_IN_PROGRESS
public static final BillingSetupErrorEnum.BillingSetupError CHANGE_OF_BILL_TO_IN_PROGRESS
Billing setups cannot be created if there is already a future-approved billing.
CHANGE_OF_BILL_TO_IN_PROGRESS = 12;
-
PAYMENTS_PROFILE_NOT_FOUND
public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_PROFILE_NOT_FOUND
Requested payments profile not found.
PAYMENTS_PROFILE_NOT_FOUND = 13;
-
PAYMENTS_ACCOUNT_NOT_FOUND
public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_ACCOUNT_NOT_FOUND
Requested payments account not found.
PAYMENTS_ACCOUNT_NOT_FOUND = 14;
-
PAYMENTS_PROFILE_INELIGIBLE
public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_PROFILE_INELIGIBLE
Billing setup creation failed because the payments profile is ineligible.
PAYMENTS_PROFILE_INELIGIBLE = 15;
-
PAYMENTS_ACCOUNT_INELIGIBLE
public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_ACCOUNT_INELIGIBLE
Billing setup creation failed because the payments account is ineligible.
PAYMENTS_ACCOUNT_INELIGIBLE = 16;
-
CUSTOMER_NEEDS_INTERNAL_APPROVAL
public static final BillingSetupErrorEnum.BillingSetupError CUSTOMER_NEEDS_INTERNAL_APPROVAL
Billing setup creation failed because the payments profile needs internal approval.
CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17;
-
PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH
public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH
Payments account has different currency code than the current customer and hence cannot be used to setup billing.
PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH = 19;
-
FUTURE_START_TIME_PROHIBITED
public static final BillingSetupErrorEnum.BillingSetupError FUTURE_START_TIME_PROHIBITED
A start time in the future cannot be used because there is currently no active billing setup for this customer.
FUTURE_START_TIME_PROHIBITED = 20;
-
UNRECOGNIZED
public static final BillingSetupErrorEnum.BillingSetupError UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Enum unspecified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The received error code is not known in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
CANNOT_USE_EXISTING_AND_NEW_ACCOUNT_VALUE
public static final int CANNOT_USE_EXISTING_AND_NEW_ACCOUNT_VALUE
Cannot specify both an existing payments account and a new payments account when setting up billing.
CANNOT_USE_EXISTING_AND_NEW_ACCOUNT = 2;- See Also:
- Constant Field Values
-
CANNOT_REMOVE_STARTED_BILLING_SETUP_VALUE
public static final int CANNOT_REMOVE_STARTED_BILLING_SETUP_VALUE
Cannot cancel an approved billing setup whose start time has passed.
CANNOT_REMOVE_STARTED_BILLING_SETUP = 3;- See Also:
- Constant Field Values
-
CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT_VALUE
public static final int CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT_VALUE
Cannot perform a Change of Bill-To (CBT) to the same payments account.
CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT = 4;- See Also:
- Constant Field Values
-
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS_VALUE
public static final int BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS_VALUE
Billing setups can only be used by customers with ENABLED or DRAFT status.
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5;- See Also:
- Constant Field Values
-
INVALID_PAYMENTS_ACCOUNT_VALUE
public static final int INVALID_PAYMENTS_ACCOUNT_VALUE
Billing setups must either include a correctly formatted existing payments account id, or a non-empty new payments account name.
INVALID_PAYMENTS_ACCOUNT = 6;- See Also:
- Constant Field Values
-
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY_VALUE
public static final int BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY_VALUE
Only billable and third-party customers can create billing setups.
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7;- See Also:
- Constant Field Values
-
INVALID_START_TIME_TYPE_VALUE
public static final int INVALID_START_TIME_TYPE_VALUE
Billing setup creations can only use NOW for start time type.
INVALID_START_TIME_TYPE = 8;- See Also:
- Constant Field Values
-
THIRD_PARTY_ALREADY_HAS_BILLING_VALUE
public static final int THIRD_PARTY_ALREADY_HAS_BILLING_VALUE
Billing setups can only be created for a third-party customer if they do not already have a setup.
THIRD_PARTY_ALREADY_HAS_BILLING = 9;- See Also:
- Constant Field Values
-
BILLING_SETUP_IN_PROGRESS_VALUE
public static final int BILLING_SETUP_IN_PROGRESS_VALUE
Billing setups cannot be created if there is already a pending billing in progress.
BILLING_SETUP_IN_PROGRESS = 10;- See Also:
- Constant Field Values
-
NO_SIGNUP_PERMISSION_VALUE
public static final int NO_SIGNUP_PERMISSION_VALUE
Billing setups can only be created by customers who have permission to setup billings. Users can contact a representative for help setting up permissions.
NO_SIGNUP_PERMISSION = 11;- See Also:
- Constant Field Values
-
CHANGE_OF_BILL_TO_IN_PROGRESS_VALUE
public static final int CHANGE_OF_BILL_TO_IN_PROGRESS_VALUE
Billing setups cannot be created if there is already a future-approved billing.
CHANGE_OF_BILL_TO_IN_PROGRESS = 12;- See Also:
- Constant Field Values
-
PAYMENTS_PROFILE_NOT_FOUND_VALUE
public static final int PAYMENTS_PROFILE_NOT_FOUND_VALUE
Requested payments profile not found.
PAYMENTS_PROFILE_NOT_FOUND = 13;- See Also:
- Constant Field Values
-
PAYMENTS_ACCOUNT_NOT_FOUND_VALUE
public static final int PAYMENTS_ACCOUNT_NOT_FOUND_VALUE
Requested payments account not found.
PAYMENTS_ACCOUNT_NOT_FOUND = 14;- See Also:
- Constant Field Values
-
PAYMENTS_PROFILE_INELIGIBLE_VALUE
public static final int PAYMENTS_PROFILE_INELIGIBLE_VALUE
Billing setup creation failed because the payments profile is ineligible.
PAYMENTS_PROFILE_INELIGIBLE = 15;- See Also:
- Constant Field Values
-
PAYMENTS_ACCOUNT_INELIGIBLE_VALUE
public static final int PAYMENTS_ACCOUNT_INELIGIBLE_VALUE
Billing setup creation failed because the payments account is ineligible.
PAYMENTS_ACCOUNT_INELIGIBLE = 16;- See Also:
- Constant Field Values
-
CUSTOMER_NEEDS_INTERNAL_APPROVAL_VALUE
public static final int CUSTOMER_NEEDS_INTERNAL_APPROVAL_VALUE
Billing setup creation failed because the payments profile needs internal approval.
CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17;- See Also:
- Constant Field Values
-
PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH_VALUE
public static final int PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH_VALUE
Payments account has different currency code than the current customer and hence cannot be used to setup billing.
PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH = 19;- See Also:
- Constant Field Values
-
FUTURE_START_TIME_PROHIBITED_VALUE
public static final int FUTURE_START_TIME_PROHIBITED_VALUE
A start time in the future cannot be used because there is currently no active billing setup for this customer.
FUTURE_START_TIME_PROHIBITED = 20;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static BillingSetupErrorEnum.BillingSetupError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BillingSetupErrorEnum.BillingSetupError c : BillingSetupErrorEnum.BillingSetupError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BillingSetupErrorEnum.BillingSetupError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static BillingSetupErrorEnum.BillingSetupError valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static BillingSetupErrorEnum.BillingSetupError forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<BillingSetupErrorEnum.BillingSetupError> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static BillingSetupErrorEnum.BillingSetupError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-