/** * * * OpenAPI spec version: 20191001 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; import common = require("oci-common"); /** * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ospgateway/AuthorizeSubscriptionPayment.ts.html |here} to see how to use AuthorizeSubscriptionPaymentRequest. */ export interface AuthorizeSubscriptionPaymentRequest extends common.BaseRequest { /** * The home region's public name of the logged in user. * */ "ospHomeRegion": string; /** * Subscription id(OCID). */ "subscriptionId": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. * */ "compartmentId": string; /** * subscription payment request. */ "authorizeSubscriptionPaymentDetails": model.AuthorizeSubscriptionPaymentDetails; /** * For optimistic concurrency control. In the PUT or DELETE call * for a resource, set the {@code 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. * */ "ifMatch"?: string; /** * 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. * */ "opcRetryToken"?: string; /** * The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a * particular request, please provide the request ID. * */ "opcRequestId"?: string; }