azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.b...

273 строки
23 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.billing.models.PaymentMethods"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods"
name: "PaymentMethods"
nameWithType: "PaymentMethods"
summary: "Resource collection API of Payment<wbr>Methods."
syntax: "public interface **PaymentMethods**"
methods:
- uid: "com.azure.resourcemanager.billing.models.PaymentMethods.deleteByUser(java.lang.String)"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods.deleteByUser(String paymentMethodName)"
name: "deleteByUser(String paymentMethodName)"
nameWithType: "PaymentMethods.deleteByUser(String paymentMethodName)"
summary: "Deletes a payment method owned by the caller."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a payment method."
name: "paymentMethodName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract void deleteByUser(String paymentMethodName)"
desc: "Deletes a payment method owned by the caller."
- uid: "com.azure.resourcemanager.billing.models.PaymentMethods.deleteByUserWithResponse(java.lang.String,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods.deleteByUserWithResponse(String paymentMethodName, Context context)"
name: "deleteByUserWithResponse(String paymentMethodName, Context context)"
nameWithType: "PaymentMethods.deleteByUserWithResponse(String paymentMethodName, Context context)"
summary: "Deletes a payment method owned by the caller."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a payment method."
name: "paymentMethodName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Response<Void> deleteByUserWithResponse(String paymentMethodName, Context context)"
desc: "Deletes a payment method owned by the caller."
returns:
description: "the <xref uid=\"com.azure.core.http.rest.Response\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Response\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>&gt;"
- uid: "com.azure.resourcemanager.billing.models.PaymentMethods.getByBillingAccount(java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods.getByBillingAccount(String billingAccountName, String paymentMethodName)"
name: "getByBillingAccount(String billingAccountName, String paymentMethodName)"
nameWithType: "PaymentMethods.getByBillingAccount(String billingAccountName, String paymentMethodName)"
summary: "Gets a payment method available for a billing account."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a billing account."
name: "billingAccountName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The ID that uniquely identifies a payment method."
name: "paymentMethodName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract PaymentMethod getByBillingAccount(String billingAccountName, String paymentMethodName)"
desc: "Gets a payment method available for a billing account. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement."
returns:
description: "a payment method available for a billing account."
type: "<xref href=\"com.azure.resourcemanager.billing.models.PaymentMethod?alt=com.azure.resourcemanager.billing.models.PaymentMethod&text=PaymentMethod\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.billing.models.PaymentMethods.getByBillingAccountWithResponse(java.lang.String,java.lang.String,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods.getByBillingAccountWithResponse(String billingAccountName, String paymentMethodName, Context context)"
name: "getByBillingAccountWithResponse(String billingAccountName, String paymentMethodName, Context context)"
nameWithType: "PaymentMethods.getByBillingAccountWithResponse(String billingAccountName, String paymentMethodName, Context context)"
summary: "Gets a payment method available for a billing account."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a billing account."
name: "billingAccountName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The ID that uniquely identifies a payment method."
name: "paymentMethodName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Response<PaymentMethod> getByBillingAccountWithResponse(String billingAccountName, String paymentMethodName, Context context)"
desc: "Gets a payment method available for a billing account. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement."
returns:
description: "a payment method available for a billing account along with <xref uid=\"com.azure.core.http.rest.Response\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Response\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.billing.models.PaymentMethod?alt=com.azure.resourcemanager.billing.models.PaymentMethod&text=PaymentMethod\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.billing.models.PaymentMethods.getByBillingProfile(java.lang.String,java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods.getByBillingProfile(String billingAccountName, String billingProfileName, String paymentMethodName)"
name: "getByBillingProfile(String billingAccountName, String billingProfileName, String paymentMethodName)"
nameWithType: "PaymentMethods.getByBillingProfile(String billingAccountName, String billingProfileName, String paymentMethodName)"
summary: "Gets a payment method linked with a billing profile."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a billing account."
name: "billingAccountName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The ID that uniquely identifies a billing profile."
name: "billingProfileName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The ID that uniquely identifies a payment method."
name: "paymentMethodName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract PaymentMethodLink getByBillingProfile(String billingAccountName, String billingProfileName, String paymentMethodName)"
desc: "Gets a payment method linked with a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement."
returns:
description: "a payment method linked with a billing profile."
type: "<xref href=\"com.azure.resourcemanager.billing.models.PaymentMethodLink?alt=com.azure.resourcemanager.billing.models.PaymentMethodLink&text=PaymentMethodLink\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.billing.models.PaymentMethods.getByBillingProfileWithResponse(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods.getByBillingProfileWithResponse(String billingAccountName, String billingProfileName, String paymentMethodName, Context context)"
name: "getByBillingProfileWithResponse(String billingAccountName, String billingProfileName, String paymentMethodName, Context context)"
nameWithType: "PaymentMethods.getByBillingProfileWithResponse(String billingAccountName, String billingProfileName, String paymentMethodName, Context context)"
summary: "Gets a payment method linked with a billing profile."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a billing account."
name: "billingAccountName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The ID that uniquely identifies a billing profile."
name: "billingProfileName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The ID that uniquely identifies a payment method."
name: "paymentMethodName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Response<PaymentMethodLink> getByBillingProfileWithResponse(String billingAccountName, String billingProfileName, String paymentMethodName, Context context)"
desc: "Gets a payment method linked with a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement."
returns:
description: "a payment method linked with a billing profile along with <xref uid=\"com.azure.core.http.rest.Response\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Response\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.billing.models.PaymentMethodLink?alt=com.azure.resourcemanager.billing.models.PaymentMethodLink&text=PaymentMethodLink\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.billing.models.PaymentMethods.getByUser(java.lang.String)"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods.getByUser(String paymentMethodName)"
name: "getByUser(String paymentMethodName)"
nameWithType: "PaymentMethods.getByUser(String paymentMethodName)"
summary: "Gets a payment method owned by the caller."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a payment method."
name: "paymentMethodName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract PaymentMethod getByUser(String paymentMethodName)"
desc: "Gets a payment method owned by the caller."
returns:
description: "a payment method owned by the caller."
type: "<xref href=\"com.azure.resourcemanager.billing.models.PaymentMethod?alt=com.azure.resourcemanager.billing.models.PaymentMethod&text=PaymentMethod\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.billing.models.PaymentMethods.getByUserWithResponse(java.lang.String,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods.getByUserWithResponse(String paymentMethodName, Context context)"
name: "getByUserWithResponse(String paymentMethodName, Context context)"
nameWithType: "PaymentMethods.getByUserWithResponse(String paymentMethodName, Context context)"
summary: "Gets a payment method owned by the caller."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a payment method."
name: "paymentMethodName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Response<PaymentMethod> getByUserWithResponse(String paymentMethodName, Context context)"
desc: "Gets a payment method owned by the caller."
returns:
description: "a payment method owned by the caller along with <xref uid=\"com.azure.core.http.rest.Response\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Response\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.billing.models.PaymentMethod?alt=com.azure.resourcemanager.billing.models.PaymentMethod&text=PaymentMethod\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.billing.models.PaymentMethods.listByBillingAccount(java.lang.String)"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods.listByBillingAccount(String billingAccountName)"
name: "listByBillingAccount(String billingAccountName)"
nameWithType: "PaymentMethods.listByBillingAccount(String billingAccountName)"
summary: "Lists the payment methods available for a billing account."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a billing account."
name: "billingAccountName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract PagedIterable<PaymentMethod> listByBillingAccount(String billingAccountName)"
desc: "Lists the payment methods available for a billing account. Along with the payment methods owned by the caller, these payment methods can be attached to a billing profile to make payments. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement."
returns:
description: "the list of payment methods as paginated response with <xref uid=\"com.azure.core.http.rest.PagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PagedIterable\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.billing.models.PaymentMethod?alt=com.azure.resourcemanager.billing.models.PaymentMethod&text=PaymentMethod\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.billing.models.PaymentMethods.listByBillingAccount(java.lang.String,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods.listByBillingAccount(String billingAccountName, Context context)"
name: "listByBillingAccount(String billingAccountName, Context context)"
nameWithType: "PaymentMethods.listByBillingAccount(String billingAccountName, Context context)"
summary: "Lists the payment methods available for a billing account."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a billing account."
name: "billingAccountName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract PagedIterable<PaymentMethod> listByBillingAccount(String billingAccountName, Context context)"
desc: "Lists the payment methods available for a billing account. Along with the payment methods owned by the caller, these payment methods can be attached to a billing profile to make payments. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement."
returns:
description: "the list of payment methods as paginated response with <xref uid=\"com.azure.core.http.rest.PagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PagedIterable\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.billing.models.PaymentMethod?alt=com.azure.resourcemanager.billing.models.PaymentMethod&text=PaymentMethod\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.billing.models.PaymentMethods.listByBillingProfile(java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods.listByBillingProfile(String billingAccountName, String billingProfileName)"
name: "listByBillingProfile(String billingAccountName, String billingProfileName)"
nameWithType: "PaymentMethods.listByBillingProfile(String billingAccountName, String billingProfileName)"
summary: "Lists payment methods attached to a billing profile."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a billing account."
name: "billingAccountName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The ID that uniquely identifies a billing profile."
name: "billingProfileName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract PagedIterable<PaymentMethodLink> listByBillingProfile(String billingAccountName, String billingProfileName)"
desc: "Lists payment methods attached to a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement."
returns:
description: "the list of payment method links as paginated response with <xref uid=\"com.azure.core.http.rest.PagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PagedIterable\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.billing.models.PaymentMethodLink?alt=com.azure.resourcemanager.billing.models.PaymentMethodLink&text=PaymentMethodLink\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.billing.models.PaymentMethods.listByBillingProfile(java.lang.String,java.lang.String,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods.listByBillingProfile(String billingAccountName, String billingProfileName, Context context)"
name: "listByBillingProfile(String billingAccountName, String billingProfileName, Context context)"
nameWithType: "PaymentMethods.listByBillingProfile(String billingAccountName, String billingProfileName, Context context)"
summary: "Lists payment methods attached to a billing profile."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a billing account."
name: "billingAccountName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The ID that uniquely identifies a billing profile."
name: "billingProfileName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract PagedIterable<PaymentMethodLink> listByBillingProfile(String billingAccountName, String billingProfileName, Context context)"
desc: "Lists payment methods attached to a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement."
returns:
description: "the list of payment method links as paginated response with <xref uid=\"com.azure.core.http.rest.PagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PagedIterable\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.billing.models.PaymentMethodLink?alt=com.azure.resourcemanager.billing.models.PaymentMethodLink&text=PaymentMethodLink\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.billing.models.PaymentMethods.listByUser()"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods.listByUser()"
name: "listByUser()"
nameWithType: "PaymentMethods.listByUser()"
summary: "Lists the payment methods owned by the caller."
modifiers:
- "abstract"
syntax: "public abstract PagedIterable<PaymentMethod> listByUser()"
desc: "Lists the payment methods owned by the caller."
returns:
description: "the list of payment methods as paginated response with <xref uid=\"com.azure.core.http.rest.PagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PagedIterable\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.billing.models.PaymentMethod?alt=com.azure.resourcemanager.billing.models.PaymentMethod&text=PaymentMethod\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.billing.models.PaymentMethods.listByUser(com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.billing.models.PaymentMethods.listByUser(Context context)"
name: "listByUser(Context context)"
nameWithType: "PaymentMethods.listByUser(Context context)"
summary: "Lists the payment methods owned by the caller."
modifiers:
- "abstract"
parameters:
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract PagedIterable<PaymentMethod> listByUser(Context context)"
desc: "Lists the payment methods owned by the caller."
returns:
description: "the list of payment methods as paginated response with <xref uid=\"com.azure.core.http.rest.PagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PagedIterable\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.billing.models.PaymentMethod?alt=com.azure.resourcemanager.billing.models.PaymentMethod&text=PaymentMethod\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "interface"
desc: "Resource collection API of PaymentMethods."
metadata: {}
package: "com.azure.resourcemanager.billing.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-billing:1.0.0