PHP Class Mailgun\Resource\Api\Domain\Domain

Author: Sean Johnson ([email protected])
Show file Open project: mailgun/mailgun-php Class Usage Examples

Public Methods

Method Description
create ( array $data ) : self
getCreatedAt ( ) : DateTime
getName ( ) : string
getSmtpPassword ( ) : string
getSmtpUsername ( ) : string
getSpamAction ( ) : string
getState ( ) : string
isWildcard ( ) : boolean

Private Methods

Method Description
__construct ( string $name, string $smtpLogin, $smtpPassword, boolean $wildcard, string $spamAction, string $state, DateTime $createdAt )

Method Details

create() public static method

public static create ( array $data ) : self
$data array
return self

getCreatedAt() public method

public getCreatedAt ( ) : DateTime
return DateTime

getName() public method

public getName ( ) : string
return string

getSmtpPassword() public method

public getSmtpPassword ( ) : string
return string

getSmtpUsername() public method

public getSmtpUsername ( ) : string
return string

getSpamAction() public method

public getSpamAction ( ) : string
return string

getState() public method

public getState ( ) : string
return string

isWildcard() public method

public isWildcard ( ) : boolean
return boolean