Ejemplo n.º 1
0
        /// <summary>Snippet for CreateAccountLinkAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task CreateAccountLinkAsync()
        {
            // Create client
            AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync();

            // Initialize request argument(s)
            string      customerId  = "";
            AccountLink accountLink = new AccountLink();
            // Make the request
            CreateAccountLinkResponse response = await accountLinkServiceClient.CreateAccountLinkAsync(customerId, accountLink);
        }
Ejemplo n.º 2
0
        /// <summary>Snippet for CreateAccountLinkAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task CreateAccountLinkRequestObjectAsync()
        {
            // Create client
            AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync();

            // Initialize request argument(s)
            CreateAccountLinkRequest request = new CreateAccountLinkRequest
            {
                CustomerId  = "",
                AccountLink = new AccountLink(),
            };
            // Make the request
            CreateAccountLinkResponse response = await accountLinkServiceClient.CreateAccountLinkAsync(request);
        }
        /// <summary>Snippet for CreateAccountLinkAsync</summary>
        public async Task CreateAccountLinkAsync()
        {
            // Snippet: CreateAccountLinkAsync(string, AccountLink, CallSettings)
            // Additional: CreateAccountLinkAsync(string, AccountLink, CancellationToken)
            // Create client
            AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync();

            // Initialize request argument(s)
            string      customerId  = "";
            AccountLink accountLink = new AccountLink();
            // Make the request
            CreateAccountLinkResponse response = await accountLinkServiceClient.CreateAccountLinkAsync(customerId, accountLink);

            // End snippet
        }
        /// <summary>Snippet for CreateAccountLinkAsync</summary>
        public async Task CreateAccountLinkRequestObjectAsync()
        {
            // Snippet: CreateAccountLinkAsync(CreateAccountLinkRequest, CallSettings)
            // Additional: CreateAccountLinkAsync(CreateAccountLinkRequest, CancellationToken)
            // Create client
            AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync();

            // Initialize request argument(s)
            CreateAccountLinkRequest request = new CreateAccountLinkRequest
            {
                CustomerId  = "",
                AccountLink = new AccountLink(),
            };
            // Make the request
            CreateAccountLinkResponse response = await accountLinkServiceClient.CreateAccountLinkAsync(request);

            // End snippet
        }