Class: Stripe::AccountNoticeService::UpdateParams::Email

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/account_notice_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(plain_text: nil, recipient: nil, subject: nil) ⇒ Email

Returns a new instance of Email.



45
46
47
48
49
# File 'lib/stripe/services/account_notice_service.rb', line 45

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.



39
40
41
# File 'lib/stripe/services/account_notice_service.rb', line 39

def plain_text
  @plain_text
end

#recipientObject

Email address of the recipient.



41
42
43
# File 'lib/stripe/services/account_notice_service.rb', line 41

def recipient
  @recipient
end

#subjectObject

Subject of the email.



43
44
45
# File 'lib/stripe/services/account_notice_service.rb', line 43

def subject
  @subject
end