Struct libstripe::Discount
[−]
[src]
pub struct Discount { pub object: String, pub coupon: Coupon, pub customer: String, pub end: i64, pub start: i64, pub subscription: Option<String>, }
Fields
object: String
coupon: Coupon
customer: String
end: i64
start: i64
subscription: Option<String>
Methods
impl Discount
[src]
fn delete_customer_discount(
client: &Client,
cust_id: &str
) -> Result<Deleted, Error>
[src]
client: &Client,
cust_id: &str
) -> Result<Deleted, Error>
fn delete_subscription_discount(
client: &Client,
sub_id: &str
) -> Result<Deleted, Error>
[src]
client: &Client,
sub_id: &str
) -> Result<Deleted, Error>