Skip to main content

PartnerStatementLineItem

Struct PartnerStatementLineItem 

Source
pub struct PartnerStatementLineItem {
Show 27 fields pub id: String, pub invoice_id: String, pub total_fees: f64, pub total_fees_formatted: String, pub total_fees_on_volume: f64, pub total_fees_on_volume_formatted: String, pub merchant_id: String, pub merchant_name: String, pub dba_name: String, pub statement_date: DateTime<Utc>, pub volume: f64, pub volume_formatted: String, pub transaction_count: i64, pub interchange: f64, pub interchange_formatted: String, pub interchange_on_volume: f64, pub interchange_on_volume_formatted: String, pub assessments: f64, pub assessments_formatted: String, pub assessments_on_volume: f64, pub assessments_on_volume_formatted: String, pub partner_commission: f64, pub partner_commission_formatted: String, pub buy_rate: f64, pub buy_rate_formatted: String, pub hard_costs: f64, pub hard_costs_formatted: String,
}
Expand description

Models line item level data for a partner statement.

Fields§

§id: String

The line item id.

§invoice_id: String

The invoice id for the underlying merchant statement.

§total_fees: f64

The total fees charged to the merchant.

§total_fees_formatted: String

The total fees charge formatted as a currency string.

§total_fees_on_volume: f64

The total fees charged to the merchant as ratio of volume.

§total_fees_on_volume_formatted: String

The total fees charged to the merchant as percentage of volume.

§merchant_id: String

The id of the merchant.

§merchant_name: String

The corporate name of the merchant.

§dba_name: String

The dba name of the merchant.

§statement_date: DateTime<Utc>

The date the statement was generated.

§volume: f64

Volume in numeric format.

§volume_formatted: String

The string formatted total volume on the statement.

§transaction_count: i64

The total volume on the statement.

§interchange: f64

The total interchange fees incurred this period.

§interchange_formatted: String

The currency formatted form of interchange.

§interchange_on_volume: f64

The total interchange as a ratio on volume incurred this period.

§interchange_on_volume_formatted: String

The total interchange as a percentage of volume.

§assessments: f64

The total card brand assessments fees incurred this period.

§assessments_formatted: String

The currency formatted form of card brand assessments.

§assessments_on_volume: f64

The total card brand assessments as a ratio on volume incurred this period.

§assessments_on_volume_formatted: String

The total card brand assessments as a percentage of volume.

§partner_commission: f64

The commission earned on the portfolio during the statement period.

§partner_commission_formatted: String

The string formatted total volume on the statement.

§buy_rate: f64

The total fees charge to the partner due to buy rates.

§buy_rate_formatted: String

The currency formatted form of partner buy rate.

§hard_costs: f64

Refers to card brand fees shared between BlockChyp and the partner.

§hard_costs_formatted: String

The currency formatted form of hard costs.

Trait Implementations§

Source§

impl Clone for PartnerStatementLineItem

Source§

fn clone(&self) -> PartnerStatementLineItem

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PartnerStatementLineItem

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PartnerStatementLineItem

Source§

fn default() -> PartnerStatementLineItem

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for PartnerStatementLineItem

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for PartnerStatementLineItem

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,