/// <summary>
 /// Creates the specified CustomerPayment using POST.
 /// </summary>
 /// <param name="customerPaymentToCreate">The CustomerPayment to create.</param>
 /// <returns>The created CustomerPayment.</returns>
 public System.Threading.Tasks.Task <CustomerPayment> CreateAsync(CustomerPayment customerPaymentToCreate)
 {
     return(this.CreateAsync(customerPaymentToCreate, CancellationToken.None));
 }
 /// <summary>
 /// Adds the specified CustomerPayment to the collection via POST.
 /// </summary>
 /// <param name="customerPayment">The CustomerPayment to add.</param>
 /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
 /// <returns>The created CustomerPayment.</returns>
 public System.Threading.Tasks.Task <CustomerPayment> AddAsync(CustomerPayment customerPayment, CancellationToken cancellationToken)
 {
     this.ContentType = "application/json";
     this.Method      = "POST";
     return(this.SendAsync <CustomerPayment>(customerPayment, cancellationToken));
 }
 /// <summary>
 /// Initializes any collection properties after deserialization, like next requests for paging.
 /// </summary>
 /// <param name="customerPaymentToInitialize">The <see cref="CustomerPayment"/> with the collection properties to initialize.</param>
 private void InitializeCollectionProperties(CustomerPayment customerPaymentToInitialize)
 {
 }
 /// <summary>
 /// Adds the specified CustomerPayment to the collection via POST.
 /// </summary>
 /// <param name="customerPayment">The CustomerPayment to add.</param>
 /// <returns>The created CustomerPayment.</returns>
 public System.Threading.Tasks.Task <CustomerPayment> AddAsync(CustomerPayment customerPayment)
 {
     return(this.AddAsync(customerPayment, CancellationToken.None));
 }