Example #1
0
 /// <summary>Snippet for GetAccountLink</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAccountLink()
 {
     // Create client
     AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER]/accountLinks/[ACCOUNT_LINK]";
     // Make the request
     AccountLink response = accountLinkServiceClient.GetAccountLink(resourceName);
 }
 /// <summary>Snippet for GetAccountLink</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAccountLinkResourceNames()
 {
     // Create client
     AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create();
     // Initialize request argument(s)
     AccountLinkName resourceName = AccountLinkName.FromCustomerAccountLink("[CUSTOMER_ID]", "[ACCOUNT_LINK_ID]");
     // Make the request
     AccountLink response = accountLinkServiceClient.GetAccountLink(resourceName);
 }
Example #3
0
 /// <summary>Snippet for GetAccountLink</summary>
 public void GetAccountLinkResourceNames()
 {
     // Snippet: GetAccountLink(AccountLinkName, CallSettings)
     // Create client
     AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create();
     // Initialize request argument(s)
     AccountLinkName resourceName = AccountLinkName.FromCustomerAccountLink("[CUSTOMER]", "[ACCOUNT_LINK]");
     // Make the request
     AccountLink response = accountLinkServiceClient.GetAccountLink(resourceName);
     // End snippet
 }
 /// <summary>Snippet for GetAccountLink</summary>
 public void GetAccountLink()
 {
     // Snippet: GetAccountLink(string, CallSettings)
     // Create client
     AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/accountLinks/[ACCOUNT_LINK_ID]";
     // Make the request
     AccountLink response = accountLinkServiceClient.GetAccountLink(resourceName);
     // End snippet
 }
Example #5
0
 /// <summary>Snippet for GetAccountLink</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAccountLinkRequestObject()
 {
     // Create client
     AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create();
     // Initialize request argument(s)
     GetAccountLinkRequest request = new GetAccountLinkRequest
     {
         ResourceNameAsAccountLinkName = AccountLinkName.FromCustomerAccountLink("[CUSTOMER]", "[ACCOUNT_LINK]"),
     };
     // Make the request
     AccountLink response = accountLinkServiceClient.GetAccountLink(request);
 }