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.



51
52
53
54
55
# File 'lib/stripe/services/account_notice_service.rb', line 51

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.



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

def plain_text
  @plain_text
end

#recipientObject

Email address of the recipient.



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

def recipient
  @recipient
end

#subjectObject

Subject of the email.



49
50
51
# File 'lib/stripe/services/account_notice_service.rb', line 49

def subject
  @subject
end