Ejemplo n.º 1
0
 /// <summary>
 /// Update payment file record
 /// </summary>
 /// <remarks>
 /// Updates the payment file record with the specified ID.
 /// </remarks>
 public Task UpdatePaymentFileRecordAsync(int businessId, int id, SgGiroBankModel model, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync($"/business/{businessId}/paymentfiles/{id}", model, Method.PUT, cancellationToken));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create new payment file record
 /// </summary>
 /// <remarks>
 /// Creates a new payment file record for the business.
 /// </remarks>
 public Task CreateNewPaymentFileRecordAsync(int businessId, SgGiroBankModel model, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync($"/business/{businessId}/paymentfiles", model, Method.POST, cancellationToken));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Update payment file record
 /// </summary>
 /// <remarks>
 /// Updates the payment file record with the specified ID.
 /// </remarks>
 public void UpdatePaymentFileRecord(int businessId, int id, SgGiroBankModel model)
 {
     ApiRequest($"/business/{businessId}/paymentfiles/{id}", model, Method.PUT);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Create new payment file record
 /// </summary>
 /// <remarks>
 /// Creates a new payment file record for the business.
 /// </remarks>
 public void CreateNewPaymentFileRecord(int businessId, SgGiroBankModel model)
 {
     ApiRequest($"/business/{businessId}/paymentfiles", model, Method.POST);
 }