Class RedactionJobService

java.lang.Object
com.stripe.net.ApiService
com.stripe.service.privacy.RedactionJobService

public final class RedactionJobService extends ApiService
  • Constructor Details

  • Method Details

    • list

      Returns a list of redaction jobs.
      Throws:
      StripeException
    • list

      Returns a list of redaction jobs.
      Throws:
      StripeException
    • list

      Returns a list of redaction jobs.
      Throws:
      StripeException
    • list

      Returns a list of redaction jobs.
      Throws:
      StripeException
    • create

      public RedactionJob create(RedactionJobCreateParams params) throws StripeException
      Creates a redaction job. When a job is created, it will start to validate.
      Throws:
      StripeException
    • create

      public RedactionJob create(RedactionJobCreateParams params, RequestOptions options) throws StripeException
      Creates a redaction job. When a job is created, it will start to validate.
      Throws:
      StripeException
    • retrieve

      public RedactionJob retrieve(String job, RedactionJobRetrieveParams params) throws StripeException
      Retrieves the details of a previously created redaction job.
      Throws:
      StripeException
    • retrieve

      public RedactionJob retrieve(String job, RequestOptions options) throws StripeException
      Retrieves the details of a previously created redaction job.
      Throws:
      StripeException
    • retrieve

      public RedactionJob retrieve(String job) throws StripeException
      Retrieves the details of a previously created redaction job.
      Throws:
      StripeException
    • retrieve

      public RedactionJob retrieve(String job, RedactionJobRetrieveParams params, RequestOptions options) throws StripeException
      Retrieves the details of a previously created redaction job.
      Throws:
      StripeException
    • update

      public RedactionJob update(String job, RedactionJobUpdateParams params) throws StripeException
      Updates the properties of a redaction job without running or canceling the job.

      If the job to update is in a failed status, it will not automatically start to validate. Once you applied all of the changes, use the validate API to start validation again.

      Throws:
      StripeException
    • update

      public RedactionJob update(String job, RequestOptions options) throws StripeException
      Updates the properties of a redaction job without running or canceling the job.

      If the job to update is in a failed status, it will not automatically start to validate. Once you applied all of the changes, use the validate API to start validation again.

      Throws:
      StripeException
    • update

      public RedactionJob update(String job) throws StripeException
      Updates the properties of a redaction job without running or canceling the job.

      If the job to update is in a failed status, it will not automatically start to validate. Once you applied all of the changes, use the validate API to start validation again.

      Throws:
      StripeException
    • update

      public RedactionJob update(String job, RedactionJobUpdateParams params, RequestOptions options) throws StripeException
      Updates the properties of a redaction job without running or canceling the job.

      If the job to update is in a failed status, it will not automatically start to validate. Once you applied all of the changes, use the validate API to start validation again.

      Throws:
      StripeException
    • cancel

      public RedactionJob cancel(String job, RedactionJobCancelParams params) throws StripeException
      You can cancel a redaction job when it’s in one of these statuses: ready, failed.

      Canceling the redaction job will abandon its attempt to redact the configured objects. A canceled job cannot be used again.

      Throws:
      StripeException
    • cancel

      public RedactionJob cancel(String job, RequestOptions options) throws StripeException
      You can cancel a redaction job when it’s in one of these statuses: ready, failed.

      Canceling the redaction job will abandon its attempt to redact the configured objects. A canceled job cannot be used again.

      Throws:
      StripeException
    • cancel

      public RedactionJob cancel(String job) throws StripeException
      You can cancel a redaction job when it’s in one of these statuses: ready, failed.

      Canceling the redaction job will abandon its attempt to redact the configured objects. A canceled job cannot be used again.

      Throws:
      StripeException
    • cancel

      public RedactionJob cancel(String job, RedactionJobCancelParams params, RequestOptions options) throws StripeException
      You can cancel a redaction job when it’s in one of these statuses: ready, failed.

      Canceling the redaction job will abandon its attempt to redact the configured objects. A canceled job cannot be used again.

      Throws:
      StripeException
    • run

      public RedactionJob run(String job, RedactionJobRunParams params) throws StripeException
      Run a redaction job in a ready status.

      When you run a job, the configured objects will be redacted asynchronously. This action is irreversible and cannot be canceled once started.

      The status of the job will move to redacting. Once all of the objects are redacted, the status will become succeeded. If the job’s validation_behavior is set to fix, the automatic fixes will be applied to objects at this step.

      Throws:
      StripeException
    • run

      public RedactionJob run(String job, RequestOptions options) throws StripeException
      Run a redaction job in a ready status.

      When you run a job, the configured objects will be redacted asynchronously. This action is irreversible and cannot be canceled once started.

      The status of the job will move to redacting. Once all of the objects are redacted, the status will become succeeded. If the job’s validation_behavior is set to fix, the automatic fixes will be applied to objects at this step.

      Throws:
      StripeException
    • run

      public RedactionJob run(String job) throws StripeException
      Run a redaction job in a ready status.

      When you run a job, the configured objects will be redacted asynchronously. This action is irreversible and cannot be canceled once started.

      The status of the job will move to redacting. Once all of the objects are redacted, the status will become succeeded. If the job’s validation_behavior is set to fix, the automatic fixes will be applied to objects at this step.

      Throws:
      StripeException
    • run

      public RedactionJob run(String job, RedactionJobRunParams params, RequestOptions options) throws StripeException
      Run a redaction job in a ready status.

      When you run a job, the configured objects will be redacted asynchronously. This action is irreversible and cannot be canceled once started.

      The status of the job will move to redacting. Once all of the objects are redacted, the status will become succeeded. If the job’s validation_behavior is set to fix, the automatic fixes will be applied to objects at this step.

      Throws:
      StripeException
    • validate

      public RedactionJob validate(String job, RedactionJobValidateParams params) throws StripeException
      Validate a redaction job when it is in a failed status.

      When a job is created, it automatically begins to validate on the configured objects’ eligibility for redaction. Use this to validate the job again after its validation errors are resolved or the job’s validation_behavior is changed.

      The status of the job will move to validating. Once all of the objects are validated, the status of the job will become ready. If there are any validation errors preventing the job from running, the status will become failed.

      Throws:
      StripeException
    • validate

      public RedactionJob validate(String job, RequestOptions options) throws StripeException
      Validate a redaction job when it is in a failed status.

      When a job is created, it automatically begins to validate on the configured objects’ eligibility for redaction. Use this to validate the job again after its validation errors are resolved or the job’s validation_behavior is changed.

      The status of the job will move to validating. Once all of the objects are validated, the status of the job will become ready. If there are any validation errors preventing the job from running, the status will become failed.

      Throws:
      StripeException
    • validate

      public RedactionJob validate(String job) throws StripeException
      Validate a redaction job when it is in a failed status.

      When a job is created, it automatically begins to validate on the configured objects’ eligibility for redaction. Use this to validate the job again after its validation errors are resolved or the job’s validation_behavior is changed.

      The status of the job will move to validating. Once all of the objects are validated, the status of the job will become ready. If there are any validation errors preventing the job from running, the status will become failed.

      Throws:
      StripeException
    • validate

      public RedactionJob validate(String job, RedactionJobValidateParams params, RequestOptions options) throws StripeException
      Validate a redaction job when it is in a failed status.

      When a job is created, it automatically begins to validate on the configured objects’ eligibility for redaction. Use this to validate the job again after its validation errors are resolved or the job’s validation_behavior is changed.

      The status of the job will move to validating. Once all of the objects are validated, the status of the job will become ready. If there are any validation errors preventing the job from running, the status will become failed.

      Throws:
      StripeException
    • validationErrors

      public RedactionJobValidationErrorService validationErrors()