Class: Stripe::AccountNotice::UpdateParams::Email
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountNotice::UpdateParams::Email
- Defined in:
- lib/stripe/resources/account_notice.rb
Instance Attribute Summary collapse
-
#plain_text ⇒ Object
Content of the email in plain text.
-
#recipient ⇒ Object
Email address of the recipient.
-
#subject ⇒ Object
Subject of the email.
Instance Method Summary collapse
-
#initialize(plain_text: nil, recipient: nil, subject: nil) ⇒ Email
constructor
A new instance of Email.
Methods inherited from RequestParams
Constructor Details
#initialize(plain_text: nil, recipient: nil, subject: nil) ⇒ Email
Returns a new instance of Email.
84 85 86 87 88 |
# File 'lib/stripe/resources/account_notice.rb', line 84 def initialize(plain_text: nil, recipient: nil, subject: nil) @plain_text = plain_text @recipient = recipient @subject = subject end |
Instance Attribute Details
#plain_text ⇒ Object
Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use.
76 77 78 |
# File 'lib/stripe/resources/account_notice.rb', line 76 def plain_text @plain_text end |
#recipient ⇒ Object
Email address of the recipient.
79 80 81 |
# File 'lib/stripe/resources/account_notice.rb', line 79 def recipient @recipient end |
#subject ⇒ Object
Subject of the email.
82 83 84 |
# File 'lib/stripe/resources/account_notice.rb', line 82 def subject @subject end |