Skip to content

Commit

Permalink
Merge pull request arlyon#406 from hzargar2/subscription_paused_and_r…
Browse files Browse the repository at this point in the history
…esumed_events

Added webhook event types
  • Loading branch information
arlyon authored Jul 7, 2023
2 parents 6484094 + ae4ebbe commit 1bdb37a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/resources/webhook_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,14 @@ pub enum EventType {
CustomerSubscriptionCreated,
#[serde(rename = "customer.subscription.deleted")]
CustomerSubscriptionDeleted,
#[serde(rename = "customer.subscription.paused")]
CustomerSubscriptionPaused,
#[serde(rename = "customer.subscription.pending_update_applied")]
CustomerSubscriptionPendingUpdateApplied,
#[serde(rename = "customer.subscription.pending_update_expired")]
CustomerSubscriptionPendingUpdateExpired,
#[serde(rename = "customer.subscription.resumed")]
CustomerSubscriptionResumed,
#[serde(rename = "customer.subscription.trial_will_end")]
CustomerSubscriptionTrialWillEnd,
#[serde(rename = "customer.subscription.updated")]
Expand Down

0 comments on commit 1bdb37a

Please sign in to comment.