Return the raw JSON AST representation of the Stripe data structure this class represents.
Return the raw JSON AST representation of the Stripe data structure this class represents. Use this only if the class representing your data structure doesn't already provide a method for accessing the field you need.
I'll try really hard to make sure that doesn't happen too often, but no guarantees. :)
Transform the underlyingData of this StripeObject then attempt to extract an instance of the class T from it.
Transform the underlyingData of this StripeObject then attempt to extract an instance of the class T from it. This is the general implementation of extracting values from the JSON API response from Stripe.
You should only use this if you're accessing a piece of data from the raw response that we don't support. If you do find need to use this, we'd love it if you opened a pull request!
The function that transforms the original data into the structure containing the data we want.
A Full[T] if the extraction was successful, a Failure otherwise.
Create a copy of the StripeObject with the raw JValue representation attached.
Create a copy of the StripeObject with the raw JValue representation attached.
The raw JValue representation to attach.