107 lines
2.7 KiB
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 http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<link rev="made" href="mailto:Alpine@build-edge-aarch64.nonet" />
|
|
</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->new(
|
|
secret_bcrypt => $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->new(
|
|
uuid => $uuid, # optional
|
|
date_creation => $date_creation, # optional
|
|
secret_bcrypt => $secret_bcrypt,
|
|
stripe_id => $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->uuid;
|
|
|
|
$customer->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->date_creation;
|
|
|
|
$customer->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->secret_bcrypt;
|
|
|
|
$customer->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->stripe_id;
|
|
|
|
$customer->stripe_id($stripe_id);</code></pre>
|
|
|
|
<h1 id="SEE-ALSO">SEE ALSO</h1>
|
|
|
|
<p><a>Peace::DAO::Customer</a></p>
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|