Table of Contents

Struct UpdateSubAccountRequest

Namespace
Vonage.SubAccounts.UpdateSubAccount
Assembly
Vonage.dll

Represents a request to update the properties of an existing subaccount.

public readonly struct UpdateSubAccountRequest : IVonageRequest
Implements
Inherited Members

Properties

Name

The new name for the subaccount; limited to 80 characters.

public Maybe<string> Name { get; }

Property Value

Maybe<string>

SubAccountKey

The unique API key of the subaccount to update.

public string SubAccountKey { get; }

Property Value

string

Suspended

Indicates whether the subaccount should be suspended.

public Maybe<bool> Suspended { get; }

Property Value

Maybe<bool>

UsePrimaryAccountBalance

Indicates whether the subaccount shares the primary account's balance.

public Maybe<bool> UsePrimaryAccountBalance { get; }

Property Value

Maybe<bool>

Methods

Build()

Initializes a builder for creating an UpdateSubAccountRequest.

public static IBuilderForSubAccountKey Build()

Returns

IBuilderForSubAccountKey

The builder to configure the subaccount update.

BuildRequestMessage()

Converts the request to a HttpRequest.

public HttpRequestMessage BuildRequestMessage()

Returns

HttpRequestMessage

The Http request.