Skip to content

Commit

Permalink
added class dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sobirjonovs committed Aug 15, 2021
1 parent d1a3509 commit 2d2921b
Show file tree
Hide file tree
Showing 6 changed files with 783 additions and 83 deletions.
71 changes: 71 additions & 0 deletions Payme/Account.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?php

namespace App\Payme;

class Account
{
public string $name;
public string $title;
public string $value;

/**
* Account constructor.
* @param string $name
* @param string $title
* @param string $value
*/
public function __construct(string $name, string $title, string $value)
{
$this->name = $name;
$this->title = $title;
$this->value = $value;
}

/**
* @return string
*/
public function getName(): string
{
return $this->name;
}

/**
* @param string $name
*/
public function setName(string $name): void
{
$this->name = $name;
}

/**
* @return string
*/
public function getTitle(): string
{
return $this->title;
}

/**
* @param string $title
*/
public function setTitle(string $title): void
{
$this->title = $title;
}

/**
* @return string
*/
public function getValue(): string
{
return $this->value;
}

/**
* @param string $value
*/
public function setValue(string $value): void
{
$this->value = $value;
}
}
Loading

0 comments on commit 2d2921b

Please sign in to comment.