pub struct PreviewOrganizationChangeResponse {
pub balance_after_cents: Option<i64>,
pub change: BillingChangeEffect,
pub due_later: BillingPreviewDeferred,
pub due_now: BillingPreviewInvoice,
pub next_charge: Option<BillingNextCharge>,
pub time_zone: String,
}Fields§
§balance_after_cents: Option<i64>The payer’s credit balance once dueNow is charged: the credit the change issues included, less what dueNow uses. In dueNow’s currency. Null when the change charges nothing now (a downgrade).
change: BillingChangeEffect§due_later: BillingPreviewDeferred§due_now: BillingPreviewInvoice§next_charge: Option<BillingNextCharge>What is charged in advance at the next period start for what is held after the change. Usage and a minimum commitment are billed after the period. Null when nothing is, or the subscription ends first.
time_zone: StringThe IANA time zone the payer is billed in, e.g. America/Los_Angeles. Billing periods start and end at its midnights, so read their calendar dates in it.
Implementations§
Source§impl PreviewOrganizationChangeResponse
impl PreviewOrganizationChangeResponse
pub fn serialize<__S>(
__self: &PreviewOrganizationChangeResponse,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> PreviewOrganizationChangeResponse
impl<'de> PreviewOrganizationChangeResponse
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<PreviewOrganizationChangeResponse, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PreviewOrganizationChangeResponse
impl<'de> Deserialize<'de> for PreviewOrganizationChangeResponse
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PreviewOrganizationChangeResponse
impl RefUnwindSafe for PreviewOrganizationChangeResponse
impl Send for PreviewOrganizationChangeResponse
impl Sync for PreviewOrganizationChangeResponse
impl Unpin for PreviewOrganizationChangeResponse
impl UnsafeUnpin for PreviewOrganizationChangeResponse
impl UnwindSafe for PreviewOrganizationChangeResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more