# `Stripe.Resources.PaymentMethod.Card.GeneratedFrom`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/payment_method.ex#L439)

Nested struct within the parent resource.

# `t`

```elixir
@type t() :: %Stripe.Resources.PaymentMethod.Card.GeneratedFrom{
  charge: String.t() | nil,
  payment_method_details:
    Stripe.Resources.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.t()
    | nil,
  setup_attempt: String.t() | Stripe.Resources.SetupAttempt.t() | nil
}
```

* `charge` - The charge that created this object. Max length: 5000. Nullable.
* `payment_method_details` - Transaction-specific details of the payment method used in the payment. Nullable.
* `setup_attempt` - The ID of the SetupAttempt that generated this PaymentMethod, if any. Nullable.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
