Peace::Model::Customer - The customer object representation.
my $customer = Peace::Model::Customer->new(
secret_bcrypt => $secret_bcrypt
);
Describes a customer of Peace capable of buy applications.
Peace::Model::Customer implements the following instance methods:
my $customer = Peace::Model::Customer->new(
uuid => $uuid, # optional
date_creation => $date_creation, # optional
secret_bcrypt => $secret_bcrypt,
stripe_id => $stripe_id, # optional
);
Instances a new Peace::Model::Customer.
Peace::Model::Customer implements the following methods:
my $uuid = $customer->uuid;
$customer->uuid($uuid);
Allows to retrieve and set the customer uuid.
my $date_creation = $customer->date_creation;
$customer->date_creation($date_creation);
Allows to retrieve and set the customer date_creation.
my $secret_bcrypt = $customer->secret_bcrypt;
$customer->secret_bcrypt($secret_bcrypt);
Allows to retrieve and set the customer secret_bcrypt.
my $stripe_id = $customer->stripe_id;
$customer->stripe_id($stripe_id);