/// <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)); }
/// <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)); }
/// <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); }
/// <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); }