Compartilhar via


BillingAccountResource.ValidatePaymentTerms Method

Definition

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 Azure.Response<Azure.ResourceManager.Billing.Models.PaymentTermsEligibilityResult> ValidatePaymentTerms (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPaymentTerm> arrayOfPaymentTerm, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidatePaymentTerms : seq<Azure.ResourceManager.Billing.Models.BillingPaymentTerm> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.Models.PaymentTermsEligibilityResult>
override this.ValidatePaymentTerms : seq<Azure.ResourceManager.Billing.Models.BillingPaymentTerm> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.Models.PaymentTermsEligibilityResult>
Public Overridable Function ValidatePaymentTerms (arrayOfPaymentTerm As IEnumerable(Of BillingPaymentTerm), Optional cancellationToken As CancellationToken = Nothing) As Response(Of PaymentTermsEligibilityResult)

Parameters

arrayOfPaymentTerm
IEnumerable<BillingPaymentTerm>

The properties of payment term.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

arrayOfPaymentTerm is null.

Applies to