BillingAccountResource.ValidatePaymentTermsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates payment terms on a billing account with agreement type 'Microsoft Customer Agreement' and account type 'Enterprise'.
- Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/validatePaymentTerms
- Operation Id: BillingAccounts_ValidatePaymentTerms
- Default Api Version: 2024-04-01
- Resource: BillingAccountResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.Models.PaymentTermsEligibilityResult>> ValidatePaymentTermsAsync (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPaymentTerm> arrayOfPaymentTerm, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidatePaymentTermsAsync : seq<Azure.ResourceManager.Billing.Models.BillingPaymentTerm> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.Models.PaymentTermsEligibilityResult>>
override this.ValidatePaymentTermsAsync : seq<Azure.ResourceManager.Billing.Models.BillingPaymentTerm> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.Models.PaymentTermsEligibilityResult>>
Public Overridable Function ValidatePaymentTermsAsync (arrayOfPaymentTerm As IEnumerable(Of BillingPaymentTerm), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PaymentTermsEligibilityResult))
Parameters
- arrayOfPaymentTerm
- IEnumerable<BillingPaymentTerm>
The properties of payment term.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
arrayOfPaymentTerm
is null.