Struct ramp_api::receipts::Receipts[][src]

pub struct Receipts {
    pub client: Client,
}

Fields

client: Client

Implementations

List receipts.

This function performs a GET to the /receipts endpoint.

Returns description of all receipts of a business.

Parameters:

  • from_date: chrono::DateTime<chrono::Utc> – Filter for receipts related to transactions which occurred after the specified date.
  • to_date: chrono::DateTime<chrono::Utc> – Filter for receipts related to transactions which occurred before the specified date.
  • created_after: chrono::DateTime<chrono::Utc> – Filter for receipts that were created after the specified date.
  • created_before: chrono::DateTime<chrono::Utc> – Filter for receipts that were created before the specified date.
  • start: &str – The ID of the last entity of the previous page, used for pagination to get the next page.
  • page_size: f64 – The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default will be 1,000.

List receipts.

This function performs a GET to the /receipts endpoint.

As opposed to get, this function returns all the pages of the request at once.

Returns description of all receipts of a business.

Get details for one receipt.

This function performs a GET to the /receipts/{id} endpoint.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more