Peace/doc/lib/Peace/Model/Customer.pm.html

107 lines
2.7 KiB
HTML

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Peace::Model::Customer - The customer object representation.</title>
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
<link href="mailto:Alpine@build-edge-aarch64.nonet" rev="made" />
</head>
<body>
<ul id="index">
<li><a href="#NAME">NAME</a></li>
<li><a href="#SYNOPSIS">SYNOPSIS</a></li>
<li><a href="#DESCRIPTION">DESCRIPTION</a></li>
<li><a href="#INSTANCE-METHODS">INSTANCE METHODS</a>
<ul>
<li><a href="#new">new</a></li>
</ul>
</li>
<li><a href="#METHODS">METHODS</a>
<ul>
<li><a href="#uuid">uuid</a></li>
<li><a href="#date_creation">date_creation</a></li>
<li><a href="#secret_bcrypt">secret_bcrypt</a></li>
<li><a href="#stripe_id">stripe_id</a></li>
</ul>
</li>
<li><a href="#SEE-ALSO">SEE ALSO</a></li>
</ul>
<h1 id="NAME">NAME</h1>
<p>Peace::Model::Customer - The customer object representation.</p>
<h1 id="SYNOPSIS">SYNOPSIS</h1>
<pre><code>my $customer = Peace::Model::Customer-&gt;new(
secret_bcrypt =&gt; $secret_bcrypt
);</code></pre>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<p>Describes a customer of Peace capable of buy applications.</p>
<h1 id="INSTANCE-METHODS">INSTANCE METHODS</h1>
<p>Peace::Model::Customer implements the following instance methods:</p>
<h2 id="new">new</h2>
<pre><code>my $customer = Peace::Model::Customer-&gt;new(
uuid =&gt; $uuid, # optional
date_creation =&gt; $date_creation, # optional
secret_bcrypt =&gt; $secret_bcrypt,
stripe_id =&gt; $stripe_id, # optional
);</code></pre>
<p>Instances a new Peace::Model::Customer.</p>
<h1 id="METHODS">METHODS</h1>
<p>Peace::Model::Customer implements the following methods:</p>
<h2 id="uuid">uuid</h2>
<pre><code>my $uuid = $customer-&gt;uuid;
$customer-&gt;uuid($uuid);</code></pre>
<p>Allows to retrieve and set the customer uuid.</p>
<h2 id="date_creation">date_creation</h2>
<pre><code>my $date_creation = $customer-&gt;date_creation;
$customer-&gt;date_creation($date_creation);</code></pre>
<p>Allows to retrieve and set the customer date_creation.</p>
<h2 id="secret_bcrypt">secret_bcrypt</h2>
<pre><code>my $secret_bcrypt = $customer-&gt;secret_bcrypt;
$customer-&gt;secret_bcrypt($secret_bcrypt);</code></pre>
<p>Allows to retrieve and set the customer secret_bcrypt.</p>
<h2 id="stripe_id">stripe_id</h2>
<pre><code>my $stripe_id = $customer-&gt;stripe_id;
$customer-&gt;stripe_id($stripe_id);</code></pre>
<h1 id="SEE-ALSO">SEE ALSO</h1>
<p><a href="../DAO/Customer.pm.html">Peace::DAO::Customer</a></p>
</body>
</html>