pub struct IBtOrder {Show 23 fields
    pub id: String,
    pub state: BtOrderState,
    pub state2: BtOrderState2,
    pub fee_sat: u64,
    pub network_fee_sat: u64,
    pub service_fee_sat: u64,
    pub lsp_balance_sat: u64,
    pub client_balance_sat: u64,
    pub zero_conf: bool,
    pub zero_reserve: bool,
    pub client_node_id: Option<String>,
    pub channel_expiry_weeks: u32,
    pub channel_expires_at: String,
    pub order_expires_at: String,
    pub channel: Option<IBtChannel>,
    pub lsp_node: ILspNode,
    pub lnurl: Option<String>,
    pub payment: IBtPayment,
    pub coupon_code: Option<String>,
    pub source: Option<String>,
    pub discount: Option<IDiscount>,
    pub updated_at: String,
    pub created_at: String,
}Fields§
§id: String§state: BtOrderState@deprecated Will be removed in future releases. Use state2 instead.
state2: BtOrderState2State of the order
fee_sat: u64Fees in satoshi to pay before the channel open is possible.
network_fee_sat: u64Onchain transaction fees for the channel open. This is variable depending on the network fee conditions.
service_fee_sat: u64Service fees to pay for us to fulfill the channel open. Includes liquidity fees.
lsp_balance_sat: u64§client_balance_sat: u64Requested funds on the client side.
zero_conf: boolIf this the channel should be a turbo channel.
zero_reserve: boolIf the LSP allows the client to have a minimal channel reserve.
client_node_id: Option<String>Node id to notify in case the node is offline and the order is ready to open the channel.
channel_expiry_weeks: u32Weeks how long Blocktank guarantees to keep the channel open.
channel_expires_at: StringHow long Blocktank guarantees to keep the channel open.
order_expires_at: StringHow long the order with its proposed feeSat is valid for.
channel: Option<IBtChannel>Channel in case the order has been executed.
lsp_node: ILspNodeNode if of the LSP that will/has opened the channel.
lnurl: Option<String>LNURL to open the channel.
payment: IBtPaymentPayment object showing invoices and the status of the payment.
coupon_code: Option<String>@deprecated Use the source field.
source: Option<String>Source what created this order. Example: bitkit, widget
discount: Option<IDiscount>Discount if discount was given.
updated_at: String§created_at: String