Class: Stripe::AccountNoticeUpdateParams::Email

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/account_notice_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_textObject

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

#recipientObject

Email address of the recipient.



10
11
12
# File 'lib/stripe/params/account_notice_update_params.rb', line 10

def recipient
  @recipient
end

#subjectObject

Subject of the email.



12
13
14
# File 'lib/stripe/params/account_notice_update_params.rb', line 12

def subject
  @subject
end