NAME
Faker::Plugin::PaymentCardVisa - Payment Card Visa
ABSTRACT
Payment Card Visa for Faker
VERSION
1.16
SYNOPSIS
package main;
use Faker::Plugin::PaymentCardVisa;
my $plugin = Faker::Plugin::PaymentCardVisa->new;
# bless(..., "Faker::Plugin::PaymentCardVisa")
DESCRIPTION
This package provides methods for generating fake data for payment card visa.
INHERITS
This package inherits behaviors from:
METHODS
This package provides the following methods:
execute
execute(HashRef $data) (Str)
The execute method returns a returns a random fake payment card visa.
Since 1.10
- execute example 1
-
package main; use Faker::Plugin::PaymentCardVisa; my $plugin = Faker::Plugin::PaymentCardVisa->new; # bless(..., "Faker::Plugin::PaymentCardVisa") # my $result = $plugin->execute; # 453214084468; # my $result = $plugin->execute; # 402400715076; # my $result = $plugin->execute; # 492954439089;
new
new(HashRef $data) (Plugin)
The new method returns a new instance of the class.
Since 1.10