Class PayInvoiceRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20191001")
    public class PayInvoiceRequest
    extends BmcRequest<PayInvoiceDetails>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/ospgateway/PayInvoiceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use PayInvoiceRequest.

    • Constructor Detail

      • PayInvoiceRequest

        public PayInvoiceRequest()
    • Method Detail

      • getOspHomeRegion

        public String getOspHomeRegion()
        The home region’s public name of the logged in user.
      • getInternalInvoiceId

        public String getInternalInvoiceId()
        The identifier of the invoice.
      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment.
      • getPayInvoiceDetails

        public PayInvoiceDetails getPayInvoiceDetails()
        Invoice payment request.
      • getIfMatch

        public String getIfMatch()
        For optimistic concurrency control.

        In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.

      • getOpcRetryToken

        public String getOpcRetryToken()
        For requests that are not idempotent (creates being the main place of interest), THE APIs should take a header called opc-retry-token to identify the customer desire across requests, to introduce some level of idempotency.
      • getOpcRequestId

        public String getOpcRequestId()
        The unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

      • builder

        public static PayInvoiceRequest.Builder builder()
        Return a new builder for this request object.
        Returns:
        builder for the request object
      • equals

        public boolean equals​(Object o)
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class BmcRequest<PayInvoiceDetails>