Class: Stripe::AccountNoticeUpdateParams::Email
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountNoticeUpdateParams::Email
- Defined in:
- lib/stripe/params/account_notice_update_params.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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(plain_text: nil, recipient: nil, subject: nil) ⇒ Email
Returns a new instance of Email.
14 15 16 17 18 |
# File 'lib/stripe/params/account_notice_update_params.rb', line 14 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.
8 9 10 |
# File 'lib/stripe/params/account_notice_update_params.rb', line 8 def plain_text @plain_text end |
#recipient ⇒ Object
Email address of the recipient.
10 11 12 |
# File 'lib/stripe/params/account_notice_update_params.rb', line 10 def recipient @recipient end |
#subject ⇒ Object
Subject of the email.
12 13 14 |
# File 'lib/stripe/params/account_notice_update_params.rb', line 12 def subject @subject end |