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.
74 75 76 77 78 |
# File 'lib/stripe/resources/account_notice.rb', line 74 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.
68 69 70 |
# File 'lib/stripe/resources/account_notice.rb', line 68 def plain_text @plain_text end |
#recipient ⇒ Object
Email address of the recipient.
70 71 72 |
# File 'lib/stripe/resources/account_notice.rb', line 70 def recipient @recipient end |
#subject ⇒ Object
Subject of the email.
72 73 74 |
# File 'lib/stripe/resources/account_notice.rb', line 72 def subject @subject end |