Enum DefaultPaymentManagementAccessRestrictions

    • Enum Constant Detail

      • CUSTOMER_MUTABILITY_BLOCKED

        public static final DefaultPaymentManagementAccessRestrictions CUSTOMER_MUTABILITY_BLOCKED
        Represents a payment which cannot currently be mutated by the customer. This can be set anytime the customer should not be able to update a payment (i.e. the payment for a submitted order).
      • CSR_OWNED

        public static final DefaultPaymentManagementAccessRestrictions CSR_OWNED
        Represents a payment which is being managed by a CSR for the customer. An payment in this status is not visible to the customer. This payment was either created by a CSR or cloned from an existing customer's payment, and can be transferred back to the customer.
      • TEST_USER_OWNED

        public static final DefaultPaymentManagementAccessRestrictions TEST_USER_OWNED
        Represents a payment which is being managed by an admin in preview mode. This cannot be used during checkout submission.
    • Method Detail

      • values

        public static DefaultPaymentManagementAccessRestrictions[] 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 (DefaultPaymentManagementAccessRestrictions c : DefaultPaymentManagementAccessRestrictions.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DefaultPaymentManagementAccessRestrictions valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isCustomerMutabilityBlocked

        public static boolean isCustomerMutabilityBlocked​(String paymentManagementStatus)
      • isCsrOwned

        public static boolean isCsrOwned​(String paymentManagementStatus)
      • isTest

        public static boolean isTest​(String paymentManagementStatus)