Class FlowActionStripe
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
[JsonConverter(typeof(FlowActionStripe.JsonConverter))]
[Serializable]
public class FlowActionStripe
- Inheritance
-
FlowActionStripe
- Inherited Members
- Extension Methods
Properties
Type
Type discriminator
[JsonIgnore]
public string Type { get; }
Property Value
Value
Union value
[JsonIgnore]
public object? Value { get; }
Property Value
Methods
AsFlowActionStripeAddTaxId()
Returns the value as a FlowActionStripeAddTaxId if Type is 'flowActionStripeAddTaxId', otherwise throws an exception.
public FlowActionStripeAddTaxId AsFlowActionStripeAddTaxId()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'flowActionStripeAddTaxId'.
AsFlowActionStripeCreateCustomer()
Returns the value as a FlowActionStripeCreateCustomer if Type is 'flowActionStripeCreateCustomer', otherwise throws an exception.
public FlowActionStripeCreateCustomer AsFlowActionStripeCreateCustomer()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'flowActionStripeCreateCustomer'.
AsFlowActionStripeCreatePortalSession()
Returns the value as a FlowActionStripeCreatePortalSession if Type is 'flowActionStripeCreatePortalSession', otherwise throws an exception.
public FlowActionStripeCreatePortalSession AsFlowActionStripeCreatePortalSession()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'flowActionStripeCreatePortalSession'.
AsFlowActionStripeDeleteTaxId()
Returns the value as a FlowActionStripeDeleteTaxId if Type is 'flowActionStripeDeleteTaxId', otherwise throws an exception.
public FlowActionStripeDeleteTaxId AsFlowActionStripeDeleteTaxId()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'flowActionStripeDeleteTaxId'.
AsFlowActionStripeFindCustomers()
Returns the value as a FlowActionStripeFindCustomers if Type is 'flowActionStripeFindCustomers', otherwise throws an exception.
public FlowActionStripeFindCustomers AsFlowActionStripeFindCustomers()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'flowActionStripeFindCustomers'.
AsFlowActionStripeGetCustomer()
Returns the value as a FlowActionStripeGetCustomer if Type is 'flowActionStripeGetCustomer', otherwise throws an exception.
public FlowActionStripeGetCustomer AsFlowActionStripeGetCustomer()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'flowActionStripeGetCustomer'.
AsFlowActionStripeUpdateCustomer()
Returns the value as a FlowActionStripeUpdateCustomer if Type is 'flowActionStripeUpdateCustomer', otherwise throws an exception.
public FlowActionStripeUpdateCustomer AsFlowActionStripeUpdateCustomer()
Returns
Exceptions
- ManagementException
Thrown when Type is not 'flowActionStripeUpdateCustomer'.
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
- bool
true if the specified object is equal to the current object; otherwise, false.
FromFlowActionStripeAddTaxId(FlowActionStripeAddTaxId)
Factory method to create a union from a Auth0.ManagementApi.FlowActionStripeAddTaxId value.
public static FlowActionStripe FromFlowActionStripeAddTaxId(FlowActionStripeAddTaxId value)
Parameters
valueFlowActionStripeAddTaxId
Returns
FromFlowActionStripeCreateCustomer(FlowActionStripeCreateCustomer)
Factory method to create a union from a Auth0.ManagementApi.FlowActionStripeCreateCustomer value.
public static FlowActionStripe FromFlowActionStripeCreateCustomer(FlowActionStripeCreateCustomer value)
Parameters
Returns
FromFlowActionStripeCreatePortalSession(FlowActionStripeCreatePortalSession)
Factory method to create a union from a Auth0.ManagementApi.FlowActionStripeCreatePortalSession value.
public static FlowActionStripe FromFlowActionStripeCreatePortalSession(FlowActionStripeCreatePortalSession value)
Parameters
Returns
FromFlowActionStripeDeleteTaxId(FlowActionStripeDeleteTaxId)
Factory method to create a union from a Auth0.ManagementApi.FlowActionStripeDeleteTaxId value.
public static FlowActionStripe FromFlowActionStripeDeleteTaxId(FlowActionStripeDeleteTaxId value)
Parameters
Returns
FromFlowActionStripeFindCustomers(FlowActionStripeFindCustomers)
Factory method to create a union from a Auth0.ManagementApi.FlowActionStripeFindCustomers value.
public static FlowActionStripe FromFlowActionStripeFindCustomers(FlowActionStripeFindCustomers value)
Parameters
Returns
FromFlowActionStripeGetCustomer(FlowActionStripeGetCustomer)
Factory method to create a union from a Auth0.ManagementApi.FlowActionStripeGetCustomer value.
public static FlowActionStripe FromFlowActionStripeGetCustomer(FlowActionStripeGetCustomer value)
Parameters
Returns
FromFlowActionStripeUpdateCustomer(FlowActionStripeUpdateCustomer)
Factory method to create a union from a Auth0.ManagementApi.FlowActionStripeUpdateCustomer value.
public static FlowActionStripe FromFlowActionStripeUpdateCustomer(FlowActionStripeUpdateCustomer value)
Parameters
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsFlowActionStripeAddTaxId()
Returns true if Type is "flowActionStripeAddTaxId"
public bool IsFlowActionStripeAddTaxId()
Returns
IsFlowActionStripeCreateCustomer()
Returns true if Type is "flowActionStripeCreateCustomer"
public bool IsFlowActionStripeCreateCustomer()
Returns
IsFlowActionStripeCreatePortalSession()
Returns true if Type is "flowActionStripeCreatePortalSession"
public bool IsFlowActionStripeCreatePortalSession()
Returns
IsFlowActionStripeDeleteTaxId()
Returns true if Type is "flowActionStripeDeleteTaxId"
public bool IsFlowActionStripeDeleteTaxId()
Returns
IsFlowActionStripeFindCustomers()
Returns true if Type is "flowActionStripeFindCustomers"
public bool IsFlowActionStripeFindCustomers()
Returns
IsFlowActionStripeGetCustomer()
Returns true if Type is "flowActionStripeGetCustomer"
public bool IsFlowActionStripeGetCustomer()
Returns
IsFlowActionStripeUpdateCustomer()
Returns true if Type is "flowActionStripeUpdateCustomer"
public bool IsFlowActionStripeUpdateCustomer()
Returns
Match<T>(Func<FlowActionStripeAddTaxId, T>, Func<FlowActionStripeCreateCustomer, T>, Func<FlowActionStripeCreatePortalSession, T>, Func<FlowActionStripeDeleteTaxId, T>, Func<FlowActionStripeFindCustomers, T>, Func<FlowActionStripeGetCustomer, T>, Func<FlowActionStripeUpdateCustomer, T>)
public T Match<T>(Func<FlowActionStripeAddTaxId, T> onFlowActionStripeAddTaxId, Func<FlowActionStripeCreateCustomer, T> onFlowActionStripeCreateCustomer, Func<FlowActionStripeCreatePortalSession, T> onFlowActionStripeCreatePortalSession, Func<FlowActionStripeDeleteTaxId, T> onFlowActionStripeDeleteTaxId, Func<FlowActionStripeFindCustomers, T> onFlowActionStripeFindCustomers, Func<FlowActionStripeGetCustomer, T> onFlowActionStripeGetCustomer, Func<FlowActionStripeUpdateCustomer, T> onFlowActionStripeUpdateCustomer)
Parameters
onFlowActionStripeAddTaxIdFunc<FlowActionStripeAddTaxId, T>onFlowActionStripeCreateCustomerFunc<FlowActionStripeCreateCustomer, T>onFlowActionStripeCreatePortalSessionFunc<FlowActionStripeCreatePortalSession, T>onFlowActionStripeDeleteTaxIdFunc<FlowActionStripeDeleteTaxId, T>onFlowActionStripeFindCustomersFunc<FlowActionStripeFindCustomers, T>onFlowActionStripeGetCustomerFunc<FlowActionStripeGetCustomer, T>onFlowActionStripeUpdateCustomerFunc<FlowActionStripeUpdateCustomer, T>
Returns
- T
Type Parameters
T
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
TryGetFlowActionStripeAddTaxId(out FlowActionStripeAddTaxId?)
Attempts to cast the value to a FlowActionStripeAddTaxId and returns true if successful.
public bool TryGetFlowActionStripeAddTaxId(out FlowActionStripeAddTaxId? value)
Parameters
valueFlowActionStripeAddTaxId
Returns
TryGetFlowActionStripeCreateCustomer(out FlowActionStripeCreateCustomer?)
Attempts to cast the value to a FlowActionStripeCreateCustomer and returns true if successful.
public bool TryGetFlowActionStripeCreateCustomer(out FlowActionStripeCreateCustomer? value)
Parameters
Returns
TryGetFlowActionStripeCreatePortalSession(out FlowActionStripeCreatePortalSession?)
Attempts to cast the value to a FlowActionStripeCreatePortalSession and returns true if successful.
public bool TryGetFlowActionStripeCreatePortalSession(out FlowActionStripeCreatePortalSession? value)
Parameters
Returns
TryGetFlowActionStripeDeleteTaxId(out FlowActionStripeDeleteTaxId?)
Attempts to cast the value to a FlowActionStripeDeleteTaxId and returns true if successful.
public bool TryGetFlowActionStripeDeleteTaxId(out FlowActionStripeDeleteTaxId? value)
Parameters
Returns
TryGetFlowActionStripeFindCustomers(out FlowActionStripeFindCustomers?)
Attempts to cast the value to a FlowActionStripeFindCustomers and returns true if successful.
public bool TryGetFlowActionStripeFindCustomers(out FlowActionStripeFindCustomers? value)
Parameters
Returns
TryGetFlowActionStripeGetCustomer(out FlowActionStripeGetCustomer?)
Attempts to cast the value to a FlowActionStripeGetCustomer and returns true if successful.
public bool TryGetFlowActionStripeGetCustomer(out FlowActionStripeGetCustomer? value)
Parameters
Returns
TryGetFlowActionStripeUpdateCustomer(out FlowActionStripeUpdateCustomer?)
Attempts to cast the value to a FlowActionStripeUpdateCustomer and returns true if successful.
public bool TryGetFlowActionStripeUpdateCustomer(out FlowActionStripeUpdateCustomer? value)
Parameters
Returns
Visit(Action<FlowActionStripeAddTaxId>, Action<FlowActionStripeCreateCustomer>, Action<FlowActionStripeCreatePortalSession>, Action<FlowActionStripeDeleteTaxId>, Action<FlowActionStripeFindCustomers>, Action<FlowActionStripeGetCustomer>, Action<FlowActionStripeUpdateCustomer>)
public void Visit(Action<FlowActionStripeAddTaxId> onFlowActionStripeAddTaxId, Action<FlowActionStripeCreateCustomer> onFlowActionStripeCreateCustomer, Action<FlowActionStripeCreatePortalSession> onFlowActionStripeCreatePortalSession, Action<FlowActionStripeDeleteTaxId> onFlowActionStripeDeleteTaxId, Action<FlowActionStripeFindCustomers> onFlowActionStripeFindCustomers, Action<FlowActionStripeGetCustomer> onFlowActionStripeGetCustomer, Action<FlowActionStripeUpdateCustomer> onFlowActionStripeUpdateCustomer)
Parameters
onFlowActionStripeAddTaxIdAction<FlowActionStripeAddTaxId>onFlowActionStripeCreateCustomerAction<FlowActionStripeCreateCustomer>onFlowActionStripeCreatePortalSessionAction<FlowActionStripeCreatePortalSession>onFlowActionStripeDeleteTaxIdAction<FlowActionStripeDeleteTaxId>onFlowActionStripeFindCustomersAction<FlowActionStripeFindCustomers>onFlowActionStripeGetCustomerAction<FlowActionStripeGetCustomer>onFlowActionStripeUpdateCustomerAction<FlowActionStripeUpdateCustomer>
Operators
implicit operator FlowActionStripe(FlowActionStripeAddTaxId)
public static implicit operator FlowActionStripe(FlowActionStripeAddTaxId value)
Parameters
valueFlowActionStripeAddTaxId
Returns
implicit operator FlowActionStripe(FlowActionStripeCreateCustomer)
public static implicit operator FlowActionStripe(FlowActionStripeCreateCustomer value)
Parameters
Returns
implicit operator FlowActionStripe(FlowActionStripeCreatePortalSession)
public static implicit operator FlowActionStripe(FlowActionStripeCreatePortalSession value)
Parameters
Returns
implicit operator FlowActionStripe(FlowActionStripeDeleteTaxId)
public static implicit operator FlowActionStripe(FlowActionStripeDeleteTaxId value)
Parameters
Returns
implicit operator FlowActionStripe(FlowActionStripeFindCustomers)
public static implicit operator FlowActionStripe(FlowActionStripeFindCustomers value)
Parameters
Returns
implicit operator FlowActionStripe(FlowActionStripeGetCustomer)
public static implicit operator FlowActionStripe(FlowActionStripeGetCustomer value)
Parameters
Returns
implicit operator FlowActionStripe(FlowActionStripeUpdateCustomer)
public static implicit operator FlowActionStripe(FlowActionStripeUpdateCustomer value)