GetBounces() public method

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.
public GetBounces ( PostmarkBounceType type, bool inactive, int offset, int count ) : PostmarkBounces
type PostmarkBounceType The type of bounces to filter on
inactive bool Whether to return only inactive or active bounces; use null to return all bounces
offset int The page offset for the returned results; mandatory
count int The number of results to return by the page offset; mandatory.
return PostmarkBounces
 public void Can_get_bounces()
 {
     var postmark = new PostmarkClient(_serverToken);
     var stats = postmark.GetBounces(PostmarkBounceType.HardBounce, 1, 10);
     Assert.IsNotNull(stats);
 }