Share via


Update-MgBetaFinancialCompanyPaymentMethod

Update the navigation property paymentMethods in financials

Syntax

Update-MgBetaFinancialCompanyPaymentMethod
      -CompanyId <String>
      -PaymentMethodId <String>
      [-ResponseHeadersVariable <String>]
      [-AdditionalProperties <Hashtable>]
      [-Code <String>]
      [-DisplayName <String>]
      [-Id <String>]
      [-LastModifiedDateTime <DateTime>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-MgBetaFinancialCompanyPaymentMethod
      -CompanyId <String>
      -PaymentMethodId <String>
      -BodyParameter <IMicrosoftGraphPaymentMethod>
      [-ResponseHeadersVariable <String>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-MgBetaFinancialCompanyPaymentMethod
      -InputObject <IFinancialsIdentity>
      [-ResponseHeadersVariable <String>]
      [-AdditionalProperties <Hashtable>]
      [-Code <String>]
      [-DisplayName <String>]
      [-Id <String>]
      [-LastModifiedDateTime <DateTime>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-MgBetaFinancialCompanyPaymentMethod
      -InputObject <IFinancialsIdentity>
      -BodyParameter <IMicrosoftGraphPaymentMethod>
      [-ResponseHeadersVariable <String>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Update the navigation property paymentMethods in financials

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Financials.ReadWrite.All,
Delegated (personal Microsoft account) Not supported
Application Financials.ReadWrite.All,

Parameters

-AdditionalProperties

Additional Parameters

Type:Hashtable
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BodyParameter

paymentMethod To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Type:IMicrosoftGraphPaymentMethod
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Code

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CompanyId

The unique identifier of company

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisplayName

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Headers

Optional headers that will be added to the request.

Type:IDictionary
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Id

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:IFinancialsIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-LastModifiedDateTime

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PaymentMethodId

The unique identifier of paymentMethod

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ProgressAction

{{ Fill ProgressAction Description }}

Type:ActionPreference
Aliases:proga
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Type:String
Aliases:RHV
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Graph.Beta.PowerShell.Models.IFinancialsIdentity

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphPaymentMethod

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphPaymentMethod

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

BODYPARAMETER <IMicrosoftGraphPaymentMethod>: paymentMethod

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Code <String>]:
  • [DisplayName <String>]:
  • [Id <String>]:
  • [LastModifiedDateTime <DateTime?>]:

INPUTOBJECT <IFinancialsIdentity>: Identity Parameter

  • [AccountId <String>]: The unique identifier of account
  • [AgedAccountsPayableId <String>]: The unique identifier of agedAccountsPayable
  • [AgedAccountsReceivableId <String>]: The unique identifier of agedAccountsReceivable
  • [CompanyId <String>]: The unique identifier of company
  • [CompanyInformationId <String>]: The unique identifier of companyInformation
  • [CountryRegionId <String>]: The unique identifier of countryRegion
  • [CurrencyId <String>]: The unique identifier of currency
  • [CustomerId <String>]: The unique identifier of customer
  • [CustomerPaymentId <String>]: The unique identifier of customerPayment
  • [CustomerPaymentJournalId <String>]: The unique identifier of customerPaymentJournal
  • [DimensionId <String>]: The unique identifier of dimension
  • [DimensionValueId <String>]: The unique identifier of dimensionValue
  • [EmployeeId <String>]: The unique identifier of employee
  • [GeneralLedgerEntryId <String>]: The unique identifier of generalLedgerEntry
  • [ItemCategoryId <String>]: The unique identifier of itemCategory
  • [ItemId <String>]: The unique identifier of item
  • [JournalId <String>]: The unique identifier of journal
  • [JournalLineId <String>]: The unique identifier of journalLine
  • [PaymentMethodId <String>]: The unique identifier of paymentMethod
  • [PaymentTermId <String>]: The unique identifier of paymentTerm
  • [PictureId <String>]: The unique identifier of picture
  • [PurchaseInvoiceId <String>]: The unique identifier of purchaseInvoice
  • [PurchaseInvoiceLineId <String>]: The unique identifier of purchaseInvoiceLine
  • [SalesCreditMemoId <String>]: The unique identifier of salesCreditMemo
  • [SalesCreditMemoLineId <String>]: The unique identifier of salesCreditMemoLine
  • [SalesInvoiceId <String>]: The unique identifier of salesInvoice
  • [SalesInvoiceLineId <String>]: The unique identifier of salesInvoiceLine
  • [SalesOrderId <String>]: The unique identifier of salesOrder
  • [SalesOrderLineId <String>]: The unique identifier of salesOrderLine
  • [SalesQuoteId <String>]: The unique identifier of salesQuote
  • [SalesQuoteLineId <String>]: The unique identifier of salesQuoteLine
  • [ShipmentMethodId <String>]: The unique identifier of shipmentMethod
  • [TaxAreaId <String>]: The unique identifier of taxArea
  • [TaxGroupId <String>]: The unique identifier of taxGroup
  • [UnitOfMeasureId <String>]: The unique identifier of unitOfMeasure
  • [VendorId <String>]: The unique identifier of vendor